From 85cea71cad88335fa5da346784ba00c5e23bf373 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 23 Jun 2025 18:58:59 +0800
Subject: [PATCH] feat: 状态颜色调整

---
 src/views/wel/components/statistics.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/views/wel/components/statistics.vue b/src/views/wel/components/statistics.vue
index 295996a..cb3fb32 100644
--- a/src/views/wel/components/statistics.vue
+++ b/src/views/wel/components/statistics.vue
@@ -198,28 +198,28 @@
 // 样式配置对象
 const statusStyles = {
   机巢保险: {
-    0: { class: 'expired', color: '#7C8091', background: '#7C8091' },
-    1: { class: 'normal', color: '#1B94FF', background: '#1B94FF' },
+    0: { class: 'expired', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
+    1: { class: 'normal', color: 'rgba(27, 148, 255, 1)', background: 'rgba(27, 148, 255, 1)' },
   },
 
   无人机流量: {
-    0: { class: 'offline', color: '#11CE3E', background: '#11CE3E' },
-    1: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
-    2: { class: 'flying', color: '#7C8091', background: '#7C8091' },
+    0: { class: 'offline', color: 'rgba(0, 180, 69, 1)', background: 'rgba(0, 180, 69, 1)' },
+    1: { class: 'flying', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
+    2: { class: 'flying', color: 'rgba(255, 36, 36, 1)', background: 'rgba(255, 36, 36, 1)' },
   },
   监控设备: {
-    0: { class: 'offline', color: '#bababa', background: '#bababa' },
-    1: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
+    0: { class: 'offline', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
+    1: { class: 'flying', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
   },
   移动机巢: {
-    '-1': { class: 'offline', color: '#bababa', background: '#bababa' },
-    4: { class: 'flying', color: '#1B94FF', background: '#1B94FF' },
+    '-1': { class: 'offline', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
+    4: { class: 'flying', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
   },
   // 默认样式配置
   default: {
-    0: { class: 'warning', color: '#1b94ff', background: '#1b94ff' },
-    4: { class: 'success', color: '#11ce3e', background: '#11ce3e' },
-    '-1': { class: 'success', color: '#bababa', background: '#bababa' },
+    0: { class: 'warning', color: 'rgba(0, 180, 69, 1)', background: 'rgba(0, 180, 69, 1)' },
+    4: { class: 'success', color: 'rgba(255, 106, 0, 1)', background: 'rgba(255, 106, 0, 1)' },
+    '-1': { class: 'success', color: 'rgba(186, 186, 186, 1)', background: 'rgba(186, 186, 186, 1)' },
   },
 };
 

--
Gitblit v1.9.3