Procházet zdrojové kódy

粉尘修改提交

lxh před 1 rokem
rodič
revize
4f2123b169

+ 11 - 4
src/views/vent/monitorManager/alarmMonitor/fire/dustPage.vue

@@ -87,8 +87,8 @@
       // echartDataFc.aveValue.data.length = 0
       echartDataFc.xData.length = 0;
       if (JSON.stringify(val.common) != '{}') {
-        let dustList = val.common.dust.slice(0, 3);
-        dustList.forEach((el) => {
+        // let dustList = val.common.dust.slice(0, 3);
+        val.common.dust.forEach((el) => {
           topAreaList.push({
             title: el.strinstallpos,
             content: [
@@ -139,18 +139,23 @@
     box-sizing: border-box;
 
     .top-area {
+      width: 100%;
       height: 24%;
       display: flex;
       justify-content: flex-start;
       margin-bottom: 10px;
+      overflow-x: auto;
+      transform: scaleY(-1);
 
       .top-box {
         position: relative;
-        width: 30.5%;
+        width: 474px;
         height: 88%;
+        flex-shrink: 0;
         background: url('../../../../../assets//images/fire/fc-t.png') no-repeat center;
         background-size: 100% 100%;
         margin: 0px 20px;
+        transform: scaleY(-1);
 
         .top-title {
           width: 80%;
@@ -204,11 +209,13 @@
 
       .top-box1 {
         position: relative;
-        width: 30.5%;
+        width: 474px;
         height: 100%;
+        flex-shrink: 0;
         background: url('../../../../../assets//images/fire/fc-t1.png') no-repeat center;
         background-size: 100% 100%;
         margin: 0px 20px;
+        transform: scaleY(-1);
 
         .top-title {
           width: 80%;