From b40a03e6cbba769c752d6d8f3b8a8c9af2e50955 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 28 四月 2026 16:07:04 +0800
Subject: [PATCH] 小程序端和PC端bug修复
---
small-program/shop/pages/store-home/store-home.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/small-program/shop/pages/store-home/store-home.vue b/small-program/shop/pages/store-home/store-home.vue
index 3f4cc50..5f60eab 100644
--- a/small-program/shop/pages/store-home/store-home.vue
+++ b/small-program/shop/pages/store-home/store-home.vue
@@ -28,13 +28,13 @@
<text>閿�鍞(鍏�)</text>
<image class="stat-icon" src="/static/icon/ic_visible@2x.png"></image>
</view>
- <text class="stat-value">{{countData.salesAmount}}</text>
+ <text class="stat-value">{{((countData.salesAmount || 0)/100).toFixed(2)}}</text>
</view>
<view class="stat-card">
<view class="stat-label">
<text>缁撶畻鍒╂鼎(鍏�)</text>
</view>
- <text class="stat-value">{{countData.settlementProfit}}</text>
+ <text class="stat-value">{{((countData.settlementProfit|| 0)/100).toFixed(2)}}</text>
</view>
<view class="stat-card">
<view class="stat-label">
--
Gitblit v1.9.3