From b9a5993e27a7db8d3a32f585e52d3b3e38661b00 Mon Sep 17 00:00:00 2001 From: YuanHuakk <1751826683@qq.com> Date: Mon, 14 Oct 2024 22:12:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(custom):=20=E7=8E=B0=E9=87=91=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/admin/statistics/index.vue | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/pages/admin/statistics/index.vue b/src/pages/admin/statistics/index.vue index ccf091f..97c6916 100644 --- a/src/pages/admin/statistics/index.vue +++ b/src/pages/admin/statistics/index.vue @@ -35,11 +35,22 @@ - - {{ title }}{{ where.type == 1 ? '营业额' : '订单量' }} + + + + {{ title }}{{ where.type == 1 ? '营业额' : '订单量' }} + + {{ + dataObj.all || 0 + }} + {{ dataObj.all || 0 }} + + + {{ title }}现金部分 + {{ dataObj.all_discount }} + - {{ dataObj.all || 0 }} - {{ dataObj.all || 0 }} + {{ time === 'date' ? '' : title }}增长率: { display: flex; justify-content: space-between; align-items: center; + .red { color: #ff6969; } @@ -402,6 +414,7 @@ const touchEnd = (e: any) => { .green { color: #1abb1d; } + .iconfont { font-size: 23px; margin-left: 15px; @@ -428,6 +441,7 @@ const touchEnd = (e: any) => { .top { display: flex; align-items: center; + text { margin-right: 5px; } @@ -436,6 +450,7 @@ const touchEnd = (e: any) => { color: #fa2c19; } } + .table { margin-top: 10px; }