task.wxml 924 B

1234567891011121314151617181920212223242526
  1. <view class="container">
  2. <!-- 时间筛选 -->
  3. <selectDate bind:getDates="getDates"></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="{{list}}" wx:key="index">
  12. <view class="task-title">{{item.title}}</view>
  13. <view class="do-time" wx:if="{{item.status != 0}}">{{item.completedTime}}</view>
  14. <view class="task-class">{{item.classesName}}</view>
  15. <view class="task-time">{{item.beginTime}} ~ {{item.endTime}}</view>
  16. <view class="task-desc">{{item.homeworkContent}}</view>
  17. <view class="do-task" bindtap="doTask" data-id="{{item.id}}">{{doName}}</view>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- end -->
  22. <view class="loading">{{loading}}</view>
  23. </view>