From b099e758396f61b39d24cf5fa6be7bb0d10c2b4d Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 18 五月 2026 19:16:26 +0800
Subject: [PATCH] 提交

---
 small-program/shop/pages/store-home/store-home.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/small-program/shop/pages/store-home/store-home.vue b/small-program/shop/pages/store-home/store-home.vue
index 79f8402..a41aa1a 100644
--- a/small-program/shop/pages/store-home/store-home.vue
+++ b/small-program/shop/pages/store-home/store-home.vue
@@ -19,28 +19,34 @@
 			<view :class="'tab-item  '+(active ==1?'active':'')" @click="changeActive(1)">鏈湀</view>
 			<view :class="'tab-item  '+(active ==2?'active':'')" @click="changeActive(2)">涓婃湀</view>
         </view>
-        <text class="tab-item right">鍦ㄥ簱璁㈠崟: {{countData.storageCount||0}}</text>
+        <text class="tab-item right">鍦ㄥ簱璁㈠崟: {{countData.storageCount > 99 ? '99+' : countData.storageCount || 0}}</text>
       </view>
       
       <view class="stats-cards">
         <view class="stat-card">
           <view class="stat-label">
             <text>閿�鍞(鍏�)</text>
-            <image class="stat-icon" src="/static/icon/ic_visible@2x.png"></image>
+            <u-icon v-if="showMoney" name="eye" color="#ffffff" size="18" @click="showMoney = !showMoney"></u-icon>
+					  <u-icon v-if="!showMoney" name="eye-off" color="#eeeeee" size="18" @click="showMoney = !showMoney"></u-icon>
+            <!-- <image v-if="showMoney" class="stat-icon" src="/static/icon/ic_visible@2x.png" @click="showMoney = false"></image>
+            <image v-if="!showMoney" class="stat-icon" src="/static/icon/ic_invisible@2x.png" @click="showMoney = true"></image> -->
           </view>
-          <text class="stat-value">{{((countData.salesAmount || 0)/100).toFixed(2)}}</text>
+          <text class="stat-value" v-if="showMoney">{{((countData.salesAmount || 0)/100).toFixed(2)}}</text>
+          <text class="stat-value" v-if="!showMoney">****</text>
         </view>
         <view class="stat-card">
           <view class="stat-label">
             <text>缁撶畻鍒╂鼎(鍏�)</text>
           </view>
-          <text class="stat-value">{{((countData.settlementProfit|| 0)/100).toFixed(2)}}</text>
+          <text class="stat-value" v-if="showMoney">{{((countData.settlementProfit|| 0)/100).toFixed(2)}}</text>
+          <text class="stat-value" v-if="!showMoney">****</text>
         </view>
         <view class="stat-card">
           <view class="stat-label">
             <text>璁㈠崟鏁�</text>
           </view>
-          <text class="stat-value">{{countData.orderCount||0}}</text>
+          <text class="stat-value" v-if="showMoney">{{countData.orderCount > 99 ? '99+' : countData.orderCount || 0}}</text>
+          <text class="stat-value" v-if="!showMoney">****</text>
         </view>
       </view>
     </view>
@@ -62,7 +68,7 @@
       </view>
       <view class="func-btn" @click="goToQualification">
         <image class="func-icon" src="/shop/static/icon/ic_wodezizhi@2x.png"></image>
-        <text class="func-text">闂ㄥ簵璧勮川</text>
+        <text class="func-text">钀ユ敹鍒嗘瀽</text>
       </view>
     </view>
     <text class="section-title">寰呭鐞嗚鍗�({{total||0}})</text>
@@ -256,7 +262,7 @@
 		},
 		goToQualification() {
 		  uni.navigateTo({
-			url: '/shop/pages/qualification/qualification'
+			url: '/shop/pages/revenue-analysis/revenue-analysis'
 		  })
 		},
 		goToStore() {
@@ -454,6 +460,7 @@
 
 .stat-label {
   display: flex;
+  align-items: center;
   height: 40rpx;
   text {
     font-size: 24rpx;

--
Gitblit v1.9.3