From ab9ded23fc964f40df45733a46b9312475a43b3e Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期五, 08 十二月 2023 11:16:22 +0800
Subject: [PATCH] 颜色调整

---
 src/views/cockpitPage/components/DeviceChart.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/cockpitPage/components/DeviceChart.vue b/src/views/cockpitPage/components/DeviceChart.vue
index 7479b4a..a39f3d6 100644
--- a/src/views/cockpitPage/components/DeviceChart.vue
+++ b/src/views/cockpitPage/components/DeviceChart.vue
@@ -60,7 +60,7 @@
       let spirit = "/cockpitPage/order-bg.png";
       if (data) {
         option = {
-          color: ["#00FFFF", "#dcb018"],
+          color: ["#00FFFF", "#fccd1d"],
           tooltip: {
             trigger: "axis",
             axisPointer: {
@@ -119,7 +119,7 @@
                 fontSize: 12,
                 textStyle: {
                   color: function (params, index) {
-                    let colorList = ["#dcb018", "#00FFFF"];
+                    let colorList = ["#fccd1d", "#00FFFF"];
                     if (index % 2 == 0) {
                       return colorList[0];
                     } else {
@@ -201,7 +201,7 @@
                     color: "#00FFFF",
                   },
                   b: {
-                    color: "#dcb018",
+                    color: "#fccd1d",
                   },
                 },
               },
@@ -210,7 +210,7 @@
                   //鏌卞舰鍥惧渾瑙掞紝鍒濆鍖栨晥鏋�
                   barBorderRadius: [4, 4, 0, 0],
                   color: function (params) {
-                    let colorList = ["#dcb018", "#00FFFF"];
+                    let colorList = ["#fccd1d", "#00FFFF"];
                     if (params.dataIndex % 2 == 0) {
                       return colorList[0];
                     } else {

--
Gitblit v1.8.0