Commit c6c469f6c2113ca3a7f1addb7de859ccc3c04fff

Authored by yvan.ni
1 parent a5d472cc

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

pages/goods/goodsInfo/goodsInfo.js
@@ -7830,7 +7830,7 @@ Page({ @@ -7830,7 +7830,7 @@ Page({
7830 //找不到活动要剔除 7830 //找不到活动要剔除
7831 if (!item.act_name) continue; 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 new_arr.push(item); 7834 new_arr.push(item);
7835 } 7835 }
7836 7836
pages/goods/goodsInfo/goodsInfo.wxml
@@ -605,6 +605,7 @@ @@ -605,6 +605,7 @@
605 <view wx:if="{{item.prom_type==4}}" class="cx-sizs wsize" style="width: 144rpx">积分购</view> 605 <view wx:if="{{item.prom_type==4}}" class="cx-sizs wsize" style="width: 144rpx">积分购</view>
606 <view wx:if="{{item.prom_type==6}}" class="cx-sizs wsize" style="width: 144rpx">天天拼单</view> 606 <view wx:if="{{item.prom_type==6}}" class="cx-sizs wsize" style="width: 144rpx">天天拼单</view>
607 <view wx:if="{{item.prom_type==8}}" class="cx-sizs wsize" style="width: 144rpx">预售</view> 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 <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}}"> 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,6 +616,7 @@
615 <view wx:if="{{item.prom_type==4}}" class="miao_lab">积</view> 616 <view wx:if="{{item.prom_type==4}}" class="miao_lab">积</view>
616 <view wx:if="{{item.prom_type==6}}" class="miao_lab">拼</view> 617 <view wx:if="{{item.prom_type==6}}" class="miao_lab">拼</view>
617 <view wx:if="{{item.prom_type==8}}" class="miao_lab">预</view> 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 <view class="order_hui"> 622 <view class="order_hui">