classList.wxml 681 B

12345678910111213141516
  1. <view class="class-container">
  2. <view class="class-view">
  3. <view class="class-date">2021-02-22 星期一</view>
  4. <view class="class-list">
  5. <view class="class-box" wx:for="{{3}}" wx:key="index">
  6. <view class="class-name"><text class="class-type">1v1</text>小鹏钢琴课</view>
  7. <view class="class-time">09:00 ~ 11:00</view>
  8. <view class="class-room">钢琴教室01</view>
  9. <view class="class-flag">已上课</view>
  10. <view class="class-teacher">张老师</view>
  11. <view wx:if="{{showLeaveNum}}" class="last-leave-num" bindtap="getLeaveNumList">本课程请假余额 6 次</view>
  12. </view>
  13. </view>
  14. </view>
  15. </view>