first commit
This commit is contained in:
48
衣莎项目/源码/YiShaXiYi/user/couponList/couponList.wxml
Normal file
48
衣莎项目/源码/YiShaXiYi/user/couponList/couponList.wxml
Normal file
@@ -0,0 +1,48 @@
|
||||
<!-- 头部 -->
|
||||
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
||||
<!-- user/couponList/couponList.wxml -->
|
||||
<view class="couponList">
|
||||
<view class="order_tab" style="top:{{system.statusHeight+system.titleHeight+'px'}}">
|
||||
<i-tabs current="{{ current }}" color="#1dbf45" bindchange="handleChange">
|
||||
<i-tab key="1" title="未使用"></i-tab>
|
||||
<i-tab key="2" title="已使用"></i-tab>
|
||||
<i-tab key="3" title="已过期"></i-tab>
|
||||
</i-tabs>
|
||||
</view>
|
||||
<view class="coupon_con">
|
||||
<view class="coupon" wx:if="{{couponList.length > 0}}">
|
||||
<view wx:for="{{couponList}}" wx:key="{{index}}" class="coupon_list mt30 {{ item.status != 1 ? 'coupon_list2' : '' }}" bind:tap="goUrl">
|
||||
<view class="coupon_list_l">
|
||||
<view>
|
||||
¥
|
||||
<span>{{item.coupon_price}}</span>
|
||||
</view>
|
||||
</view>
|
||||
<view class="coupon_list_r">
|
||||
<view>
|
||||
<view class="coupon_list_r_top">
|
||||
{{item.coupon_title}}
|
||||
<!-- <span class="ml40">即将过期</span> -->
|
||||
</view>
|
||||
<view class="coupon_list_r_p mt10">满{{item.use_min_price}}元可用</view>
|
||||
<view class="coupon_list_r_p">有效期至:{{item.end_time}}</view>
|
||||
<view class="coupon_list_r_p mt10">{{item.des}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.status == 2}}" class="gqimg">
|
||||
<image src="/static/img/yhjysy.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="empty flex-con3" wx:elif="{{ couponList.length <= 0 }}">
|
||||
<view>
|
||||
<image class="empty_img" src="/static/img/icon/yhjk.png" />
|
||||
<view>还没有优惠券哦</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 加载动画 -->
|
||||
<loading-prog isLoading="{{isLoading}}"></loading-prog>
|
||||
<!-- toasta提示 -->
|
||||
<i-toast id="toast" />
|
||||
Reference in New Issue
Block a user