Commit 2350d097bf3e319956bc5602aae2a5c0eef45217
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev
Showing
2 changed files
with
8 additions
and
4 deletions
packageB/pages/luckactivity/luckinfo/luckinfo.js
@@ -351,6 +351,12 @@ Page({ | @@ -351,6 +351,12 @@ Page({ | ||
351 | luckInfo: res.data.data, | 351 | luckInfo: res.data.data, |
352 | }); | 352 | }); |
353 | WxParse.wxParse('content', 'html', self.data.luckInfo.remark, self); | 353 | WxParse.wxParse('content', 'html', self.data.luckInfo.remark, self); |
354 | + | ||
355 | + // 如果is_share为1,隐藏发送给朋友和分享到朋友圈功能 | ||
356 | + if(!self.data.luckInfo.is_share) { | ||
357 | + wx.hideShareMenu(); | ||
358 | + }; | ||
359 | + | ||
354 | } else { | 360 | } else { |
355 | wx.showToast({ | 361 | wx.showToast({ |
356 | title: res.data.msg, | 362 | title: res.data.msg, |
packageB/pages/luckactivity/luckinfo/luckinfo.wxml
@@ -124,7 +124,7 @@ | @@ -124,7 +124,7 @@ | ||
124 | </view> | 124 | </view> |
125 | 125 | ||
126 | <!-- 分享按钮 --> | 126 | <!-- 分享按钮 --> |
127 | -<view class="circle-container zhuanfa" bindtap="showPoster"><text class="iconfont icon-zhuanfa1"></text></view> | 127 | +<view class="circle-container zhuanfa" bindtap="showPoster" wx:if="{{!luckInfo.is_share}}"><text class="iconfont icon-zhuanfa1"></text></view> |
128 | 128 | ||
129 | <!-- 悬浮按钮 --> | 129 | <!-- 悬浮按钮 --> |
130 | <view class="circle-container gift {{((record && record.length != 0) || isActive) ? 'active':''}}" bindtap="showPopup"><text class="iconfont icon-liwu"></text></view> | 130 | <view class="circle-container gift {{((record && record.length != 0) || isActive) ? 'active':''}}" bindtap="showPopup"><text class="iconfont icon-liwu"></text></view> |
@@ -199,10 +199,8 @@ | @@ -199,10 +199,8 @@ | ||
199 | <!-- 遮罩层 --> | 199 | <!-- 遮罩层 --> |
200 | <view class="mask" wx:if="{{showMask}}"></view> | 200 | <view class="mask" wx:if="{{showMask}}"></view> |
201 | 201 | ||
202 | -<!-- 遮罩层2 --> | ||
203 | -<!-- <cover-view class="mask2"></cover-view> --> | ||
204 | 202 | ||
205 | <qrcode id="qrcode" bind:close="closeQr"></qrcode> | 203 | <qrcode id="qrcode" bind:close="closeQr"></qrcode> |
206 | 204 | ||
207 | 205 | ||
208 | -<painter style="position: absolute;" palette="{{imgDraw}}" bind:imgOK="onImgOK"/> | ||
209 | \ No newline at end of file | 206 | \ No newline at end of file |
207 | +<painter style="position: absolute;left: -9999rpx;" palette="{{imgDraw}}" bind:imgOK="onImgOK"/> | ||
210 | \ No newline at end of file | 208 | \ No newline at end of file |