12345678910111213141516171819202122232425262728293031 |
- <view class="container">
- <!-- 日历组件 -->
- <view class="calendar">
- <calendar spot="{{eventList}}" bind:change="callSelectDate"></calendar>
- </view>
- <!-- end -->
- <!-- 课表列表 -->
- <view class="class-view">
- <view class="class-date">{{date}} {{week}}</view>
- <view class="class-list">
- <view class="class-box" wx:for="{{dateList}}" wx:key="index">
- <view class="class-name"><text class="class-type">{{item.kindId == 1 ? '1v1':'集体'}}</text>{{item.classesName}}</view>
- <view class="class-time">{{item.bt}} ~ {{item.et}}</view>
- <view class="class-room">{{item.roomName}}</view>
- <view class="class-flag">
- <span wx:if="{{item.status == 0 || item.status == 11 || item.status == 12 || item.status == 4}}">{{item.isAttend == 1 ?'已' : '待'}}上课</span>
- <span wx:if="{{item.status == 2}}">已请假</span>
- <span wx:if="{{item.status == 3}}">已调出</span>
- <span wx:if="{{item.status == 11 || item.status == 12}}">加课</span>
- <span wx:if="{{item.status == 5}}">补课</span>
- </view>
- <view class="class-teacher">老师:{{item.teacherName}}</view>
- </view>
- </view>
- </view>
- <!-- end -->
- </view>
|