diff --git a/src/assets/icons/svg/pm2.5.svg b/src/assets/icons/svg/pm25.svg similarity index 98% rename from src/assets/icons/svg/pm2.5.svg rename to src/assets/icons/svg/pm25.svg index c6c14f4..6cf089b 100644 --- a/src/assets/icons/svg/pm2.5.svg +++ b/src/assets/icons/svg/pm25.svg @@ -1,52 +1,52 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/images/largeScreen/bg.png b/src/assets/images/largeScreen/bg.png new file mode 100644 index 0000000..d53c65d Binary files /dev/null and b/src/assets/images/largeScreen/bg.png differ diff --git a/src/assets/styles/yxk-admin.scss b/src/assets/styles/yxk-admin.scss index 39e6147..42d31aa 100644 --- a/src/assets/styles/yxk-admin.scss +++ b/src/assets/styles/yxk-admin.scss @@ -1125,4 +1125,66 @@ input[type='number'] { border: none; transform: rotate(0); } +} + +// 库房空气质量监控 +.msg-list{ + position: absolute; + top: 0; + left: 0; + width: calc(100vw - 800px); +} +.msg-list, +.screen-env-list{ + display: flex; + li{ + flex: 1; + display: flex; + flex-wrap: nowrap; + align-items: center; + align-content: center; + justify-content: center; + // width: calc(100%/6); + height: 80px; + margin-right: 20px; + background: url('~@/assets/images/data_border_default.png') no-repeat; + background-size: 100% 100%; + position: relative; + &.li-warn{ + background: url('~@/assets/images/data_border_warn.png') no-repeat; + background-size: 100% 100%; + } + .msg-list-svg{ + font-size: 36px; + display: inline-block; + height: 80px; + line-height: 80px; + margin-left: 30px; + } + .msg-pm{ + font-size: 46px; + } + .msg-txt{ + position: relative; + flex: 1; + height: 80px; + text-align: center; + } + .msg-list-unit{ + position: absolute; + left: 0; + bottom: 12px; + width: 100%; + font-size: 14px; + color: #339CFF; + } + .msg-list-num{ + color: #fff; + font-size: 26px; + position: absolute; + left: 0; + top: 14px; + width: 100%; + } + } } \ No newline at end of file diff --git a/src/views/environmentalScreen/data1.json b/src/views/environmentalScreen/data1.json new file mode 100644 index 0000000..9a53cb7 --- /dev/null +++ b/src/views/environmentalScreen/data1.json @@ -0,0 +1,119 @@ +{ + "rows":[ + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + }, + { + "time":"2022-6-30 13:00", + "warehouse":"文书档案库房", + "warning":"温度温度温度温度温度温度", + "name":"温度温度温度温度温度温度" + } + + ] +} \ No newline at end of file diff --git a/src/views/environmentalScreen/index.vue b/src/views/environmentalScreen/index.vue index fdc3aea..7a39de0 100644 --- a/src/views/environmentalScreen/index.vue +++ b/src/views/environmentalScreen/index.vue @@ -7,11 +7,65 @@

档案库空气质量数据

+
    +
  • + +
    + 60 +

    CO2ppm

    +
    +
  • +
  • + +
    + 60 +

    VOCmg/m³

    +
    +
  • +
  • + +
    + 60 +

    PM2.5ug/m³

    +
    +
  • +
  • + +
    + 60 +

    PM10ug/m³

    +
    +
  • +

漏水检测

+
+
+ 正常 + 报警 +
+
    +
  • +

    维护报警

    + +
  • +
  • +

    漏水报警

    + +
  • +
  • +

    感应线断裂

    + +
  • +
  • +

    漏水位置

    + 8.22 +
  • +
+
@@ -42,11 +96,87 @@ frameborder="0" scrolling="no" /> +
    +
  • + +
    + 60 +

    温度℃

    +
    +
  • +
  • + +
    + 60 +

    湿度%

    +
    +
  • +
-
+

设备状态

+
+ 正常 + 报警 +
+
    +
  • +
    + +
    +
    +

    密集架

    + +
    +
  • +
  • +
    + +
    +
    +

    回转柜

    + +
    +
  • +
  • +
    + +
    +
    +

    空调

    + +
    +
  • +
  • +
    + +
    +
    +

    通道门

    + +
    +
  • +
  • +
    + +
    +
    +

    漏水传感器

    + +
    +
  • +
  • +
    + +
    +
    +

    温湿度传感器

    + +
    +
  • +
@@ -54,12 +184,13 @@

阅览室

- +

整理室

+
@@ -80,22 +211,104 @@
+ +