From 2101731f0b3220e73f2c855de205dfce73f2f6d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=B1=E9=87=8E=E7=BE=A1=E6=B0=91?= Date: Mon, 6 May 2024 01:55:15 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/views/mall/statistics/product/comp?= =?UTF-8?q?onents/ProductSummary.vue.=20=E5=95=86=E5=93=81=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E8=AE=A1=E6=95=B0=E6=98=BE=E7=A4=BA=E6=9C=89=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E6=95=B0=E9=87=8F=E6=98=BE=E7=A4=BA=E6=88=90?= =?UTF-8?q?=E4=BB=B7=E6=A0=BC=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 山野羡民 --- .../product/components/ProductSummary.vue | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/mall/statistics/product/components/ProductSummary.vue b/src/views/mall/statistics/product/components/ProductSummary.vue index d28660e2..06692234 100644 --- a/src/views/mall/statistics/product/components/ProductSummary.vue +++ b/src/views/mall/statistics/product/components/ProductSummary.vue @@ -26,9 +26,9 @@ icon="ep:view" icon-color="bg-blue-100" icon-bg-color="text-blue-500" - prefix="¥" - :decimals="2" - :value="fenToYuan(trendSummary?.value?.browseCount || 0)" + prefix="" + :decimals="0" + :value="trendSummary?.value?.browseCount || 0" :percent=" calculateRelativeRate( trendSummary?.value?.browseCount, @@ -44,9 +44,9 @@ icon="ep:user-filled" icon-color="bg-purple-100" icon-bg-color="text-purple-500" - prefix="¥" - :decimals="2" - :value="fenToYuan(trendSummary?.value?.browseUserCount || 0)" + prefix="" + :decimals="0" + :value="trendSummary?.value?.browseUserCount || 0" :percent=" calculateRelativeRate( trendSummary?.value?.browseUserCount, @@ -62,9 +62,9 @@ icon="fa-solid:money-check-alt" icon-color="bg-yellow-100" icon-bg-color="text-yellow-500" - prefix="¥" - :decimals="2" - :value="fenToYuan(trendSummary?.value?.orderPayCount || 0)" + prefix="" + :decimals="0" + :value="trendSummary?.value?.orderPayCount || 0" :percent=" calculateRelativeRate( trendSummary?.value?.orderPayCount, @@ -98,9 +98,9 @@ icon="fa-solid:wallet" icon-color="bg-cyan-100" icon-bg-color="text-cyan-500" - prefix="¥" - :decimals="2" - :value="fenToYuan(trendSummary?.value?.afterSaleCount || 0)" + prefix="" + :decimals="0" + :value="trendSummary?.value?.afterSaleCount || 0" :percent=" calculateRelativeRate( trendSummary?.value?.afterSaleCount,