1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
<block wx:if="{{isLoading}}"><view><status-nav vue-id="6ac317bb-1" ifReturn="{{true}}" navBarTitle="优惠券" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="record-nav border-box flex" style="background-color:#f5f5f5;padding:40rpx 20rpx;margin:0;"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeNav',[index]]]]]}}" class="{{['item','color-8c','radius20','border-box',index==navIndex?'cur':'']}}" bindtap="__e">{{item.title}}</view></block></view><view class="coupon-list pad-zy20 border-box"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['coupon-item','radius30','mar-s40','flex',navIndex==2?'grey':'']}}"><view class="price color-ff border-box"><text class="font30">¥</text>{{item.g0[0]}}<text class="font30">{{'.'+item.g1[1]}}</text></view><view class="txt"><view class="font36">{{item.$orig.name}}</view><view class="font24 color-8c mar-s10">{{"满"+item.m0+"减"+item.m1}}</view><view class="font24 color-8c mar-s10">{{item.$orig.begin_at+"至"+item.$orig.end_at}}</view></view><block wx:if="{{navIndex==0}}"><view data-event-opts="{{[['tap',[['useEv',['$event']]]]]}}" class="btn mar-zy20 color-ff font24" bindtap="__e">使用</view></block><block wx:if="{{navIndex==1}}"><view data-event-opts="{{[['tap',[['receiveEv',['$0',index],[[['couponList','',index,'id']]]]]]]}}" class="btn mar-zy20 color-ff font24" bindtap="__e">领取</view></block></view></block></view><block wx:if="{{noMore}}"><view class="no-more font24" style="margin-top:20rpx;"><text>—— 到底啦 ——</text></view></block></view></block> |