You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
2.0 KiB
34 lines
2.0 KiB
<block wx:if="{{get_coupon_list&&get_coupon_list.length>0}}">
|
|
<view class="get-coupon flex-y-center flex-x-center">
|
|
<view class="get-coupon-box" style="overflow: visible">
|
|
<image mode="widthFix" class="get-coupon-bg" src="/images/img-get-coupon-bg.png"></image>
|
|
<view class="flex-x-center mb-20">
|
|
<image src="{{get_coupon_list[0].type==2?'/images/icon-receive-coupon.png':'/images/img-get-coupon-title.png'}}"
|
|
style="width: 226rpx;height: 51rpx"></image>
|
|
</view>
|
|
<scroll-view class="coupon-list" scroll-y="true">
|
|
<view wx:for="{{get_coupon_list}}" class="coupon-item flex-y-center">
|
|
<image mode="widthFix" src="/images/img-get-coupon-item-bg.png"
|
|
style="width: 100%;height: 100%"></image>
|
|
<view style="width: 100%">
|
|
<view class="flex-row flex-y-center">
|
|
<view class="flex-grow-1 flex-row flex-y-bottom">
|
|
<view style="line-height: 1">¥</view>
|
|
<view style="font-size: 23pt;line-height: .85">{{item.sub_price}}</view>
|
|
</view>
|
|
<view class="flex-grow-0" style="font-size: 9pt;line-height: 32rpx;">
|
|
满{{item.min_price}}元可用
|
|
</view>
|
|
</view>
|
|
<navigator bindtap="hideGetCoupon" class="use-now" data-url="/pages/list/list">立即使用</navigator>
|
|
<view style="font-size: 9pt">{{item.desc}}</view>
|
|
</view>
|
|
</view>
|
|
</scroll-view>
|
|
<view class='flex-x-center'>
|
|
<image src='/images/icon-close3.png' style='width:100rpx;height:100rpx;'
|
|
bindtap='closeCouponBox'></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</block>
|