|
|
@@ -6,19 +6,20 @@ |
|
|
|
</view> |
|
|
|
<view class="coupons-info"> |
|
|
|
<view class="coupons-info-name">{{data.title}}</view> |
|
|
|
<view class="coupons-info-name subtitle ">{{data.subTitle}}</view> |
|
|
|
<view class="coupons-info-name subtitle">{{data.subTitle}}</view> |
|
|
|
<view class="coupons-info-manjian" style="margin-top:10rpx;" wx:if="{{data.type == 1}}"> |
|
|
|
满¥{{data.usePriceStr}}可用 |
|
|
|
</view> |
|
|
|
<view class="coupons-info-manjian" wx:elif="{{data.type == 2||data.type == 3||data.type==4||data.type==5}}"> |
|
|
|
仅限本店使用 |
|
|
|
</view> |
|
|
|
<view class="coupons-info-name subtitle ">剩余库存: {{data.remainInventory}}</view> |
|
|
|
</view> |
|
|
|
<view class="coupons-btn"> |
|
|
|
<!-- 优惠券价格 --> |
|
|
|
<view class="coupons-info-price"> |
|
|
|
<text class="coupons-info-price-p">¥{{data.salePrice/100}}</text> |
|
|
|
<text class="coupons-info-price-o">¥{{data.price/100}}</text> |
|
|
|
<text class="coupons-info-price-p">¥{{data.salePriceStr}}</text> |
|
|
|
<text class="coupons-info-price-o">¥{{data.priceStr}}</text> |
|
|
|
</view> |
|
|
|
<i-button i-class="coupons-btn-gm" wx:if="{{data.type==4}}" data-date='{{data}}'>领取</i-button> |
|
|
|
<i-button i-class="coupons-btn-gm" wx:elif="{{data.type == 1||data.type == 2||data.type==3||data.type==4}}" data-date='{{data}}'>购买</i-button> |
|
|
|