30 lines
1.5 KiB
Plaintext
30 lines
1.5 KiB
Plaintext
|
<view class="date">
|
||
|
<view class="date-box">
|
||
|
<view>{{projectName}}</view>
|
||
|
<view>{{week}}</view>
|
||
|
<view>{{date}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="date-container">
|
||
|
<view class="select-ground">
|
||
|
<view class="ground-name {{selectedTab == index?'active':''}}" wx:for="{{venueList}}" wx:key="index" data-idx="{{index}}" bindtap="changeTab">{{item.groundName}}</view>
|
||
|
</view>
|
||
|
<view class="time" wx:if="{{selectedGround.length>0}}">
|
||
|
<view class="date-state {{item.bookingType?'beenBooked':''}} {{item.status == 'selecting'?'selected':''}}" wx:for="{{selectedGround}}" wx:for-index="idx" wx:key="idx" data-ground="{{item.groundInfoId}}" data-start="{{item.timeStr}}" data-end="{{item.timeEnd}}" data-price="{{item.price}}" data-groundname="{{item.groundName}}" data-count="{{idx}}" data-item="{{item.groundItemId}}" bindtap="toggleSelect">
|
||
|
<view>{{item.timeStr}}-{{item.timeEnd}}</view>
|
||
|
<view wx:if="{{item.price > 0}}">{{item.price}}元</view>
|
||
|
<view wx:else>免费</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view wx:else style="font-size: 32rpx;color: #565656">暂无可预订场次</view>
|
||
|
</view>
|
||
|
<view class="pay" wx:if="{{isSelected}}">
|
||
|
<view class="pay-count">合计:¥{{allPrice}}</view>
|
||
|
<view class="submit" bindtap="submitOrder">提交订单</view>
|
||
|
</view>
|
||
|
<view class="selected-venue">
|
||
|
<view class="selected-list" wx:for="{{selectedTime}}" wx:key="index">
|
||
|
<view class="selected-time">{{item.start}}-{{item.end}}</view>
|
||
|
<view class="selected-ground">{{item.groundName}}</view>
|
||
|
</view>
|
||
|
</view>
|