liudan 6 months ago
parent 4053eeb046
commit f7d1086583
  1. 21
      pages/users/user_coupon/index.vue

@ -17,12 +17,25 @@
<view class='item acea-row row-center-wrapper'> <view class='item acea-row row-center-wrapper'>
<block v-if="item.status == 0"> <block v-if="item.status == 0">
<view v-if="item.coupon.send_type == 5" class='money vip-coupon'> <view v-if="item.coupon.send_type == 5" class='money vip-coupon'>
<view class="line1 coupon_value"><text class='num'>{{item.coupon_price}}</text></view> <view v-if="item.type=='bd_buy'">
<view class="pic-num">{{ item.use_min_price }}元可用</view> <view class="line1 coupon_value"><text class='num'>{{item.coupon.discount}}</text></view>
<view class="pic-num">折扣券</view>
</view>
<view v-else>
<view class="line1 coupon_value"><text class='num'>{{item.coupon_price}}</text></view>
<view class="pic-num">{{ item.use_min_price }}元可用</view>
</view>
</view> </view>
<view v-else class='money' :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)` }"> <view v-else class='money' :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)` }">
<view class="line1 coupon_value"><text class='num'>{{item.coupon_price}}</text></view> <view v-if="item.type=='bd_buy'">
<view class="pic-num">{{ item.use_min_price }}元可用</view> <view class="line1 coupon_value"><text class='num'>{{item.coupon.discount}}</text></view>
<view class="pic-num">折扣券</view>
</view>
<view v-else>
<view class="line1 coupon_value"><text class='num'>{{item.coupon_price}}</text></view>
<view class="pic-num">{{ item.use_min_price }}元可用</view>
</view>
</view> </view>
</block> </block>
<view v-else class='money moneyGray'> <view v-else class='money moneyGray'>

Loading…
Cancel
Save