From 7f646a8cc7704ddcc90a89488b256693d44d7e24 Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 19 Aug 2024 15:47:52 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E9=A6=96=E9=A1=B5=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/dashboard/PanelGroup.vue | 43 ++++++--- src/views/index.vue | 143 ++++++++++++++++------------- 2 files changed, 107 insertions(+), 79 deletions(-) diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue index 1a1081f..3ff8993 100644 --- a/src/views/dashboard/PanelGroup.vue +++ b/src/views/dashboard/PanelGroup.vue @@ -3,52 +3,52 @@
- +
- 访客 + 计划订单数量
- +
- +
- 消息 + 在制订单数量
- +
- +
- 金额 + 今日计划米数
- +
- +
- 订单 + 今日完成米数
- +
@@ -62,6 +62,23 @@ export default { components: { CountTo }, + props: { + topData: { + type: Object, + default: + { + value1: 10, + value2: 2, + value3: 710, + value4: 230 + } + } + }, + data() { + return { + topData: this.topData + } + }, methods: { handleSetLineChartData(type) { this.$emit('handleSetLineChartData', type) @@ -160,7 +177,7 @@ export default { } } -@media (max-width:550px) { +@media (max-width: 550px) { .card-panel-description { display: none; } diff --git a/src/views/index.vue b/src/views/index.vue index f22b1d3..a3d4cfc 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,87 +1,98 @@ - -