From 1c8a05092cf32ca4a30a4b8179110b52d2d887ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Sat, 29 Jan 2022 12:34:05 +0800 Subject: [PATCH] =?UTF-8?q?refactor(dashboard/index.vue):=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/svg/money.svg | 2 +- .../dashboard/components/Chart/PieChart.vue | 2 +- .../dashboard/components/Chart/RadarChart.vue | 2 +- src/views/dashboard/index.vue | 26 +++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/assets/icons/svg/money.svg b/src/assets/icons/svg/money.svg index 5b5e4ee8..535ad7f2 100644 --- a/src/assets/icons/svg/money.svg +++ b/src/assets/icons/svg/money.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/src/views/dashboard/components/Chart/PieChart.vue b/src/views/dashboard/components/Chart/PieChart.vue index 2fb9562e..0b7d1959 100644 --- a/src/views/dashboard/components/Chart/PieChart.vue +++ b/src/views/dashboard/components/Chart/PieChart.vue @@ -70,7 +70,7 @@ function initChart() { { name: 'Nightingale Chart', type: 'pie', - radius: [50, 150], + radius: [50, 130], center: ['50%', '50%'], roseType: 'area', itemStyle: { diff --git a/src/views/dashboard/components/Chart/RadarChart.vue b/src/views/dashboard/components/Chart/RadarChart.vue index b7866243..fed93f6e 100644 --- a/src/views/dashboard/components/Chart/RadarChart.vue +++ b/src/views/dashboard/components/Chart/RadarChart.vue @@ -70,7 +70,7 @@ function initChart() { }, radar: { // shape: 'circle', - radius: '70%', + radius: '60%', indicator: [ { name: '家用电器', max: 6500 }, { name: '服装箱包', max: 16000 }, diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 765617c2..27013585 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -4,10 +4,10 @@ - +
-
@@ -22,7 +22,7 @@
- +
@@ -36,7 +36,7 @@
- +
@@ -49,7 +49,7 @@
- +
@@ -68,12 +68,12 @@ - + - + @@ -81,17 +81,17 @@ - + - + - + @@ -235,8 +235,8 @@ const nickname = computed(() => useUserStoreHook().nickname); color: #f4516c; .svg-icon { - width: 3.2em !important; - height: 3.2em !important; + width: 3em !important; + height: 3em !important; } } @@ -251,7 +251,7 @@ const nickname = computed(() => useUserStoreHook().nickname); .card-panel-icon-wrapper { float: left; - margin: 14px 0 0 14px; + margin: 14px 0 0 6px; padding: 16px; transition: all 0.38s ease-out; border-radius: 6px;