Skip to content

Commit 99f8fa8

Browse files
YunaiVgitee-org
authored andcommitted
!439 商品统计计数显示成价格了 update src/views/mall/statistics/product/components/ProductSummary.vue.
Merge pull request !439 from 山野羡民/N/A
2 parents 66c6463 + 2101731 commit 99f8fa8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/views/mall/statistics/product/components/ProductSummary.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
icon="ep:view"
2727
icon-color="bg-blue-100"
2828
icon-bg-color="text-blue-500"
29-
prefix=""
30-
:decimals="2"
31-
:value="fenToYuan(trendSummary?.value?.browseCount || 0)"
29+
prefix=""
30+
:decimals="0"
31+
:value="trendSummary?.value?.browseCount || 0"
3232
:percent="
3333
calculateRelativeRate(
3434
trendSummary?.value?.browseCount,
@@ -44,9 +44,9 @@
4444
icon="ep:user-filled"
4545
icon-color="bg-purple-100"
4646
icon-bg-color="text-purple-500"
47-
prefix=""
48-
:decimals="2"
49-
:value="fenToYuan(trendSummary?.value?.browseUserCount || 0)"
47+
prefix=""
48+
:decimals="0"
49+
:value="trendSummary?.value?.browseUserCount || 0"
5050
:percent="
5151
calculateRelativeRate(
5252
trendSummary?.value?.browseUserCount,
@@ -62,9 +62,9 @@
6262
icon="fa-solid:money-check-alt"
6363
icon-color="bg-yellow-100"
6464
icon-bg-color="text-yellow-500"
65-
prefix=""
66-
:decimals="2"
67-
:value="fenToYuan(trendSummary?.value?.orderPayCount || 0)"
65+
prefix=""
66+
:decimals="0"
67+
:value="trendSummary?.value?.orderPayCount || 0"
6868
:percent="
6969
calculateRelativeRate(
7070
trendSummary?.value?.orderPayCount,
@@ -98,9 +98,9 @@
9898
icon="fa-solid:wallet"
9999
icon-color="bg-cyan-100"
100100
icon-bg-color="text-cyan-500"
101-
prefix=""
102-
:decimals="2"
103-
:value="fenToYuan(trendSummary?.value?.afterSaleCount || 0)"
101+
prefix=""
102+
:decimals="0"
103+
:value="trendSummary?.value?.afterSaleCount || 0"
104104
:percent="
105105
calculateRelativeRate(
106106
trendSummary?.value?.afterSaleCount,

0 commit comments

Comments
 (0)