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 @@