From 9bfdf6ecef01397978c140aa4fbd8c4840d894fb Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期二, 15 八月 2023 13:04:35 +0800
Subject: [PATCH] 异常页面表格列的颜色

---
 src/views/IndexView.vue |   31 +++++++++++++------------------
 1 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/src/views/IndexView.vue b/src/views/IndexView.vue
index 74fa822..58ef864 100644
--- a/src/views/IndexView.vue
+++ b/src/views/IndexView.vue
@@ -70,17 +70,9 @@
         checkedShops: []
       }
 
-      // chartInstance: []
-      // // 鍐呴儴璁惧
-      // devices: []
     };
   },
-  watch: {
-    // 'outside.checkedShops'(){
-    //   this.saveOutsideData()
-    //     console.log('111');
-    // }
-  },
+
   methods: {
     //鑾峰彇鎵�鏈夊簵閾哄悕瀛�
     getDeviceInfo() {
@@ -461,7 +453,7 @@
         :key="device.mvStatCode"
       >
         <!-- 鍐呴儴璁惧 -->
-        <el-card v-if="index < inner.inFumeValue.length" height="1900px">
+        <el-card v-if="index < inner.inFumeValue.length"  class="card-font-color" height="1900px">
           <template #header>
             <div class="card-header">{{ device.siteName }} 
               <img src="@/assets/inner_device.jpg" class="icon-inner"/>
@@ -470,8 +462,9 @@
           </template>
           <div class="report-time-text">鏁版嵁鍙戝竷鏃堕棿锛歿{ device.time }}</div>
           <DashBoard :data="device.value"></DashBoard>
+
           <div >璁惧缂栧彿锛歿{ device.mnCode }}</div>
-          <!-- <hr class="divider-margin" /> -->
+
           <div class="horizontal-line"></div>
           
           <div class="status" :class="{ exceed: device.value > 1 }">
@@ -482,7 +475,7 @@
           <br />
         </el-card>
         <!-- 澶栭儴璁惧 -->
-        <el-card v-else>
+        <el-card v-else class="card-font-color">
           <template #header>
             <div class="card-header">
               {{ device.diName }}
@@ -501,11 +494,11 @@
           </span>
          </div>
          <div class="horizontal-line"></div>
-          <!-- <hr class="divider-margin" /> -->
 
           <div>璁惧缂栧彿锛歿{ device.mvStatCode }}</div>
+
           <div class="horizontal-line"></div>
-          <!-- <hr class="divider-margin" /> -->
+
           <div>璁惧渚涘簲鍟嗭細{{ device.diSupplier }}</div>
           <div
             class="status"
@@ -598,6 +591,11 @@
   color: #999999;
 }
 
+.card-font-color {
+  color: #000000;
+}
+
+
 
 
 
@@ -641,10 +639,7 @@
   width: calc(100% / 6);
   // margin-left: 70px;
 }
-// .input-search {
-//   display: flex;
-//   justify-content: left;
-// }
+
 .save-switch {
   margin-top: 20px;
   margin-left: 20px;

--
Gitblit v1.9.3