task.wxml 832 B

1234567891011121314151617181920212223242526
  1. <view class="container">
  2. <!-- 时间筛选 -->
  3. <selectDate></selectDate>
  4. <!-- end -->
  5. <!-- 顶部切换标题 -->
  6. <switchTab arr="{{switchTitle}}" bind:changeIndex="changeIndex"></switchTab>
  7. <!-- end -->
  8. <!-- 作业列表 -->
  9. <view class="task-view">
  10. <view class="task-list">
  11. <view class="task-box" wx:for="{{3}}" wx:key="index">
  12. <view class="task-title">2021-02-21 课后作业</view>
  13. <view class="do-time" wx:if="{{curIndex == 1}}">2021-02-22</view>
  14. <view class="task-class">小鹏钢琴课</view>
  15. <view class="task-time">09:00 ~ 11:00</view>
  16. <view class="task-desc">测试数据测试数据测试数据测试数据测试数据</view>
  17. <view class="do-task" bindtap="doTask">{{doName}}</view>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- end -->
  22. </view>