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

@ -17,13 +17,26 @@
<view class='item acea-row row-center-wrapper'>
<block v-if="item.status == 0">
<view v-if="item.coupon.send_type == 5" class='money vip-coupon'>
<view v-if="item.type=='bd_buy'">
<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 v-else class='money' :style="{ 'background-image': `url(${domain}/static/diy/couponBg${keyColor}.png)` }">
<view v-if="item.type=='bd_buy'">
<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>
</block>
<view v-else class='money moneyGray'>
<view><text class='num'>{{item.coupon_price}}</text></view>

Loading…
Cancel
Save