From 99c5b19b5fa178f2821a85e5e0be44cc7eae2f9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Mon, 25 Apr 2022 00:05:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=A6=96=E9=A1=B5=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 3a14cf05eea6ecea80ef803990cdae051a0167ca --- src/assets/icons/homepage.svg | 1 + src/assets/icons/message.svg | 2 +- src/assets/icons/money.svg | 2 +- src/assets/icons/shopping.svg | 2 +- src/assets/icons/uv.svg | 1 + .../dashboard/components/Chart/BarChart.vue | 2 +- .../dashboard/components/Chart/PieChart.vue | 2 +- .../dashboard/components/Chart/RadarChart.vue | 2 +- src/views/dashboard/components/Team/index.vue | 30 ++++++------------- src/views/dashboard/index.vue | 28 ++++++++--------- 10 files changed, 31 insertions(+), 41 deletions(-) create mode 100644 src/assets/icons/homepage.svg create mode 100644 src/assets/icons/uv.svg diff --git a/src/assets/icons/homepage.svg b/src/assets/icons/homepage.svg new file mode 100644 index 00000000..48f4e249 --- /dev/null +++ b/src/assets/icons/homepage.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/message.svg b/src/assets/icons/message.svg index 14ca8172..6b0bf3be 100644 --- a/src/assets/icons/message.svg +++ b/src/assets/icons/message.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/money.svg b/src/assets/icons/money.svg index c1580de1..1aca918b 100644 --- a/src/assets/icons/money.svg +++ b/src/assets/icons/money.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/shopping.svg b/src/assets/icons/shopping.svg index aefae24c..8d2b4bf9 100644 --- a/src/assets/icons/shopping.svg +++ b/src/assets/icons/shopping.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/assets/icons/uv.svg b/src/assets/icons/uv.svg new file mode 100644 index 00000000..ca4c3012 --- /dev/null +++ b/src/assets/icons/uv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/dashboard/components/Chart/BarChart.vue b/src/views/dashboard/components/Chart/BarChart.vue index 29634fd1..17d90180 100644 --- a/src/views/dashboard/components/Chart/BarChart.vue +++ b/src/views/dashboard/components/Chart/BarChart.vue @@ -48,7 +48,7 @@ function initChart() { barChart.setOption({ title: { show: true, - text: '业绩总览(2021年)', + text: '业绩总览', x: 'center', padding: 15, textStyle: { diff --git a/src/views/dashboard/components/Chart/PieChart.vue b/src/views/dashboard/components/Chart/PieChart.vue index c32fd3ef..ae41becc 100644 --- a/src/views/dashboard/components/Chart/PieChart.vue +++ b/src/views/dashboard/components/Chart/PieChart.vue @@ -47,7 +47,7 @@ function initChart() { pieChart.setOption({ title: { show: true, - text: '产品分类总览南丁格尔饼图', + text: '产品分类总览', x: 'center', padding: 15, textStyle: { diff --git a/src/views/dashboard/components/Chart/RadarChart.vue b/src/views/dashboard/components/Chart/RadarChart.vue index a4937215..24177f67 100644 --- a/src/views/dashboard/components/Chart/RadarChart.vue +++ b/src/views/dashboard/components/Chart/RadarChart.vue @@ -47,7 +47,7 @@ function initChart() { radarChart.setOption({ title: { show: true, - text: '订单状态总雷达图', + text: '订单状态统计', x: 'center', padding: 15, textStyle: { diff --git a/src/views/dashboard/components/Team/index.vue b/src/views/dashboard/components/Team/index.vue index 576167a3..1313916d 100644 --- a/src/views/dashboard/components/Team/index.vue +++ b/src/views/dashboard/components/Team/index.vue @@ -6,26 +6,17 @@ 有来开源组织 & 技术团队 - + - + {{ item.nickname }} - {{ position }} + {{ position }} 个人主页 @@ -38,13 +29,10 @@ - + - + 群二维码过期可添加开发者微信由其拉入群,备注「有来」即可。 @@ -73,13 +61,13 @@ const state = reactive({ { imgUrl: "https://s2.loli.net/2022/04/06/yRx8uzj4emA5QVr.jpg", nickname: "郝先瑞", - positions: ["Vue3", "Java", "文档"], + positions: ["后端", "前端", "文档"], homepage: "https://www.cnblogs.com/haoxianrui/", }, { imgUrl: "https://s2.loli.net/2022/04/06/cQihGv9uPsTjXk1.jpg", nickname: "张川", - positions: ["Vue3", "Java"], + positions: ["后端", "前端"], homepage: "https://blog.csdn.net/qq_41595149", }, { diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index c0b2f125..60a020fc 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -3,8 +3,8 @@ - - - + - + 访问数 @@ -34,7 +34,7 @@ - + @@ -46,18 +46,18 @@ - + - 支付金额 + 收入金额 1000 - + @@ -73,29 +73,29 @@ - + - + - + - + - + @@ -160,7 +160,7 @@ import Team from "./components/Team/index.vue"; } } - .card-panel-col { + .card-panel__col { margin-bottom: 12px; }