From 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 02 八月 2024 11:09:06 +0800
Subject: [PATCH] aa

---
 wechat_jiaxuan/components/disCase/index.wxml |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/wechat_jiaxuan/components/disCase/index.wxml b/wechat_jiaxuan/components/disCase/index.wxml
index 1d3bcb5..d5d6dd4 100644
--- a/wechat_jiaxuan/components/disCase/index.wxml
+++ b/wechat_jiaxuan/components/disCase/index.wxml
@@ -44,11 +44,11 @@
           <view class="content">
             <view class="name">{{ item.title }}</view>
             <view class="info">
-              <image wx:if="{{ !item.collection }}" data-code="like" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
+              <image wx:if="{{ !item.isCollection }}" data-code="like" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
               <image wx:else data-code="like_cancel" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
-              <text class="num {{item.collection ? 'primary' : ''}}">{{ item.collectCount }}</text>
+              <text class="num {{item.isCollection ? 'primary' : ''}}">{{ item.collectCount }}</text>
               <image class="icon" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-              <text>{{ item.viewCount }}</text>
+              <text>{{ math.formarCount(item.viewCount) }}</text>
             </view>
           </view>
         </view>
@@ -58,6 +58,5 @@
       </scroll-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