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.9 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 wx:if="{{orderlist.length>0}}">
<block wx:for="{{orderlist}}" wx:key="orderlist">
<view class="list" bindtap="todetail" data-id="{{item.orderSerial}}">
<view class='list-top'>
编号:{{item.orderSerial}}
<text class="red" wx:if='{{item.orderStatus==0}}'>待支付</text>
<text class="green" wx:elif='{{item.orderStatus==1}}'>支付成功</text>
<text class="yellow" wx:elif='{{item.orderStatus==2}}'>超时未支付</text>
<text class="red" wx:elif='{{item.orderStatus==3}}'>订单已取消</text>
<text class="yellow" wx:elif='{{item.orderStatus==4}}'>等待审核</text>
<text class="red" wx:else>审核未通过</text>
</view>
<view class="list-content">
<view class="list-left">
<image src="{{item.activityLogo?item.activityLogo:logo}}" mode='aspectFill'></image>
</view>
<view class="list-right">
<view class="list-name">{{item.activityName}}</view>
<view class="list-time">开始:{{item.startTime}} <view></view> 结束:{{item.endTime}}</view>
<view class="list-people">{{item.createdTime}}<text class="orangeO1">¥{{item.cost}}</text></view>
</view>
</view>
</view>
</block>
<view class="readmore" bindtap="getmore" hidden="{{more}}">查看更多</view>
<view class="readmore" hidden="{{nomore}}">到底啦~</view>
</view>
<view wx:else class="nodata">暂时没有该类型的订单哦</view>
</view>
</view>