makePiano.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <view class="container">
  2. <!-- 筛选按钮 -->
  3. <view class="select-view" bindtap="showSelect">筛选</view>
  4. <view class="select-box" animation="{{animationBox}}">
  5. <view class="change-time">
  6. <view class="select-title">选择时间段:</view>
  7. <view class="select-date-view">
  8. <view class="section">
  9. <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  10. <view class="picker">
  11. {{array[index]}}
  12. </view>
  13. </picker>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="search-btn-view">
  18. <view class="search-btn" bindtap="selectTime">确定</view>
  19. <view class="reset-btn" bindtap="resetTime">重置</view>
  20. </view>
  21. </view>
  22. <view class="select-box-bg" bindtap="showSelect" animation="{{animationBg}}" wx:if="{{yFlag == true}}"></view>
  23. <view class="height-view"></view>
  24. <!-- end -->
  25. <!-- 日期选择 -->
  26. <view class="week-view">
  27. <view class="week-list">
  28. <view class="week-box {{curIndex == index ? 'cur-week' : ''}}" wx:for="{{weekList}}" wx:key="index"
  29. data-index="{{index}}" bindtap="getWeek">
  30. <view class="weekDay">{{ item.week}}</view>
  31. <view class="weekDate">{{ item.date}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <!-- end -->
  36. <!-- 校区列表 -->
  37. <view class="school-view">
  38. <view class="school-list">
  39. <view class="school-box" wx:for="{{schoolList}}" wx:key="index">
  40. <view class="school-title">
  41. <view class="school-name">{{ item.name}}</view>
  42. <view class="school-dis">
  43. <view class="disImg">
  44. <image src="/images/local.png"></image>
  45. </view>
  46. <view class="disNum">{{ item.dist}}</view>
  47. </view>
  48. </view>
  49. <view class="school-addr">
  50. <view class="address">{{ item.address}}</view>
  51. <view class="showMore {{schoolIndex == index ? 'curSchool' : ''}}" bindtap="selectSchool" data-id="{{ item.id}}" data-index="{{index}}">
  52. <image class="" src="/images/showMore.png"></image>
  53. </view>
  54. </view>
  55. <view class="school-tel">
  56. <view class="telNum">{{ item.telephone}}</view>
  57. <view class="getTel" bindtap="collectSchool" data-id="{{ item.id}}" >
  58. <image src="{{ item.collect == 1? '/images/cur-getTel.png' : '/images/getTel.png'}}"></image>
  59. </view>
  60. </view>
  61. <view class="school-class-list" wx:if="{{schoolIndex == index}}">
  62. <view class="class-none" wx:if="{{(! item.items) || item.items.length == 0}}">该时间段未排课</view>
  63. <view class="class-list" wx:for="{{ item.items}}" wx:key="cIndex" wx:for-index="cItem">
  64. <view class="class-box">
  65. <view class="class-time">
  66. {{ item.time}}
  67. </view>
  68. <view class="class-get-view">
  69. <view class="class-stu-num">
  70. {{ item.hasVisitNum}}/{{ item.maxNum}}
  71. </view>
  72. <view class="class-get-btn" bindtap="doAppointment" data-id="{{item.id}}">
  73. {{ item.hasVisitNum < item.maxNum ? '预约' : '已约满'}}
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- end -->
  83. <view class="loading">{{loading}}</view>
  84. </view>