From d8c1bb93c2b7dbbed8ab726577ea6bf57f47eab2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 八月 2024 14:28:16 +0800
Subject: [PATCH] aa

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

diff --git a/wechat_jiaxuan/components/disCase/index.wxml b/wechat_jiaxuan/components/disCase/index.wxml
index 53ca131..12bc189 100644
--- a/wechat_jiaxuan/components/disCase/index.wxml
+++ b/wechat_jiaxuan/components/disCase/index.wxml
@@ -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,9 +44,9 @@
           <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>
             </view>

--
Gitblit v1.9.3