1 |
- <view class="data-v-3fe38fdc"><view class="{{['coupon-action','data-v-3fe38fdc',(value==true)?'coupon-show':'']}}" style="background-color:#f8f8f8;"><view class="coupon-title data-v-3fe38fdc">选择优惠劵</view><view class="coupon-body data-v-3fe38fdc" style="{{'max-height:'+(maxHeight+'px')+';'}}"><block wx:if="{{$root.g0<=0}}"><view class="coupon-empty data-v-3fe38fdc">暂无优惠劵</view></block><block wx:if="{{$root.g1}}"><view class="coupon-list data-v-3fe38fdc"><block wx:for="{{coupons}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onCoupon',['$0'],[[['coupons','',index]]]]]]]}}" class="coupon-box data-v-3fe38fdc" bindtap="__e"><view class="coupon-l-box data-v-3fe38fdc"><view class="coupon-amount data-v-3fe38fdc">{{''+item.price+''}}<text class="data-v-3fe38fdc">元</text></view><view class="coupon-condition data-v-3fe38fdc">{{item.condition}}</view></view><view class="coupon-r-box data-v-3fe38fdc"><view class="coupon-name data-v-3fe38fdc">{{item.name}}</view><view class="coupon-valid data-v-3fe38fdc">{{item.startAt+" - "+item.endAt}}</view></view><view class="coupon-corner-checkbox data-v-3fe38fdc"><text class="{{['iconfont','data-v-3fe38fdc',(active==item.id)?'active':'']}}"></text></view></view></block></view></block><view style="width:100%;height:60px;float:left;" class="data-v-3fe38fdc"></view></view><text data-event-opts="{{[['tap',[['onClose',['$event']]]]]}}" class="iconfont close data-v-3fe38fdc" catchtap="__e"></text><view data-event-opts="{{[['tap',[['onCancelBonus',['$event']]]]]}}" class="coupon-button data-v-3fe38fdc" bindtap="__e"><text class="data-v-3fe38fdc">不使用优惠劵</text></view></view><popup bind:input="__e" vue-id="5f1e0936-1" value="{{value}}" data-event-opts="{{[['^input',[['__set_model',['','value','$event',[]]]]]]}}" class="data-v-3fe38fdc" bind:__l="__l"></popup></view>
|