...
|
...
|
@@ -11,11 +11,16 @@ |
|
|
<block wx:for="{{coupons}}" wx:key="{{item.coupon_code}}">
|
|
|
<view class="coupon-item">
|
|
|
<view class="left">
|
|
|
<text class="value">{{item.coupon_value_str}}</text>
|
|
|
<block wx:if="{{item.use_rule_str}}">
|
|
|
<text class="value">{{item.coupon_value_str}}</text>
|
|
|
</block>
|
|
|
<block wx:else>
|
|
|
<text class="value solo">{{item.coupon_value_str}}</text>
|
|
|
</block>
|
|
|
<text class="condition" wx:if="{{item.use_rule_str}}">{{item.use_rule_str}}</text>
|
|
|
</view>
|
|
|
<view class="right">
|
|
|
<text class="name">{{item.coupon_name}}</text>
|
|
|
<text class="name"><text class="prefix">[UFO]</text>{{item.coupon_name}}</text>
|
|
|
<text class="period">{{item.coupon_validity}}</text>
|
|
|
<block wx:if="{{item.isChosen}}">
|
|
|
<image bindtap="uncheck" class="checked" data-idx="{{index}}"
|
...
|
...
|
|