From 8ba5014fd707bc29476f7b76571e131011b89344 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 18 Mar 2025 10:17:45 +0800 Subject: [PATCH] update --- src/views/dashboard/Dashboard.vue | 97 +++++++++++++++++++++++-------- 1 file changed, 74 insertions(+), 23 deletions(-) diff --git a/src/views/dashboard/Dashboard.vue b/src/views/dashboard/Dashboard.vue index 987e324..93e6475 100644 --- a/src/views/dashboard/Dashboard.vue +++ b/src/views/dashboard/Dashboard.vue @@ -45,11 +45,17 @@ />
+ @@ -67,25 +73,38 @@ - 配送订单 + 配送订单数 - +
+ + +
+ @@ -104,23 +123,36 @@ - 订单金额 + 配送订单金额 - +
+ + +
+
@@ -204,11 +236,16 @@ export default defineComponent({ total_user_count: 0, has_order_user_count: 0, has_paid_user_count: 0, + has_order_completed_user_count: 0, order_count: 0, order_pay_count: 0, + order_unpaid_count: 0, + order_completed_count: 0, pay_rate: 0, order_amount: 0, - pay_amount: 0 + pay_amount: 0, + completed_order_amount: 0, + unpaid_amount: 0 }) const deliverymanList = ref([]) @@ -525,6 +562,20 @@ export default defineComponent({ } } +.main-stat-row { + display: flex; + justify-content: space-between; + margin-bottom: 16px; + + .main-stat { + margin-bottom: 0; + + :deep(.ant-statistic-content) { + font-size: 24px; + } + } +} + .sub-stats { display: flex; justify-content: space-between;