index.wxml 3.9 KB

1
  1. <view style="{{(colorStyle)}}" class="data-v-5d8b35cc"><block wx:if="{{count>1}}"><view class="acea-row row-around nav data-v-5d8b35cc"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="type"><block wx:if="{{item.count}}"><view data-event-opts="{{[['tap',[['setType',['$0'],[[['navList','type',item.type,'type']]]]]]]}}" class="{{['data-v-5d8b35cc','acea-row','row-middle',type===item.type?'on':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></block></view></block><block wx:if="{{count>1}}"><view style="height:106rpx;" class="data-v-5d8b35cc"></view></block><block wx:if="{{$root.g0}}"><view class="coupon-list data-v-5d8b35cc"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['item','acea-row','row-center-wrapper','data-v-5d8b35cc',(item.$orig.receive_type===4)?'svip':'']}}"><view class="moneyCon acea-row row-center-wrapper data-v-5d8b35cc"><view class="{{['money','data-v-5d8b35cc',item.$orig.is_use>=item.$orig.receive_limit?'moneyGray':'']}}"><view class="data-v-5d8b35cc">{{item.m0}}<text class="num data-v-5d8b35cc">{{item.$orig.coupon_price}}</text></view><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-5d8b35cc">{{item.m1+" "+item.$orig.use_min_price+"\n\t\t\t\t\t\t"+item.m2+''}}</view></block><block wx:else><view class="pic-num data-v-5d8b35cc">{{item.m3}}</view></block></view></view><view class="text data-v-5d8b35cc"><view class="condition data-v-5d8b35cc"><view class="name line2 data-v-5d8b35cc"><block wx:if="{{item.$orig.type===0}}"><view class="{{['line-title','data-v-5d8b35cc',item.$orig.is_use>=item.$orig.receive_limit?'bg-color-huic':'']}}">{{item.m4}}</view></block><block wx:else><block wx:if="{{item.$orig.type===1}}"><view class="{{['line-title','data-v-5d8b35cc',item.$orig.is_use>=item.$orig.receive_limit?'bg-color-huic':'']}}">{{item.m5}}</view></block><block wx:else><view class="{{['line-title','data-v-5d8b35cc',item.$orig.is_use>=item.$orig.receive_limit?'bg-color-huic':'']}}">{{item.m6}}</view></block></block><block wx:if="{{item.$orig.receive_type===4}}"><image class="pic data-v-5d8b35cc" src="/static/images/fvip.png"></image></block>{{''+item.m7+''}}</view></view><view class="data acea-row row-between-wrapper data-v-5d8b35cc"><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-5d8b35cc">{{item.m8+" "+item.$orig.coupon_time+" "+item.m9}}</view></block><block wx:else><block wx:if="{{item.$orig.start_use_time||item.$orig.end_use_time}}"><view class="data-v-5d8b35cc">{{''+(item.$orig.start_use_time?item.$orig.start_use_time+'-':'')+item.$orig.end_use_time+''}}</view></block><block wx:else><view class="data-v-5d8b35cc"></view></block></block><block wx:if="{{item.$orig.is_use>=item.$orig.receive_limit}}"><view class="bnt gray data-v-5d8b35cc">{{item.m10}}</view></block><block wx:else><block wx:if="{{item.$orig.is_permanent==0&&item.$orig.remain_count==0}}"><view class="bnt gray data-v-5d8b35cc">{{''+item.m11+''}}</view></block><block wx:else><view data-event-opts="{{[['tap',[['getCoupon',['$0','$1'],[[['couponsList','',index,'id']],[['couponsList','',index]]]]]]]}}" class="bnt bg-color data-v-5d8b35cc" bindtap="__e">{{item.m12}}</view></block></block></view></view></view></block></view></block><block wx:if="{{$root.g1}}"><view class="loadingicon acea-row row-center-wrapper data-v-5d8b35cc"><text class="loading iconfont icon-jiazai data-v-5d8b35cc" hidden="{{loading==false}}"></text>{{loadTitle+''}}</view></block><block wx:else><block wx:if="{{$root.g2}}"><view class="noCommodity data-v-5d8b35cc"><view class="pictrue data-v-5d8b35cc"><image src="{{imgHost+'/statics/images/noCoupon.png'}}" class="data-v-5d8b35cc"></image></view></view></block></block><authorize bind:onLoadFun="__e" bind:authColse="__e" vue-id="896697e0-1" data-event-opts="{{[['^onLoadFun',[['onLoadFun']]],['^authColse',[['authColse']]]]}}" class="data-v-5d8b35cc" bind:__l="__l"></authorize></view>