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.
 

38 lines
1.5 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="{{status==1}}"></image>
<image src='../../../images/used.png' wx:elif="{{status==2}}"></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">
适用于所有俱乐部活动<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 class="bottom" bindtap="toaddCoupon">添加现金券</view>
</view>