From af9f7ad7d711f0562e4394449a117da20f808fc2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 24 七月 2024 16:44:40 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/components/detailFooter/index.wxml | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/wechat_staff/components/detailFooter/index.wxml b/wechat_staff/components/detailFooter/index.wxml
index ed66dfa..9ee532a 100644
--- a/wechat_staff/components/detailFooter/index.wxml
+++ b/wechat_staff/components/detailFooter/index.wxml
@@ -2,15 +2,17 @@
<view class="footer_wrap" style="padding-bottom: {{bottomLift}}px;">
<view class="content">
<view class="btns">
- <view class="item">
- <image src="../../static/icon/detail_nav_like_sel@2x.png"></image>
+ <view bindtap="handleEnjoy" class="item">
+ <image wx:if="{{ info.isEnjoy }}" src="../../static/icon/detail_nav_like_sel@2x.png"></image>
+ <image wx:else src="../../static/icon/detail_nav_like@2x.png"></image>
<text>鍠滄</text>
</view>
- <view class="item">
- <image src="../../static/icon/detail_nav_collected.png"></image>
+ <view bindtap="handleCollec" class="item">
+ <image wx:if="{{ info.isCollection }}" src="../../static/icon/detail_nav_collected.png"></image>
+ <image wx:else src="../../static/icon/detail_nav_collect.png"></image>
<text>鏀惰棌</text>
</view>
- <view class="item">
+ <view bindtap="handleDown" class="item">
<image src="../../static/icon/detail_nav_download@2x.png"></image>
<text>涓嬭浇</text>
</view>
@@ -19,7 +21,7 @@
</view>
</view>
<!-- -->
- <view class="shade_modal" style="padding-bottom: {{bottomLift}}px;">
+ <view wx:if="{{ showShare }}" class="shade_modal" style="padding-bottom: {{bottomLift}}px;">
<view class="btns">
<button open-type="share" class="item" bindtap="handleShare">
<image src="../../static/icon/wechat.png"></image>
@@ -32,5 +34,5 @@
</view>
<view bindtap="onClose" class="cancel">鍙栨秷</view>
</view>
- <view class="shade" bindtap="onClose"></view>
+ <view wx:if="{{ showShare }}" class="shade" bindtap="onClose"></view>
</view>
\ No newline at end of file
--
Gitblit v1.9.3