From da462d6d0874a7171347d983df9f5366a009a4b2 Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 06 九月 2022 16:01:04 +0800
Subject: [PATCH] bug

---
 src/views/riskWarningSys/warningBigScreen/components/accident.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/riskWarningSys/warningBigScreen/components/accident.vue b/src/views/riskWarningSys/warningBigScreen/components/accident.vue
index 041134b..9e3175d 100644
--- a/src/views/riskWarningSys/warningBigScreen/components/accident.vue
+++ b/src/views/riskWarningSys/warningBigScreen/components/accident.vue
@@ -62,6 +62,8 @@
 					legend: {
 						top: '0',
 						left: 'center',
+						itemWidth: fontSize(10),
+						itemHeight: fontSize(8),
 						textStyle:{
 							color: '#fff',
 							fontSize: fontSize(11)
@@ -104,7 +106,7 @@
 								{ value: 484, name: '一般事故' },
 								{ value: 300, name: '未遂事故' }
 							],
-							center: ['50%','65%']
+							center: ['50%','60%']
 						}
 					]
 				};
@@ -129,6 +131,8 @@
 					legend: {
 						top: '0',
 						left: 'center',
+						itemWidth: fontSize(10),
+						itemHeight: fontSize(8),
 						textStyle:{
 							color: '#fff',
 							fontSize: fontSize(11)
@@ -171,7 +175,7 @@
 								{ value: 484, name: '一般事故' },
 								{ value: 300, name: '未遂事故' }
 							],
-							center: ['50%','65%']
+							center: ['50%','60%']
 						}
 					]
 				};

--
Gitblit v1.9.2