From 80122e49ea50302e86c663b00f9d5d04284c3372 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期五, 02 八月 2024 18:33:59 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 wechat_jiaxuan/components/disCase/index.wxml |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/wechat_jiaxuan/components/disCase/index.wxml b/wechat_jiaxuan/components/disCase/index.wxml
index 53ca131..53beed2 100644
--- a/wechat_jiaxuan/components/disCase/index.wxml
+++ b/wechat_jiaxuan/components/disCase/index.wxml
@@ -1,12 +1,12 @@
 <view class="app">
-  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
+  <view class="home_top">
     <view class="search_wrap">
       <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
       <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="鎼滅储妗堜緥鍚嶇О" />
     </view>
   </view>
   <!--  -->
-  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
+  <view class="home_content">
     <view class="main_content">
       <scroll-view class="query_wrap_scroll" scroll-x>
         <view class="query_wrap">
@@ -19,7 +19,7 @@
       <!--  param -->
       <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param">
         <view class="list">
-          <view data-index="{{index}}" data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
+          <view data-index="{{index}}" data-tempindex="{{item.tempParamIndex}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view>
         </view>
         <view class="btns">
           <view class="btn" bindtap="cancelParam">鍙栨秷</view>
@@ -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