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 lines
6.0 KiB
1 lines
6.0 KiB
<view style="{{(colorStyle)}}" class="data-v-44106f3e"><view class="header data-v-44106f3e"><view class="navbar acea-row data-v-44106f3e"><view data-event-opts="{{[['tap',[['onNav',[0]]]]]}}" class="{{['item','acea-row','row-center-wrapper','data-v-44106f3e',(navOn===0)?'on':'']}}" bindtap="__e"><view class="data-v-44106f3e">{{"待使用("+not_used+"张)"}}</view></view><view data-event-opts="{{[['tap',[['onNav',[1]]]]]}}" class="{{['item','acea-row','row-center-wrapper','data-v-44106f3e',(navOn===1)?'on':'']}}" bindtap="__e"><view class="data-v-44106f3e">{{"已使用("+used+"张)"}}</view></view><view data-event-opts="{{[['tap',[['onNav',[2]]]]]}}" class="{{['item','acea-row','row-center-wrapper','data-v-44106f3e',(navOn===2)?'on':'']}}" bindtap="__e"><view class="data-v-44106f3e">{{"已失效("+expired+"张)"}}</view></view></view><view class="subnavbar acea-row data-v-44106f3e"><view class="shade data-v-44106f3e"><block wx:if="{{shadeLeft}}"><image class="img1 data-v-44106f3e" src="../static/shade.png"></image></block></view><scroll-view class="scroll-view acea-row row-middle data-v-44106f3e" scroll-x="true" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]],['scrolltoupper',[['scrolltoupper',['$event']]]],['scroll',[['scroll',['$event']]]]]}}" bindscrolltolower="__e" bindscrolltoupper="__e" bindscroll="__e"><view class="acea-row row-middle data-v-44106f3e" style="flex-wrap:nowrap;"><view data-event-opts="{{[['tap',[['onSubNav',['']]]]]}}" class="{{['item','data-v-44106f3e',(type==='')?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">全部</view></view><block wx:if="{{navOn==0}}"><view data-event-opts="{{[['tap',[['onSubNav',[-1]]]]]}}" class="{{['item','data-v-44106f3e',(type==-1)?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">快过期</view></view></block><view data-event-opts="{{[['tap',[['onSubNav',[0]]]]]}}" class="{{['item','data-v-44106f3e',(type===0)?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">通用券</view></view><view data-event-opts="{{[['tap',[['onSubNav',[1]]]]]}}" class="{{['item','data-v-44106f3e',(type==1)?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">品类券</view></view><view data-event-opts="{{[['tap',[['onSubNav',[2]]]]]}}" class="{{['item','data-v-44106f3e',(type==2)?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">商品券</view></view><view data-event-opts="{{[['tap',[['onSubNav',[3]]]]]}}" class="{{['item','data-v-44106f3e',(type==3)?'on':'']}}" bindtap="__e"><view class="inner data-v-44106f3e">品牌券</view></view></view></scroll-view><view class="shade data-v-44106f3e"><block wx:if="{{shadeRight}}"><image class="img data-v-44106f3e" src="../static/shade.png"></image></block></view></view></view><view class="header-shadow data-v-44106f3e"></view><view class="coupon-list data-v-44106f3e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item','data-v-44106f3e',(navOn)?'gray':'']}}"><view class="{{['item-box','acea-row','data-v-44106f3e',(item.$orig.receive_type===4)?'svip':'']}}"><view class="moneyCon acea-row row-center-wrapper data-v-44106f3e"><view class="money data-v-44106f3e"><block wx:if="{{item.$orig.coupon_type==1}}"><base-money vue-id="{{'d2d0228e-1-'+index}}" money="{{item.$orig.coupon_price}}" symbolSize="28" integerSize="52" isCoupon="{{true}}" color="{{item.$orig.is_use?'#cccccc':item.$orig.receive_type===4?'#FACC7D':'#ffffff'}}" class="data-v-44106f3e" bind:__l="__l"></base-money></block><block wx:else><block wx:if="{{item.$orig.coupon_type==2}}"><view class="SemiBold data-v-44106f3e">{{item.m0/10}}<text class="fs-28 pingfang pl-4 data-v-44106f3e">折</text></view></block></block><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-44106f3e">{{"满"+item.$orig.use_min_price+"可用"}}</view></block><block wx:else><view class="pic-num data-v-44106f3e">无门槛券</view></block></view></view><view class="text acea-row row-column row-center data-v-44106f3e"><view class="condition data-v-44106f3e"><view class="name line1 data-v-44106f3e">{{''+item.$orig.coupon_title+''}}</view></view><view class="data acea-row row-between-wrapper data-v-44106f3e"><view class="data-v-44106f3e">{{item.$orig.add_time+"-"+item.$orig.end_time}}</view></view><view class="text-bottom acea-row row-middle data-v-44106f3e"><block wx:if="{{item.$orig.applicable_type===0}}"><view class="data-v-44106f3e">通用优惠券</view></block><block wx:else><block wx:if="{{item.$orig.applicable_type===1}}"><view class="data-v-44106f3e">品类优惠券</view></block><block wx:else><block wx:if="{{item.$orig.applicable_type===3}}"><view class="data-v-44106f3e">品牌优惠券</view></block><block wx:else><view class="data-v-44106f3e">商品优惠券</view></block></block></block><view hidden="{{!(item.$orig.rule)}}" class="data-v-44106f3e">丨</view><view data-event-opts="{{[['tap',[['openRule',[index]]]]]}}" hidden="{{!(item.$orig.rule)}}" bindtap="__e" class="data-v-44106f3e">查看用券规则<text class="iconfont icon-ic_downarrow data-v-44106f3e"></text></view></view></view><view class="btn-box acea-row row-middle data-v-44106f3e"><block wx:if="{{navOn==1}}"><view class="btn disabled data-v-44106f3e">已使用</view></block><block wx:else><block wx:if="{{navOn==2}}"><view class="btn disabled data-v-44106f3e">已失效</view></block><block wx:else><view data-event-opts="{{[['tap',[['useCoupon',['$0'],[[['couponsList','',index]]]]]]]}}" class="btn data-v-44106f3e" bindtap="__e">去使用</view></block></block></view></view><block wx:if="{{item.$orig.ruleShow}}"><view class="rule-desc data-v-44106f3e"><block wx:for="{{item.$orig.rules}}" wx:for-item="ruleItem" wx:for-index="idx" wx:key="idx"><view class="data-v-44106f3e">{{ruleItem}}</view></block></view></block></view></block></view><block wx:if="{{$root.g0}}"><view class="px-20 data-v-44106f3e"><empty-page vue-id="d2d0228e-2" title="暂无优惠券,去看点别的吧~" src="/statics/images/noCoupon.gif" class="data-v-44106f3e" bind:__l="__l"></empty-page></view></block></view> |