From e6e0218a1abd7395d00ade401c6ea6a02e7c3ece Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 01 八月 2024 18:20:28 +0800
Subject: [PATCH] lll

---
 wechat_jiaxuan/components/disProduct/index.wxml |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/wechat_jiaxuan/components/disProduct/index.wxml b/wechat_jiaxuan/components/disProduct/index.wxml
index 4c5358a..c99c55b 100644
--- a/wechat_jiaxuan/components/disProduct/index.wxml
+++ b/wechat_jiaxuan/components/disProduct/index.wxml
@@ -48,7 +48,7 @@
                 <image wx:else class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
                 <text class="num {{item.isCollection ? 'primary' : ''}}">{{ item.collectCount || 0 }}</text>
                 <image class="icon" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-                <text>{{ item.viewCount || 0 }}</text>
+                <text>{{ math.formarCount(item.viewCount) }}</text>
               </view>
             </view>
             <view wx:if="{{ datalist.length == 0 }}" class="empty_wrap">
@@ -58,7 +58,5 @@
       </view>
     </view>
   </view>
-
-
-
-</view>
\ No newline at end of file
+</view>
+<wxs module="math" src="../../utils/math.wxs"></wxs>
\ No newline at end of file

--
Gitblit v1.9.3