Commit 2f054672027fe30ca00bb27598ba9e11bfea9b58
1 parent
9c717ca8
幸运购商品详情页修改
Showing
2 changed files
with
12 additions
and
3 deletions
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
@@ -6450,5 +6450,14 @@ Page({ | @@ -6450,5 +6450,14 @@ Page({ | ||
6450 | return newTypeArr; | 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,7 +198,7 @@ | ||
198 | 198 | ||
199 | <!-- 这个是分享按钮 --> | 199 | <!-- 这个是分享按钮 --> |
200 | <!-- <view class="xc-share-frame {{prom_type==1?'s_ms_bth':''}} t-c" bindtap="saveImageToPhotosAlbum"> --> | 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 | <view class="iconfont icon-share"></view> | 202 | <view class="iconfont icon-share"></view> |
203 | <!-- <view class="fs22 c-7b">分享</view> --> | 203 | <!-- <view class="fs22 c-7b">分享</view> --> |
204 | </view> | 204 | </view> |
@@ -335,7 +335,7 @@ | @@ -335,7 +335,7 @@ | ||
335 | <view class="xc-partner-frame"> | 335 | <view class="xc-partner-frame"> |
336 | <view class="zzk-1 flex jc_sb"> | 336 | <view class="zzk-1 flex jc_sb"> |
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> | 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 | <view class="bg_right arrow-one"></view> | 340 | <view class="bg_right arrow-one"></view> |
341 | </view> | 341 | </view> |
@@ -392,7 +392,7 @@ | @@ -392,7 +392,7 @@ | ||
392 | <!-- <view class="clear"></view> --> | 392 | <!-- <view class="clear"></view> --> |
393 | </view> | 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 | </view> | 396 | </view> |
397 | </view> | 397 | </view> |
398 | 398 |