12345678910111213141516171819202122232425262728 |
- <view class="container">
- <!-- 时间筛选 -->
- <selectDate></selectDate>
- <!-- end -->
-
- <!-- 顶部切换标题 -->
- <view class="switch-view">
- <view class="switch-title {{curIndex == index ? 'curTitle' : ''}}" wx:for="{{switchTitle}}" data-index="{{index}}" wx:key="index" bindtap="getSwitch">{{item}}</view>
- </view>
- <!-- end -->
- <!-- 作业列表 -->
- <view class="task-view">
- <view class="task-list">
- <view class="task-box" wx:for="{{3}}" wx:key="index">
- <view class="task-title">2021-02-21 课后作业</view>
- <view class="do-time" wx:if="{{curIndex == 1}}">2021-02-22</view>
- <view class="task-class">小鹏钢琴课</view>
- <view class="task-time">09:00 ~ 11:00</view>
- <view class="task-desc">测试数据测试数据测试数据测试数据测试数据</view>
- <view class="do-task">{{doName}}</view>
- </view>
- </view>
- </view>
- <!-- end -->
- </view>
|