Commit 2f054672027fe30ca00bb27598ba9e11bfea9b58

Authored by taiyuan
1 parent 9c717ca8

幸运购商品详情页修改

packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
... ... @@ -6450,5 +6450,14 @@ Page({
6450 6450 return newTypeArr;
6451 6451 },
6452 6452  
  6453 +
  6454 + //弹出活动已经结束
  6455 + timeUp() {
  6456 + wx.showToast({
  6457 + title: '本商品活动已经结束!',
  6458 + icon: 'none',
  6459 + });
  6460 + },
  6461 +
6453 6462  
6454 6463 });
... ...
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
... ... @@ -198,7 +198,7 @@
198 198  
199 199 <!-- 这个是分享按钮 -->
200 200 <!-- <view class="xc-share-frame {{prom_type==1?'s_ms_bth':''}} t-c" bindtap="saveImageToPhotosAlbum"> -->
201   - <view class="xc-share-frame t-c" bindtap="clickShare">
  201 + <view class="xc-share-frame t-c" bindtap="{{isTimeUp ? 'timeUp':'clickShare'}}">
202 202 <view class="iconfont icon-share"></view>
203 203 <!-- <view class="fs22 c-7b">分享</view> -->
204 204 </view>
... ... @@ -335,7 +335,7 @@
335 335 <view class="xc-partner-frame">
336 336 <view class="zzk-1 flex jc_sb">
337 337 <view class="pdl10">已参团{{filters.show_default(luckGoInfo.num, '0')}}人,还差<text class="c-red">{{filters.show_default(luckGoInfo.group_num, '0')- filters.show_default(luckGoInfo.num, '0')}}</text>人成团</view>
338   - <view class="ckgd flex ai_c" bindtap="showReward">
  338 + <view class="ckgd flex ai_c" bindtap="{{isTimeUp ? 'timeUp':'showReward'}}">
339 339 查看奖励
340 340 <view class="bg_right arrow-one"></view>
341 341 </view>
... ... @@ -392,7 +392,7 @@
392 392 <!-- <view class="clear"></view> -->
393 393 </view>
394 394  
395   - <view class="fs24 pdh20 pdt20">*<text class="c-red">{{luckGoInfo.group_num}}</text>人成团,<text class="c-red">{{luckGoInfo.group_win}}</text>人得商品,<text class="c-red">{{luckGoInfo.group_num - luckGoInfo.group_win}}</text>人全额退款并获得<text class="c-red">惊喜礼品</text>!</view>
  395 + <view class="fs24 pdh20 pdt20">*<text class="c-red">{{filters.show_default(luckGoInfo.group_num, '0')}}</text>人成团,<text class="c-red">{{filters.show_default(luckGoInfo.group_win, '0')}}</text>人得商品,<text class="c-red">{{filters.show_default(luckGoInfo.group_num - luckGoInfo.group_win, '0')}}</text>人全额退款并获得<text class="c-red">惊喜礼品</text>!</view>
396 396 </view>
397 397 </view>
398 398  
... ...