init project
This commit is contained in:
44
pages/myBookingsList/index.wxml
Normal file
44
pages/myBookingsList/index.wxml
Normal file
@@ -0,0 +1,44 @@
|
||||
<!--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-ordersn='{{item.orderSn}}'>
|
||||
<view class='top'>
|
||||
<text>预约单号: {{item.orderSn}}</text>
|
||||
<text class='isActive' wx:if="{{item.status == 0}}">已预约</text>
|
||||
<text wx:if="{{item.status == 3}}">未签到</text>
|
||||
<text wx:if="{{item.status == 1}}">已完成</text>
|
||||
<text wx:if="{{item.status == 2}}">已取消</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>
|
||||
<text>({{item.lessonCount}}人)</text>
|
||||
</view>
|
||||
<view class='title-right' wx:if="{{item.payType == 1}}">¥{{item.order.price}}</view>
|
||||
</view>
|
||||
<view class='message'>
|
||||
{{item.date}} {{item.startTime}} ~ {{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