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.
40 lines
1.6 KiB
40 lines
1.6 KiB
<view class="container"> |
|
<view class="nav"> |
|
<view class="navtop"> |
|
<view wx:for="{{navTab}}" wx:key="index" data-idx="{{index}}" bindtap="currentTab" |
|
class="{{currentTab==index ? 'cur' : ''}}"><text>{{item}}</text></view> |
|
</view> |
|
</view> |
|
<view class="circle"> |
|
<view> |
|
<block wx:for="{{nouse}}" wx:key="nouse"> |
|
<view class="list"> |
|
<image src='../../../images/nouse.png' wx:if="{{item.useStatus=='0'}}"></image> |
|
<image src='../../../images/used.png' wx:elif="{{item.useStatus=='1'}}"></image> |
|
<image src='../../../images/timed.png' wx:else></image> |
|
<view class="list-content"> |
|
<view class="content-left"> |
|
<view class="big">¥<text>{{item.price}}</text></view> |
|
<view>满 {{item.money}} 可用</view> |
|
</view> |
|
<view class="content-right"> |
|
<view class="right-top"> |
|
<view wx:if="{{item.couponType=='0'}}">适用于所有活动</view> |
|
<view wx:elif="{{item.couponType=='1'}}">适用于该所有俱乐部活动</view> |
|
<view wx:else>适用于指定活动</view> |
|
<text>查看详情</text> |
|
</view> |
|
<view class="usetime">使用时间</view> |
|
<view class="time">{{item.startTime}}至{{item.endTime}}</view> |
|
<view class="status"> |
|
<text wx:if="{{status==1}}">未使用</text> |
|
<text wx:elif="{{status==2}}">已使用</text> |
|
<text wx:else>已过期</text> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
</block> |
|
</view> |
|
</view> |
|
</view> |