12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <view class="class-container">
- <!-- <view class="class-view">
- <view class="class-date">2021-02-22 星期一</view>
- <view class="class-list">
- <radio-group bindchange="radioChange">
- <view class="class-box" wx:for="{{3}}" wx:key="index">
- <view class="class-name" style="{{!showTime ? 'width: 700rpx;' : ''}}"><text
- class="class-type">1v1</text>小鹏钢琴课</view>
- <view class="class-time" wx:if="{{showTime}}">09:00 ~ 11:00</view>
- <view class="get-box" wx:if="{{showRadio}}">
- <radio value="{{index}}" checked="" color="#cc6031" />
- </view>
- <view class="class-detail-box">
- <view class="class-room">钢琴教室01</view>
- <view class="class-teacher">张老师</view>
- </view>
- <view class="class-flag" wx:if="{{showFlag}}">已上课</view>
- <view class="class-btn-box" wx:if="{{showBtn}}">
- <view class="add-btn class-btn" bindtap="toPages" data-url="/pages/targetList/targetList">申请加课</view>
- </view>
- <view wx:if="{{showLeaveNum}}" class="last-leave-num" bindtap="getLeaveNumList">本课程请假余额 6 次</view>
- </view>
- </radio-group>
- </view>
- </view> -->
- <view class="class-view">
- <view class="class-date">{{date}} {{week}}</view>
- <view class="class-list">
- <radio-group bindchange="radioChange">
- <view class="class-box" wx:for="{{list}}" wx:key="index">
- <view class="class-name" style="{{!showTime ? 'width: 700rpx;' : ''}}"><text
- class="class-type">{{item.kindId == 1 ? '1v1':'集体'}}</text>{{item.classesName}}
- </view>
- <view class="class-time" wx:if="{{showTime}}">{{item.bt}} ~ {{item.et}}</view>
- <view class="get-box" wx:if="{{showRadio}}">
- <radio value="{{index}}" checked="" color="#cc6031" />
- </view>
- <view class="class-detail-box">
- <view class="class-room">{{item.roomName}}</view>
- <view class="class-teacher">老师:{{item.teacherName}}</view>
- </view>
- <view class="class-flag" wx:if="{{showFlag}}">
- <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-btn-box" wx:if="{{showBtn}}">
- <view class="add-btn class-btn" bindtap="toPages" data-url="/pages/targetList/targetList">申请加课</view>
- </view>
- <view wx:if="{{showLeaveNum}}" class="last-leave-num" bindtap="getLeaveNumList">本课程请假余额 6 次</view>
- </view>
- </radio-group>
- </view>
- </view>
- </view>
|