Commit c6c469f6c2113ca3a7f1addb7de859ccc3c04fff

Authored by yvan.ni
1 parent a5d472cc

商品详情页面显示幸运购商品

pages/goods/goodsInfo/goodsInfo.js
... ... @@ -7830,7 +7830,7 @@ Page({
7830 7830 //找不到活动要剔除
7831 7831 if (!item.act_name) continue;
7832 7832  
7833   - if ([1,2,4,6,8].indexOf(item.prom_type)==-1) continue;
  7833 + if ([1,2,4,6,8,9].indexOf(item.prom_type)==-1) continue;
7834 7834 new_arr.push(item);
7835 7835 }
7836 7836  
... ...
pages/goods/goodsInfo/goodsInfo.wxml
... ... @@ -605,6 +605,7 @@
605 605 <view wx:if="{{item.prom_type==4}}" class="cx-sizs wsize" style="width: 144rpx">积分购</view>
606 606 <view wx:if="{{item.prom_type==6}}" class="cx-sizs wsize" style="width: 144rpx">天天拼单</view>
607 607 <view wx:if="{{item.prom_type==8}}" class="cx-sizs wsize" style="width: 144rpx">预售</view>
  608 + <view wx:if="{{item.prom_type==9}}" class="cx-sizs wsize" style="width: 144rpx">幸运购</view>
608 609  
609 610 <!-- 中间显示层 -->
610 611 <view class="flex ai-center jc_sb" style="width: 570rpx" bindtap="go_more_flash" data-prom_type="{{item.prom_type}}" data-id="{{item.act_id}}">
... ... @@ -615,6 +616,7 @@
615 616 <view wx:if="{{item.prom_type==4}}" class="miao_lab">积</view>
616 617 <view wx:if="{{item.prom_type==6}}" class="miao_lab">拼</view>
617 618 <view wx:if="{{item.prom_type==8}}" class="miao_lab">预</view>
  619 + <view wx:if="{{item.prom_type==9}}" class="miao_lab">幸</view>
618 620  
619 621  
620 622 <view class="order_hui">
... ...