diff --git a/src/views/projectAdmin/jlw/envirManage/index.vue b/src/views/projectAdmin/jlw/envirManage/index.vue index 3f531837..6250908b 100644 --- a/src/views/projectAdmin/jlw/envirManage/index.vue +++ b/src/views/projectAdmin/jlw/envirManage/index.vue @@ -5,7 +5,7 @@
- +
diff --git a/src/views/projectAdmin/jlw/envirManage/leftCenter.vue b/src/views/projectAdmin/jlw/envirManage/leftCenter.vue index a042221d..2e4fd96f 100644 --- a/src/views/projectAdmin/jlw/envirManage/leftCenter.vue +++ b/src/views/projectAdmin/jlw/envirManage/leftCenter.vue @@ -3,50 +3,56 @@
{{ title }}
- - - - - - - - - - - - - - - - -
- 报警设备 - - 报警时间 - - 报警类型 -
- {{ item.deviceName }} - {{ item.tempAlarmTime }} -
-
-
-
- + +
+
+ +
+

{{onlineDevNum}}

- - {{$t('message.dataBoard.nodata')}} + + {{$t('message.dataBoard.onlineDev')}}

- +
+
+ +
+

{{offlineDevNum}}

+

+ + {{$t('message.dataBoard.notOnlineDev')}} +

+
+
+ +
+
    +
  • +

    {{ item.deviceName }}

    + + + {{$t('message.dataBoard.notOnline')}} + + + + {{$t('message.dataBoard.online')}} + +
  • +
+
+
+ +

暂无数据

+
+
+
@@ -89,6 +101,7 @@ export default { .containerBox { width: 100%; height: 100%; + overflow:auto; border: 1px solid #0081c3; .titleTxt { @@ -97,54 +110,68 @@ export default { margin-top: 5px; margin-left: 5px; } - .greenTable{ - margin-top: 30px; - - th { - color: #6adce8; - border-bottom: 1px solid rgba(31, 68, 86, 0.3); - } - td{ - color: white; + .devInfoBox { + display: flex; + margin-bottom: 10px; + margin-top: 10px; + .item { + display: inline-flex; + align-items: center; + flex: 1; + img { + margin-right: 7px; + margin-left: 40px; + } + p { + opacity: 0.8; + font-size: 14px; + } + .num { + opacity: 1; + font-size: 20px; + } } } - .alarmType{ - position:relative; - left: 40%; - width: 35px; - height: 15px; - background-color: #08b58a; - border-radius: 8px ; + .devListBox { + margin: 0 10px; + li { + height: 37px; + line-height: 37px; + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 6px; + background-color: rgba(68, 215, 182, 0.1); + span { + width: 55px; + height: 100%; + text-align: center; + } + } + p { + font-size: 16px; + opacity: 0.8; + padding-left: 32px; + } + .online { + background-color: rgba(68, 215, 182, 0.54); + } + .offline { + background-color: rgba(151, 12, 12, 0.54); + } } - .alarmType::before{ - content: ''; - position: absolute; - top: 1px; - left: 3px; - width: 12px; - height: 12px; - border-radius: 50%; - background-color: #fff; - } - .unAlarm{ - position:relative; - left: 40%; - width: 35px; - height: 15px; - background-color: #6d7077; - border-radius: 8px ; - } - .unAlarm::before{ - content: ''; - position: absolute; - top: 1px; - right: 3px; - width: 12px; - height: 12px; - border-radius: 50%; - background-color: #fff; + .noData{ + margin-top: 5%; + margin-left: 35%; + p{ + margin-left: 5%; + } } } +::-webkit-scrollbar { + width: 3px; + color: #636364; +}