新增查看入场订单信息入口
This commit is contained in:
40
pages/myEnterList/index.wxml
Normal file
40
pages/myEnterList/index.wxml
Normal file
@@ -0,0 +1,40 @@
|
||||
<!--pages/myBookingsList/index.wxml-->
|
||||
<header title="篮球订单"></header>
|
||||
|
||||
<view class='container'>
|
||||
<view class='header'>
|
||||
<!-- <view class='btn-box' data-state='0' bindtap='changeTab'>-->
|
||||
<!-- <view class='item-btn {{state == 0 ? "isActive" : ""}}'>已预约</view>-->
|
||||
<!-- </view>-->
|
||||
<!-- <view class='btn-box' data-state='1' bindtap='changeTab'>-->
|
||||
<!-- <view class='item-btn {{state == 1 ? "isActive" : ""}}'>已完成</view>-->
|
||||
<!-- </view>-->
|
||||
</view>
|
||||
<view class='cell' wx:for="{{list}}" wx:key="{{index}}" bindtap='clickCell' data-id='{{item.id}}'>
|
||||
<view class='top'>
|
||||
<text>预约单号: {{item.orderSn}}</text>
|
||||
<text class='isActive' wx:if="{{item.status == 0}}">进行中</text>
|
||||
<text wx:if="{{item.status == 1}}">已完成</text>
|
||||
</view>
|
||||
<view class='bottom'>
|
||||
<image src='{{item.lessonImage}}' mode='aspectFill'></image>
|
||||
<view class='goods-box'>
|
||||
<view class='title-box'>
|
||||
<view class='title-left'>
|
||||
<text>{{item.lessonName}}</text>
|
||||
</view>
|
||||
<view class='title-right' wx:if="{{item.payType == 1}}">¥{{item.price}}</view>
|
||||
</view>
|
||||
<view class='message'>
|
||||
{{item.startTime}} ~ {{item.endTime == null ? '现在': item.endTime }}
|
||||
</view>
|
||||
<view class='message'>{{item.address}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class='newplot' wx:if="{{list.length == 0 && isShowNewplot}}">
|
||||
<image src='../../images/noContent.png'></image>
|
||||
<text>暂无预约 ~</text>
|
||||
</view>
|
||||
Reference in New Issue
Block a user