初始化代码
This commit is contained in:
1
front/mine/pages/coupon/list.wxml
Normal file
1
front/mine/pages/coupon/list.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine-coupon-list"><fixed vue-id="650cd150-1" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('650cd150-2')+','+('650cd150-1')}}" list="{{tabList}}" activeIndex="{{activeIndex}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item fill-base mg-big pd-lg radius-34"><view class="flex-between"><view class="flex-center flex-column"><view class="flex-y-baseline f-caption c-warning">¥<view class="f-lg-title">{{item.discount+''}}</view></view><view class="f-caption c-title">优惠券</view></view><view class="flex-1 ml-lg flex-between"><view class="f-title c-title mr-lg"><view class="text-bold">{{item.title}}</view><view class="f-icontext mt-sm">{{item.type==0?'满'+item.full+'元可用':'无门槛'}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="flex-y-baseline f-icontext mt-sm" catchtap="__e">查看详情<view class="{{['iconfont','ml-sm','_i',[(!item.is_show)?'icon-down':''],[(item.is_show)?'icon-up':'']]}}" style="font-size:24rpx;"></view></view></view><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="use-btn flex-center f-caption c-base radius" style="{{'background:'+(activeIndex==0?primaryColor:activeIndex==1?'#aaa':'#F1381F')+';'}}" catchtap="__e">{{''+statusType[item.status]+''}}</view></view></view><block wx:if="{{item.is_show}}"><view class="mt-lg pd-lg f-icontext c-title radius-16" style="background:#F9FAF9;"><view class="flex-warp"><view>卡券数量:</view><view class="flex-1 c-desc">{{"x"+item.num}}</view></view><view class="flex-warp mt-md"><view>使用时间:</view><view class="flex-1 c-desc">{{activeIndex==1?item.use_time:item.start_time}}</view></view><view class="flex-warp mt-md"><view>使用范围:</view><view class="flex-1 c-desc">{{item.use_range}}</view></view><view class="flex-warp mt-md"><view>使用规则:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.rule}}</text></view></view><view class="flex-warp mt-md"><view>优惠详情:</view><view class="flex-1 c-desc"><text style="word-break:break-all;" decode="emsp">{{item.text}}</text></view></view></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="650cd150-3" noMore="{{$root.g1}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="650cd150-4" type="COUPON" bind:__l="__l"></abnor></block><view class="space-footer"></view></view>
|
||||
Reference in New Issue
Block a user