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.
1 line
3.3 KiB
1 line
3.3 KiB
2 months ago
|
<view class="data-v-31a2b2cc"><block wx:if="{{$root.g0}}"><view class="coupon-list data-v-31a2b2cc"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view class="item-group data-v-31a2b2cc"><view class="{{['item','acea-row','data-v-31a2b2cc',(item.$orig.is_use&&item.$orig.used&&item.$orig.used.is_fail)?'disabled':'']}}"><view class="{{['money','data-v-31a2b2cc',(item.$orig.used&&item.$orig.used.is_fail)?'moneyGray':'']}}"><view class="data-v-31a2b2cc"><block wx:if="{{item.$orig.coupon_type==1}}"><text class="data-v-31a2b2cc">¥</text></block><text class="num data-v-31a2b2cc">{{item.$orig.coupon_type==1?item.$orig.coupon_price:item.m0/10}}</text><block wx:if="{{item.$orig.coupon_type==2}}"><text class="data-v-31a2b2cc">折</text></block></view><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-31a2b2cc">{{"满"+item.f0+"元可用"}}</view></block><block wx:else><view class="pic-num data-v-31a2b2cc">无门槛券</view></block></view><view class="text-wrap acea-row row-middle data-v-31a2b2cc"><view class="text data-v-31a2b2cc"><view class="condition data-v-31a2b2cc"><view class="name line2 data-v-31a2b2cc"><text class="data-v-31a2b2cc">{{item.$orig.coupon_title}}</text></view></view><view class="data acea-row row-between-wrapper data-v-31a2b2cc"><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-31a2b2cc">{{"领取后"+item.$orig.coupon_time+"天内有效"}}</view></block><block wx:else><view class="data-v-31a2b2cc">{{item.$orig.start_use_time+"-"+item.$orig.end_use_time}}</view></block></view><view class="look-wrap data-v-31a2b2cc"><view data-event-opts="{{[['tap',[['openRule',[index]]]]]}}" class="look data-v-31a2b2cc" bindtap="__e">{{''+(item.$orig.applicable_type?item.$orig.applicable_type==1?'品类':'商品':'通用')+"优惠券"}}<block wx:if="{{item.$orig.rule}}"><text class="data-v-31a2b2cc">丨查看用券规则</text></block><block wx:if="{{item.$orig.rule}}"><text class="{{['data-v-31a2b2cc','iconfont',item.$orig.ruleShow?'icon-ic_uparrow':'icon-ic_downarrow']}}"></text></block></view></view></view><block wx:if="{{!item.$orig.is_use}}"><view data-event-opts="{{[['tap',[['setCouponReceive',['$0'],[[['couponsList','id',item.$orig.id,'id']]]]]]]}}" class="bnt data-v-31a2b2cc" bindtap="__e">立即领取</view></block><block wx:else><block wx:if="{{item.$orig.used&&item.$orig.used.is_fail}}"><view class="bnt data-v-31a2b2cc">已失效</view></block><block wx:else><view data-event-opts="{{[['tap',[['useCoupon',['$0'],[[['couponsList','id',item.$orig.id]]]]]]]}}" class="bnt data-v-31a2b2cc" bindtap="__e">去使用</view></block></block></view></view><block wx:if="{{item.$orig.ruleShow}}"><view class="rules data-v-31a2b2cc"><block wx:for="{{item.$orig.rules}}" wx:for-item="ruleItem" wx:for-index="idx" wx:key="idx"><view class="data-v-31a2b2cc">{{ruleItem}}</view></block></view></block></view></block></view></block><block wx:if="{{$root.g1}}"><view class="noCommodity data-v-31a2b2cc"><view class="pictrue data-v-31a2b2cc"><image src="{{imgHost+'/statics/images/noCoupon.png'}}" class="data-v-31a2b2cc"></image></view></view></block><block wx:if="{{isShowAuth}}"><authorize bind:authColse="__e" bind:onLoadFun="__e" vue-id="123cc972-1" data-event-opts="{{[['^authColse',[['authColse']]],['^onLoadFun',[['onLoadFun']]]]}}" class="data-v-31a2b2cc" bind:__l="__l"></authorize></block></view>
|