piano.wxml 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <view class="container">
  2. <!-- 时间筛选 -->
  3. <view>
  4. <selectDate bind:getDates="getDates" title="{{'历史课程'}}" beginDate="{{beginDate}}" endDate="{{endDate}}"
  5. typeFlag="{{true}}" toTop="{{-440}}" bind:changeType="changeType"> </selectDate>
  6. </view>
  7. <!-- end -->
  8. <view class="piano-list">
  9. <!-- <view class="piano-box" wx:for="{{list}}" wx:key="index">
  10. <view class="piano-detail">
  11. <view class="piano-title">{{item.pianoName}}</view>
  12. <view class="addr">{{item.orgName}}</view>
  13. <view class="piano-time">{{item.visitDate}} {{item.beginTime}} ~ {{item.endTime}}</view>
  14. </view>
  15. <view>
  16. <view class="piano-date">
  17. {{item.createdDate}}
  18. </view>
  19. <view class="class-status" wx:if="{{item.attend == 0 && item.type != '2'}}">已预约</view>
  20. <view class="class-status" wx:if="{{item.attend == 0 && item.type == '2'}}">排队中</view>
  21. <view class="class-status" wx:if="{{item.attend == 1}}">已点名</view>
  22. <view class="class-status" wx:if="{{item.attend == 2}}">已缺勤</view>
  23. <view class="class-status" wx:if="{{item.attend == 3}}">已取消</view>
  24. <view class="class-btn" bindtap="doCancel" data-id="{{item.id}}"
  25. wx:if="{{item.cancelFlag && item.type == '1'}}">取消预约</view>
  26. <view class="class-btn cancelList" bindtap="doCancelQueue" data-id="{{item.id}}" wx:if="{{item.type == '2'}}">
  27. 取消排队</view>
  28. </view>
  29. </view> -->
  30. <view class="piano-box2" wx:for="{{list}}" wx:key="index">
  31. <view class="piano-org">
  32. <view class="piano-title">{{item.orgName}}</view>
  33. <view class="class-btn" bindtap="doCancel" data-id="{{item.id}}"
  34. wx:if="{{item.cancelFlag && item.type == '1'}}">取消预约</view>
  35. <view class="class-btn cancelList" bindtap="doCancelQueue" data-id="{{item.id}}" wx:elif="{{item.type == '2'}}">
  36. 取消排队</view>
  37. <view class="class-status" wx:elif="{{item.attend == 0 && item.type != '2'}}">已预约</view>
  38. <view class="class-status" wx:elif="{{item.attend == 0 && item.type == '2'}}">排队中</view>
  39. <view class="class-status" wx:elif="{{item.attend == 1}}">已点名</view>
  40. <view class="class-status" wx:elif="{{item.attend == 2}}">已缺勤</view>
  41. <view class="class-status" wx:elif="{{item.attend == 3}}">已取消</view>
  42. </view>
  43. <view class="piano-other">
  44. <view>
  45. <view class="other-title">练琴日期</view>
  46. <view class="other-detail">{{item.visitDate}}</view>
  47. </view>
  48. <view>
  49. <view class="other-title">练琴时段</view>
  50. <view class="other-detail">{{item.beginTime}} ~ {{item.endTime}}</view>
  51. </view>
  52. <view>
  53. <view class="other-title">座位号</view>
  54. <view class="other-detail">{{item.pianoName}}</view>
  55. </view>
  56. </view>
  57. <view class="piano-tip">请提前10分钟,到校人脸签到</view>
  58. </view>
  59. </view>
  60. <view class="getPiano" bindtap="getPiano">去预约</view>
  61. <view class="loading">{{loading}}</view>
  62. <view class="rule-view" bindtap="ruleShow">规则</view>
  63. <view class="rule-bg" bindtap="ruleShow" wx:if="{{ruleShow}}"></view>
  64. <view class="rule-box" wx:if="{{ruleShow}}">
  65. <view class="rule-title">练琴规则</view>
  66. <view>
  67. 1.约课:可约7天内的课程,约课时间在练琴卡有效期内即可;每人单次最多可约2次,每次30分钟;消课后立即释放约课次数,可再次预约;
  68. </view>
  69. <view>
  70. 2.排队:当课程名额已满,可选择排队。若预约成功的人取消课程,我么将会根据排队先后顺序通知上课
  71. </view>
  72. <view>
  73. 3.签到:预约成功后,课程开始前15分钟可开始签到,签到完成后注意查看“我的课程”显示已签到状态,避免因网络问题或其他系统问题造成的签到未成功
  74. </view>
  75. <view>
  76. 4.取消预约:成功预约的课程可在课程开始前60分钟前免责取消,开课60分钟内无法取消
  77. </view>
  78. <!-- <view>
  79. 5.旷课:如旷课(包含未出席,未签到)1次,所约课程结束时间开始计算,72小时内只能预约一次课,如旷课2次,所约课程结束时间开始计算,72小时内无法预约
  80. </view> -->
  81. <view>
  82. 5.旷课惩罚:如遇旷课(包含未出席,未签到)1次,从所约时间段结束时间开始计算,48小时内最多只能再预约1次。如旷课2次,从所约时间段结束时间开始计算,72小时内则无法进行预约。
  83. </view>
  84. <view>
  85. 6.迟到:课程迟到5分钟不允许进入教室,特殊情况需要和老师说明情况,根据实际情况安排;课程迟到15分钟,不允许进入课堂
  86. </view>
  87. <view>
  88. 7.其他:课程不允许占位,未预约的学员请勿进入教室;课程结束后请整理好自己的随身物品离开教室;连续上两节课的学员可一次性签到
  89. </view>
  90. <view class="close-rule" bindtap="ruleShow" wx:if="{{ruleShow}}">X</view>
  91. </view>
  92. <tabbar curIndex="1"></tabbar>
  93. </view>