1234567891011121314151617181920212223242526272829 |
- <view class="container">
- <!-- 时间筛选 -->
- <selectDate bind:getDates="getDates" beginDate="{{beginDate}}" endDate="{{endDate}}" typeFlag="{{true}}" toTop="{{-440}}" bind:changeType="changeType"></selectDate>
- <!-- end -->
-
- <view class="piano-list">
- <view class="piano-box" wx:for="{{list}}" wx:key="index">
- <view class="piano-detail">
- <view class="piano-title">{{item.pianoName}}</view>
- <view class="addr">{{item.orgName}}</view>
- <view class="piano-time">{{item.visitDate}} {{item.beginTime}} ~ {{item.endTime}}</view>
- </view>
- <view>
- <view class="piano-date">
- {{item.createdDate}}
- </view>
- <view class="class-status" wx:if="{{item.attend == 0}}">已预约</view>
- <view class="class-status" wx:if="{{item.attend == 1}}">已点名</view>
- <view class="class-status" wx:if="{{item.attend == 2}}">已缺勤</view>
- <view class="class-status" wx:if="{{item.attend == 3}}">已取消</view>
- <view class="class-btn" bindtap="doCancel" data-id="{{item.id}}" wx:if="{{item.cancelFlag && item.type == '1'}}">取消预约</view>
- <view class="class-btn cancelList" bindtap="doCancelQueue" data-id="{{item.id}}" wx:if="{{item.type == '2'}}">取消排队</view>
- </view>
- </view>
- </view>
- <view class="getPiano" bindtap="getPiano">去预约</view>
- <view class="loading">{{loading}}</view>
- </view>
|