signForm.wxml 3.0 KB

1
  1. <view class="content data-v-1c4dea48"><u-card vue-id="152495b0-1" title="{{'总数('+studentList.length+')人'}}" title-size="32" margin="0px 0px 10px 0px" head-style="{{cardStyle}}" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['body']}}"><u-grid vue-id="{{('152495b0-2')+','+('152495b0-1')}}" slot="body" col="{{3}}" border="{{false}}" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{studentList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item vue-id="{{('152495b0-3-'+index)+','+('152495b0-2')}}" custom-style="{{gridCustomStyle}}" data-event-opts="{{[['tap',[['setSignCheck',['$0'],[[['studentList','',index]]]]]]]}}" catchtap="__e" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['default']}}"><view class="avatar-box data-v-1c4dea48"><block wx:if="{{item.hasHead==1}}"><u-avatar vue-id="{{('152495b0-4-'+index)+','+('152495b0-3-'+index)}}" src="{{item.url}}" mode="circle" size="160" class="data-v-1c4dea48" bind:__l="__l"></u-avatar></block><block wx:else><u-upload vue-id="{{('152495b0-5-'+index)+','+('152495b0-3-'+index)}}" custom-btn="{{true}}" max-count="{{1}}" index="{{index}}" multiple="{{false}}" show-progress="{{false}}" preview-full-image="{{false}}" action="{{uploadUrl}}" header="{{uploadHeader}}" data-event-opts="{{[['^onSuccess',[['uploadSuccess']]],['^onError',[['uploadError']]],['^onRemove',[['uploadRemove']]],['^onPreviewError',[['uploadPreview']]]]}}" bind:onSuccess="__e" bind:onError="__e" bind:onRemove="__e" bind:onPreviewError="__e" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['addBtn']}}"><view class="slot-btn data-v-1c4dea48" slot="addBtn"><u-icon vue-id="{{('152495b0-6-'+index)+','+('152495b0-5-'+index)}}" name="camera-fill" size="60" color="#999999" class="data-v-1c4dea48" bind:__l="__l"></u-icon></view></u-upload></block><block wx:if="{{item.state==1||item.checked}}"><u-icon class="check-icon data-v-1c4dea48" vue-id="{{('152495b0-7-'+index)+','+('152495b0-3-'+index)}}" name="checkmark-circle-fill" bind:__l="__l"></u-icon></block><view class="grid-text data-v-1c4dea48">{{item.name}}</view></view></u-grid-item></block><u-grid-item vue-id="{{('152495b0-8')+','+('152495b0-2')}}" custom-style="{{gridCustomStyle}}" data-event-opts="{{[['^click',[['goToSelectStudent']]]]}}" bind:click="__e" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['default']}}"><view class="slot-btn data-v-1c4dea48"><u-icon vue-id="{{('152495b0-9')+','+('152495b0-8')}}" name="plus" size="60" color="#999999" class="data-v-1c4dea48" bind:__l="__l"></u-icon></view></u-grid-item></u-grid></u-card><view class="handle-fix-box data-v-1c4dea48"><u-button vue-id="152495b0-10" type="warning" shape="circle" ripple="{{true}}" custom-style="{{customStyle}}" data-event-opts="{{[['^click',[['submitForm']]]]}}" bind:click="__e" class="data-v-1c4dea48" bind:__l="__l" vue-slots="{{['default']}}">{{''+(status==0?'签到确认':'今日已签到')+''}}</u-button></view><u-top-tips vue-id="152495b0-11" data-ref="uTips" class="data-v-1c4dea48 vue-ref" bind:__l="__l"></u-top-tips></view>