From 4babef2228379742188ad51d77300efcbd00a1ba Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 18 Apr 2023 19:25:02 +0800
Subject: [PATCH] 关闭按钮和echarts图例调整

---
 src/views/home/components/rightContainer.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/home/components/rightContainer.vue b/src/views/home/components/rightContainer.vue
index e0ef4d4..39395a0 100644
--- a/src/views/home/components/rightContainer.vue
+++ b/src/views/home/components/rightContainer.vue
@@ -488,6 +488,7 @@
                 }
             } else {
                 option = {
+                    color: ['#5470C6', '#73C0DE', '#EE6666', '#FAC858'],
                     tooltip: {
                         trigger: "item",
                         formatter:
@@ -507,7 +508,10 @@
                         },
                     },
                     legend: {
-                        data: ['盗窃', '诈骗', '纠纷', '其他']
+                        data: ['盗窃', '诈骗', '纠纷', '其他'],
+                        textStyle: {
+                            color: "#fff"
+                        }
                     },
                     yAxis: {
                         type: "value",

--
Gitblit v1.9.3