From ed79d333e2f2be6630e9944d82ce80faf1097d30 Mon Sep 17 00:00:00 2001 From: ruancuihong <2806986110@qq.com> Date: Thu, 13 Mar 2025 10:08:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=8C=E5=96=84echart=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Main/DailyPatrolCard/index.vue | 138 +++++---- src/views/Main/ProjectCountCard/index.vue | 7 +- src/views/Main/RiskInspectionCard/index.vue | 301 +++++++++++++------- 3 files changed, 273 insertions(+), 173 deletions(-) diff --git a/src/views/Main/DailyPatrolCard/index.vue b/src/views/Main/DailyPatrolCard/index.vue index feda938..eb34415 100644 --- a/src/views/Main/DailyPatrolCard/index.vue +++ b/src/views/Main/DailyPatrolCard/index.vue @@ -14,10 +14,10 @@ @@ -182,7 +194,7 @@ onBeforeUnmount(() => { line-height: 22px; letter-spacing: 0px; - font-variation-settings: "opsz" auto; + font-variation-settings: 'opsz' auto; color: rgba(0, 0, 0, 0.55); span { font-family: DIN; @@ -191,7 +203,7 @@ onBeforeUnmount(() => { line-height: 22px; letter-spacing: 0px; - font-variation-settings: "opsz" auto; + font-variation-settings: 'opsz' auto; color: #28ce8e; } } diff --git a/src/views/Main/ProjectCountCard/index.vue b/src/views/Main/ProjectCountCard/index.vue index ec91516..994e5e5 100644 --- a/src/views/Main/ProjectCountCard/index.vue +++ b/src/views/Main/ProjectCountCard/index.vue @@ -69,12 +69,13 @@ onMounted(() => { fontSize: 16, fontWeight: 400, height: 24, + width: 60, padding: [0, 0, 0, 5], color: 'rgba(0, 0, 0, 0.55)' }, rate: { fontSize: 18, - fontWeight: 500, + fontWeight: 'bold', fontFamily: 'Microsoft YaHei', height: 24, padding: [48, 0, 0, -60], @@ -82,7 +83,7 @@ onMounted(() => { }, unit: { fontSize: 16, - fontWeight: 500, + fontWeight: 'bold', fontFamily: 'Microsoft YaHei', height: 24, padding: [48, 0, 0, 9], @@ -160,7 +161,7 @@ onMounted(() => { } } }, - data: [{ value: 1, name: '总数' }] + data: [{ value: 1, name: '总数', tooltip: { show: false} }] } ] }; diff --git a/src/views/Main/RiskInspectionCard/index.vue b/src/views/Main/RiskInspectionCard/index.vue index 2897ba8..cdbb54b 100644 --- a/src/views/Main/RiskInspectionCard/index.vue +++ b/src/views/Main/RiskInspectionCard/index.vue @@ -15,12 +15,12 @@