1 |
- <view class="content data-v-66437308"><u-card vue-id="6229ebec-1" title="{{classInfo.name}}" sub-title="{{classInfo.useLessonsType==1?'体验班':''}}" show-foot="{{false}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['body']}}"><view slot="body" class="data-v-66437308"><view class="class-info-text data-v-66437308"><u-icon vue-id="{{('6229ebec-2')+','+('6229ebec-1')}}" name="clock" class="data-v-66437308" bind:__l="__l"></u-icon>{{''+classInfo.classStartDate+" ~ "+classInfo.classEndDate+''}}</view><block wx:for="{{classInfo.classExtrasList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="class-info-text data-v-66437308"><u-icon style="visibility:hidden;" vue-id="{{('6229ebec-3-'+index)+','+('6229ebec-1')}}" name="calendar" class="data-v-66437308" bind:__l="__l"></u-icon><text class="data-v-66437308">{{item.week+" "+item.startTime+"-"+item.endTime}}</text></view></block><view class="class-info-text data-v-66437308"><u-icon vue-id="{{('6229ebec-4')+','+('6229ebec-1')}}" name="map" class="data-v-66437308" bind:__l="__l"></u-icon>{{''+classInfo.address+''}}</view><block wx:if="{{classInfo.state!=0}}"><view style="display:flex;justify-content:flex-end;" class="data-v-66437308"><u-button vue-id="{{('6229ebec-5')+','+('6229ebec-1')}}" type="warning" custom-style="{{({background:mainColor})}}" size="mini" shape="circle" ripple="{{true}}" data-event-opts="{{[['^click',[['handleUpdateClassClick']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}">修改</u-button><block wx:if="{{!classInfo.studentSignList.length}}"><u-button vue-id="{{('6229ebec-6')+','+('6229ebec-1')}}" type="warning" custom-style="{{({background:mainColor,marginLeft:'5px'})}}" size="mini" shape="circle" ripple="{{true}}" data-event-opts="{{[['^click',[['handleDeleteClick']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}">删除</u-button></block></view></block></view></u-card><u-card vue-id="6229ebec-7" title="{{'学员信息('+$root.m0+')'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['body']}}"><u-grid vue-id="{{('6229ebec-8')+','+('6229ebec-7')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{classInfo.studentSignList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('6229ebec-9-'+index)+','+('6229ebec-8')}}" custom-style="{{gridCustomStyle}}" data-event-opts="{{[['^click',[['goToStudentInfo',['$0'],[[['classInfo.studentSignList','',index]]]]]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['class-student-col','data-v-66437308',item.state?'student-active':'']}}">{{''+item.name+''}}<u-icon vue-id="{{('6229ebec-10-'+index)+','+('6229ebec-9-'+index)}}" name="bookmark" color="{{mainColor}}" size="48" class="data-v-66437308" bind:__l="__l"></u-icon></view></u-grid-item></block></u-grid></u-card><u-card vue-id="6229ebec-11" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" show-head="{{false}}" data-event-opts="{{[['^click',[['handleScanClick']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['body']}}"><view style="display:flex;justify-content:space-between;" slot="body" class="data-v-66437308"><view style="font-size:32rpx;font-weight:bold;color:#000000;" class="data-v-66437308">扫码</view><u-icon vue-id="{{('6229ebec-12')+','+('6229ebec-11')}}" name="scan" size="32" class="data-v-66437308" bind:__l="__l"></u-icon></view></u-card><u-card vue-id="6229ebec-13" title="{{'事假('+$root.m1+')'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{classInfo.studentLeaveRecordList.length}}"><u-grid vue-id="{{('6229ebec-14')+','+('6229ebec-13')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{classInfo.studentLeaveRecordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('6229ebec-15-'+index)+','+('6229ebec-14')}}" custom-style="{{gridCustomStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['handleleaveClick',['$0'],[[['classInfo.studentLeaveRecordList','',index]]]]]]]}}" class="class-student-col data-v-66437308" bindtap="__e">{{''+item.name+''}}<u-icon vue-id="{{('6229ebec-16-'+index)+','+('6229ebec-15-'+index)}}" name="{{item.agreeType==1?'bookmark-fill':'bookmark'}}" color="{{mainColor}}" size="48" class="data-v-66437308" bind:__l="__l"></u-icon></view></u-grid-item></block></u-grid></block></u-card><u-card vue-id="6229ebec-17" title="{{'病假结束确认('+$root.m2+')'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{classInfo.studentLeaveList.length}}"><u-grid vue-id="{{('6229ebec-18')+','+('6229ebec-17')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{classInfo.studentLeaveList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('6229ebec-19-'+index)+','+('6229ebec-18')}}" custom-style="{{gridCustomStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['handleOtherClick',['$0'],[[['classInfo.studentLeaveList','',index]]]]]]]}}" class="class-student-col data-v-66437308" bindtap="__e">{{''+item.name+''}}<u-icon vue-id="{{('6229ebec-20-'+index)+','+('6229ebec-19-'+index)}}" name="{{item.agreeType==1?'bookmark-fill':'bookmark'}}" color="{{mainColor}}" size="48" class="data-v-66437308" bind:__l="__l"></u-icon></view></u-grid-item></block></u-grid></block></u-card><u-card vue-id="6229ebec-21" title="{{'续费卡('+$root.m3+')'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{classInfo.studentRenewList.length}}"><u-grid vue-id="{{('6229ebec-22')+','+('6229ebec-21')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{classInfo.studentRenewList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('6229ebec-23-'+index)+','+('6229ebec-22')}}" custom-style="{{gridCustomStyle}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['handleVtCardClick',['$0'],[[['classInfo.studentRenewList','',index]]]]]]]}}" class="{{['class-student-col','data-v-66437308',item.state?'student-active':'']}}" bindtap="__e">{{''+item.name+''}}<u-icon vue-id="{{('6229ebec-24-'+index)+','+('6229ebec-23-'+index)}}" name="bookmark" color="{{mainColor}}" size="48" class="data-v-66437308" bind:__l="__l"></u-icon></view></u-grid-item></block></u-grid></block></u-card><u-card vue-id="6229ebec-25" title="班级近况" sub-title="{{imgEdit?'完成':'管理'}}" sub-title-color="{{imgEdit?'#19be6b':'#909399'}}" show-foot="{{false}}" title-size="32" margin="0px" head-style="{{cardStyle}}" data-event-opts="{{[['^subClick',[['e0']]]]}}" bind:subClick="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['body']}}"><view class="class-show-box data-v-66437308" slot="body"><block wx:for="{{classShowList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="class-show-card data-v-66437308"><block wx:if="{{item.type==0}}"><u-image vue-id="{{('6229ebec-26-'+index)+','+('6229ebec-25')}}" src="{{item.url}}" mode="aspectFill" height="30vw" border-radius="10px" class="data-v-66437308" bind:__l="__l"></u-image></block><block wx:if="{{item.type==1}}"><view class="video-col data-v-66437308"><video src="{{item.url}}" object-fit="cover" controls="{{true}}" id="{{'video'+index}}" class="data-v-66437308"></video></view></block><view class="class-show-name data-v-66437308">{{item.name}}</view><block wx:if="{{imgEdit}}"><u-icon class="delete-icon data-v-66437308" vue-id="{{('6229ebec-27-'+index)+','+('6229ebec-25')}}" name="close-circle-fill" color="#fa3534" size="48" data-event-opts="{{[['^click',[['deleteClassShow',['$0'],[[['classShowList','',index]]]]]]]}}" bind:click="__e" bind:__l="__l"></u-icon></block></view></block><block wx:if="{{imgEdit}}"><view class="class-show-card data-v-66437308" style="width:calc(100% - 16px);text-align:center;"><u-icon vue-id="{{('6229ebec-28')+','+('6229ebec-25')}}" name="plus-circle-fill" size="100" color="{{mainColor}}" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l"></u-icon></view></block></view></u-card><view class="handle-fix-box data-v-66437308"><u-button vue-id="6229ebec-29" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['goToSignForm']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}">立即签到</u-button></view><u-action-sheet vue-id="6229ebec-30" list="{{uploadTypeList}}" value="{{uploadTypeShow}}" data-event-opts="{{[['^click',[['selectUploadType']]],['^input',[['__set_model',['','uploadTypeShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-66437308" bind:__l="__l"></u-action-sheet><u-popup bind:input="__e" vue-id="6229ebec-31" mode="center" border-radius="30" width="600rpx" value="{{leaveShow}}" data-event-opts="{{[['^input',[['__set_model',['','leaveShow','$event',[]]]]]]}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-title data-v-66437308">事假</view><view class="menber-box data-v-66437308"><u-form vue-id="{{('6229ebec-32')+','+('6229ebec-31')}}" model="{{leaveForm}}" label-width="140" data-ref="leaveFormRef" class="data-v-66437308 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('6229ebec-33')+','+('6229ebec-32')}}" label="请假时间" prop="time" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('6229ebec-34')+','+('6229ebec-33')}}" disabled="{{true}}" type="text" value="{{leaveForm.time}}" data-event-opts="{{[['^input',[['__set_model',['$0','time','$event',[]],['leaveForm']]]]]}}" class="data-v-66437308" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('6229ebec-35')+','+('6229ebec-32')}}" label="请假理由" prop="leaveReason" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('6229ebec-36')+','+('6229ebec-35')}}" disabled="{{true}}" type="text" value="{{leaveForm.leaveReason}}" data-event-opts="{{[['^input',[['__set_model',['$0','leaveReason','$event',[]],['leaveForm']]]]]}}" class="data-v-66437308" bind:__l="__l"></u-input></u-form-item></u-form><view style="height:20px;" class="data-v-66437308"></view><u-button vue-id="{{('6229ebec-37')+','+('6229ebec-31')}}" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['handleAgreeClick']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}">同意</u-button></view></u-popup><u-modal vue-id="6229ebec-38" content="提示" show-cancel-button="{{true}}" value="{{leaveOtherShow}}" data-event-opts="{{[['^confirm',[['handleEndClick']]],['^input',[['__set_model',['','leaveOtherShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view style="text-align:center;margin:10px 0;" class="data-v-66437308">{{'是否确认'+studentName+'的病假结束?'}}</view></u-modal><u-popup bind:input="__e" vue-id="6229ebec-39" mode="center" border-radius="30" width="600rpx" value="{{vtCardShow}}" data-event-opts="{{[['^input',[['__set_model',['','vtCardShow','$event',[]]]]]]}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-title data-v-66437308">续费卡</view><view class="menber-box data-v-66437308"><u-radio-group bind:change="__e" bind:input="__e" vue-id="{{('6229ebec-40')+','+('6229ebec-39')}}" value="{{vtCardValue}}" data-event-opts="{{[['^change',[['handleRadioChange']]],['^input',[['__set_model',['','vtCardValue','$event',[]]]]]]}}" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{vtCardList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-radio class="menber-col data-v-66437308" vue-id="{{('6229ebec-41-'+index)+','+('6229ebec-40')}}" name="{{item.cardName}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="menber-label data-v-66437308">{{"卡名:"+item.cardName}}</view></u-radio></block></u-radio-group><view style="height:20px;" class="data-v-66437308"></view><u-button vue-id="{{('6229ebec-42')+','+('6229ebec-39')}}" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['handleAffirmClick']]]]}}" bind:click="__e" class="data-v-66437308" bind:__l="__l" vue-slots="{{['default']}}">确认</u-button></view></u-popup><u-top-tips vue-id="6229ebec-43" data-ref="uTips" class="data-v-66437308 vue-ref" bind:__l="__l"></u-top-tips></view>
|