From a04ff48322d7b4fbe1c56821dbc7405519f3bfe3 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期六, 02 十二月 2023 17:32:21 +0800
Subject: [PATCH] 统计优化

---
 src/views/cockpitPage/components/StatisticalBox.vue |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/views/cockpitPage/components/StatisticalBox.vue b/src/views/cockpitPage/components/StatisticalBox.vue
index 934dd76..f456aaa 100644
--- a/src/views/cockpitPage/components/StatisticalBox.vue
+++ b/src/views/cockpitPage/components/StatisticalBox.vue
@@ -3,7 +3,16 @@
     <div v-for="item in allList" class="all-bg">
       <div class="box">
         <div class="commom-title">{{ item.title }}</div>
-        <div class="commom-value">{{ item.value }}</div>
+        <div
+          class="commom-value"
+          :class="
+            item.title == '寤舵湡浜や粯' || item.title == '鐗╂枡涓嶈冻'
+              ? 'redColor'
+              : ''
+          "
+        >
+          {{ item.value }}
+        </div>
       </div>
     </div>
   </div>
@@ -59,6 +68,9 @@
         font-family: "Arial Negreta", "Arial Normal", "Arial";
         font-weight: 700;
       }
+      .redColor {
+        color: #ff0000;
+      }
     }
   }
 }

--
Gitblit v1.8.0