From f3de313a56140bb1f71d7267a20c6d17408ddfdd Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Mon, 12 May 2025 14:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B7=20UI(iot):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=B8=BA=E5=8D=A1=E7=89=87?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E5=B8=83=E5=B1=80=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=AF=A6=E6=83=85=E6=A0=B7=E5=BC=8F=E5=92=8C?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 50 ++- src/views/iot/contacts/index.vue | 101 +++--- src/views/iot/device/index.vue | 26 +- src/views/iot/device/profile/details.vue | 43 ++- src/views/iot/trigger/index.vue | 72 +++-- src/views/iot/video/gbsScreen/index.vue | 8 +- .../profile/DeviceDetailsView/deviceLog.vue | 32 +- .../DeviceDetailsView/deviceSelectNav.vue | 9 +- src/views/profile/DeviceDetailsView/index.vue | 306 +++++++++--------- .../profile/DeviceDetailsView/modelOat.vue | 48 +-- src/views/profile/DeviceRunStarts/index.vue | 5 +- src/views/profile/autocontrol/job/index.vue | 97 +++--- .../profile/autocontrol/jobLog/index.vue | 86 ++--- src/views/tenant/device/index.vue | 26 +- src/views/tenant/device/profile/details.vue | 40 ++- src/views/tenant/project/index.vue | 4 - 16 files changed, 523 insertions(+), 430 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 529090b4..4f0fbfc1 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -151,6 +151,11 @@ aside { background-color: #fff; border-radius: 8px; border: 1px solid #e6ebf5; + .card-footer{ + .el-button + .el-button{ + margin-left: 0; + } + } } //项目卡片 .main-project-card{ @@ -161,11 +166,52 @@ aside { border: 1px solid #e6ebf5; } //设备详情卡片 -.main-device-card{ +.main-device-select-card{ padding: 20px !important; - background-color: #fff; + background-color: #fff !important; border-radius: 8px; border: 1px solid #e6ebf5; + margin-bottom: 20px; +} +.main-device-card{ + padding: 20px !important; + background-color: #fff !important; + border-radius: 8px; + border: 1px solid #e6ebf5; +} + +.info-tabs-circuit.main-device-card,.info-tabs.main-device-card{ + background: #121315; + .device-detail-tabs{ + >.el-tabs__header{ + >.el-tabs__nav-wrap{ + >.el-tabs__nav-scroll{ + height: 50px; + >.el-tabs__nav{ + >.el-tabs__item{ + height: 32px; + line-height: 32px; + color: #888a8e; + background: #fff; + user-select: none; + padding: 0 20px !important; + border-radius: 4px; + &.is-active{ + background: #1890FF !important; + border-bottom-color: #1890FF!important; + color: #fff; + } + } + >.el-tabs__active-bar{ + display: none; + } + } + } + } + } + } + + } diff --git a/src/views/iot/contacts/index.vue b/src/views/iot/contacts/index.vue index 974184ab..4583006b 100644 --- a/src/views/iot/contacts/index.vue +++ b/src/views/iot/contacts/index.vue @@ -1,17 +1,18 @@