classDetail.wxml 4.6 KB

1
  1. <view class="content data-v-5cff56bf"><u-card vue-id="6229ebec-1" title="{{classInfo.name}}" show-foot="{{false}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-5cff56bf" bind:__l="__l" vue-slots="{{['body']}}"><view slot="body" class="data-v-5cff56bf"><view class="class-info-text data-v-5cff56bf"><u-icon vue-id="{{('6229ebec-2')+','+('6229ebec-1')}}" name="clock" class="data-v-5cff56bf" 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-5cff56bf"><u-icon style="visibility:hidden;" vue-id="{{('6229ebec-3-'+index)+','+('6229ebec-1')}}" name="calendar" class="data-v-5cff56bf" bind:__l="__l"></u-icon><text class="data-v-5cff56bf">{{item.week+" "+item.startTime+"-"+item.endTime}}</text></view></block><view class="class-info-text data-v-5cff56bf"><u-icon vue-id="{{('6229ebec-4')+','+('6229ebec-1')}}" name="map" class="data-v-5cff56bf" bind:__l="__l"></u-icon>{{''+classInfo.address+''}}</view></view></u-card><u-card vue-id="6229ebec-5" title="{{'学员信息('+$root.m0+')'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-5cff56bf" bind:__l="__l" vue-slots="{{['body']}}"><u-grid vue-id="{{('6229ebec-6')+','+('6229ebec-5')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-5cff56bf" 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-7-'+index)+','+('6229ebec-6')}}" custom-style="{{gridCustomStyle}}" data-event-opts="{{[['^click',[['goToStudentInfo',['$0'],[[['classInfo.studentSignList','',index]]]]]]]}}" bind:click="__e" class="data-v-5cff56bf" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['class-student-col data-v-5cff56bf',item.state?'student-active':'']}}">{{''+item.name+''}}<u-icon vue-id="{{('6229ebec-8-'+index)+','+('6229ebec-7-'+index)}}" name="bookmark" color="{{mainColor}}" size="48" class="data-v-5cff56bf" bind:__l="__l"></u-icon></view></u-grid-item></block></u-grid></u-card><u-card vue-id="6229ebec-9" 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-5cff56bf" bind:__l="__l" vue-slots="{{['body']}}"><view class="class-show-box data-v-5cff56bf" slot="body"><block wx:for="{{classShowList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="class-show-card data-v-5cff56bf"><block wx:if="{{item.type==0}}"><u-image vue-id="{{('6229ebec-10-'+index)+','+('6229ebec-9')}}" src="{{item.url}}" mode="aspectFill" height="30vw" border-radius="10px" class="data-v-5cff56bf" bind:__l="__l"></u-image></block><block wx:if="{{item.type==1}}"><view class="video-col data-v-5cff56bf"><video src="{{item.url}}" object-fit="cover" controls="{{true}}" id="{{'video'+index}}" class="data-v-5cff56bf"></video></view></block><view class="class-show-name data-v-5cff56bf">{{item.name}}</view><block wx:if="{{imgEdit}}"><u-icon class="delete-icon data-v-5cff56bf" vue-id="{{('6229ebec-11-'+index)+','+('6229ebec-9')}}" 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-5cff56bf" style="width:calc(100% - 16px);text-align:center;"><u-icon vue-id="{{('6229ebec-12')+','+('6229ebec-9')}}" name="plus-circle-fill" size="100" color="{{mainColor}}" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" class="data-v-5cff56bf" bind:__l="__l"></u-icon></view></block></view></u-card><view class="handle-fix-box data-v-5cff56bf"><u-button vue-id="6229ebec-13" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['goToSignForm']]]]}}" bind:click="__e" class="data-v-5cff56bf" bind:__l="__l" vue-slots="{{['default']}}">立即签到</u-button></view><u-action-sheet vue-id="6229ebec-14" list="{{uploadTypeList}}" value="{{uploadTypeShow}}" data-event-opts="{{[['^click',[['selectUploadType']]],['^input',[['__set_model',['','uploadTypeShow','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-5cff56bf" bind:__l="__l"></u-action-sheet><u-top-tips vue-id="6229ebec-15" data-ref="uTips" class="data-v-5cff56bf vue-ref" bind:__l="__l"></u-top-tips></view>