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/disProduct/index.wxml |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/wechat_jiaxuan/components/disProduct/index.wxml b/wechat_jiaxuan/components/disProduct/index.wxml
index 6cd5b57..c99c55b 100644
--- a/wechat_jiaxuan/components/disProduct/index.wxml
+++ b/wechat_jiaxuan/components/disProduct/index.wxml
@@ -15,13 +15,13 @@
       <view class="main_right">
         <view class="query_wrap">
           <view data-index="{{index}}" wx:for="{{ secondCateList }}" class="item" bindtap="changeShowParams">
-            <view class="name">{{ item.paramName || item.labelName }}</view>
+            <view class="name">{{ item.tempParamName  || item.labelName }}</view>
             <van-icon name="{{ index == activeIndex ? 'arrow-up' : 'arrow-down' }}" />
           </view>
         </view>
         <view wx:if="{{ activeParam.length > 0 }}" class="query_form">
           <view class="list">
-            <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].paramIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
+            <view data-index="{{index}}" data-tempindex="{{item.tempParamIndex}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ secondCateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
           </view>
           <view class="btns">
             <view class="btn" bindtap="cancelParam">鍙栨秷</view>
@@ -48,14 +48,15 @@
                 <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">
+              <image class="default_empty" src="../../static/images/default_empty.png"></image>
             </view>
         </scroll-view>
       </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