|
|
@@ -37,7 +37,7 @@ |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- 优惠券 --> |
|
|
|
<navigator wx:for="{{data.coupons}}" wx:key="{{index}}" url="/pages/coupon/detail/index?id={{item.id}}"> |
|
|
|
<navigator wx:for="{{data.coupons}}" wx:key="{{index}}" url="/pages/coupon/detail/index?couponChannelId=iambannercoupon&couponId={{item.couponId}}"> |
|
|
|
<!-- 首页优惠券列表页面 --> |
|
|
|
<view class="coupons1"> |
|
|
|
<view class="coupons1-img"> |
|
|
@@ -62,12 +62,10 @@ |
|
|
|
<view class="coupons1-info-name subtitle sy">剩余: {{item.remainInventory}}</view> |
|
|
|
<!-- <text class="coupons-info-price-o"><text class='i'>¥</text>{{item.priceStr}}</text> --> |
|
|
|
</view> |
|
|
|
<i-button class="buy" wx:if="{{item.type==4}}" data-date='{{data}}'>领取</i-button> |
|
|
|
<i-button class="buy" wx:elif="{{item.type == 1||item.type == 2||item.type==3||item.type==4}}" data-date='{{data}}'>购买</i-button> |
|
|
|
<i-button class="buy" wx:if="{{item.salePriceStr==0}}" data-date='{{data}}'>领取</i-button> |
|
|
|
<i-button class="buy" wx:elif="{{item.salePriceStr!=0}}" data-date='{{data}}'>购买</i-button> |
|
|
|
</view> |
|
|
|
<view class="coupons1-border"></view> |
|
|
|
</view> |
|
|
|
</navigator> |
|
|
|
<view class="loading" hidden="{{!searchLoading}}">正在载入更多...</view> |
|
|
|
<view class="loading complete" hidden="{{!searchLoadingComplete}}">已加载全部</view> |
|
|
|
</view> |