intership-clockin.wxml 6.7 KB
<view class="bg data-v-0a1674f9" style="{{(vuex_theme)}}"><view class="top data-v-0a1674f9"><view class="tab data-v-0a1674f9"><u-tabs vue-id="38b8ab2d-1" list="{{menulist}}" is-scroll="{{false}}" bg-color active-color="var(--primary-color)" inactive-color="#000000" current="{{current}}" data-event-opts="{{[['^change',[['change']]]]}}" bind:change="__e" class="data-v-0a1674f9" bind:__l="__l"></u-tabs></view></view><view style="height:49px;" class="data-v-0a1674f9"></view><block wx:if="{{current==0}}"><view class="data-v-0a1674f9"><view style="padding:60rpx 32rpx;" class="data-v-0a1674f9"><view class="info_bg data-v-0a1674f9"><view class="data-v-0a1674f9"><image class="icon data-v-0a1674f9" lazy-load="true" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'clock_green.png'}}"></image><text class="text data-v-0a1674f9">{{date+" "+time+" "+$root.m0}}</text></view><view style="margin-top:20rpx;" class="data-v-0a1674f9"><image class="icon data-v-0a1674f9" lazy-load="true" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'locate_green.png'}}"></image><text class="text data-v-0a1674f9">{{address}}</text></view></view></view><view data-event-opts="{{[['tap',[['clockIn',['$event']]]]]}}" class="clock data-v-0a1674f9" bindtap="__e"><view class="text data-v-0a1674f9" style="padding-top:80rpx;">打卡</view><view class="text data-v-0a1674f9" style="padding-top:14rpx;">{{time}}</view></view><block wx:if="{{false}}"><view class="text_green data-v-0a1674f9" style="text-align:center;">{{"今日已打卡 "+count+" 次"}}</view></block><block wx:if="{{false}}"><view class="text data-v-0a1674f9" style="margin-top:16rpx;text-align:center;">已连续打卡35天</view></block></view></block><block wx:if="{{current==1}}"><view class="data-v-0a1674f9"><view class="signin_list data-v-0a1674f9"><mi-calendar vue-id="38b8ab2d-2" suspensionDateList="{{suspensionDateList}}" data-event-opts="{{[['^change',[['change1']]],['^changeMonth',[['changeMonth']]]]}}" bind:change="__e" bind:changeMonth="__e" class="data-v-0a1674f9" bind:__l="__l"></mi-calendar><view style="height:20px;" class="data-v-0a1674f9"></view><block wx:if="{{signList.length>0}}"><view class="steps data-v-0a1674f9"><u-time-line vue-id="38b8ab2d-3" class="data-v-0a1674f9" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="data-v-0a1674f9"><u-time-line-item vue-id="{{('38b8ab2d-4-'+index)+','+('38b8ab2d-3')}}" class="data-v-0a1674f9" bind:__l="__l" vue-slots="{{['node','content']}}"><view class="u-green-node data-v-0a1674f9" slot="node"></view><view class="data-v-0a1674f9" slot="content"><view class="u-order-title data-v-0a1674f9">{{item.m1+''}}</view><view class="u-order-desc data-v-0a1674f9">{{item.$orig.location}}</view><block wx:if="{{item.$orig.attachments}}"><view data-event-opts="{{[['tap',[['lookfj',['$0'],[[['signList','',index]]]]]]]}}" class="u-order-fj data-v-0a1674f9" bindtap="__e">附件</view></block></view></u-time-line-item></view></block></u-time-line></view></block></view></view></block><u-popup bind:input="__e" vue-id="38b8ab2d-5" mode="bottom" border-radius="22" value="{{changeShow}}" data-event-opts="{{[['^input',[['__set_model',['','changeShow','$event',[]]]]]]}}" class="data-v-0a1674f9" bind:__l="__l" vue-slots="{{['default']}}"><view class="new_popup_search data-v-0a1674f9"><view style="display:flex;align-items:flex-start;" class="data-v-0a1674f9"><image style="width:60px;height:60px;" src="{{vuex_baseImgUrl&&vuex_baseImgUrl+'clocksuccess.png'}}" mode class="data-v-0a1674f9"></image><view style="display:flex;flex-direction:column;margin-left:10px;flex:1;" class="data-v-0a1674f9"><view class="title data-v-0a1674f9">打卡成功!</view><view class="desc data-v-0a1674f9">{{''+(showtime+'打卡成功('+address+')')+''}}</view></view></view><view class="btm data-v-0a1674f9"><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel data-v-0a1674f9" bindtap="__e">查看详情</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="confirm data-v-0a1674f9" bindtap="__e">上传附件</view></view><image style="position:absolute;top:25px;right:16px;width:22px;height:22px;" src="/static/img/home/closepop.png" mode data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e" class="data-v-0a1674f9"></image></view></u-popup><u-popup bind:input="__e" vue-id="38b8ab2d-6" mode="bottom" border-radius="22" value="{{updataShow}}" data-event-opts="{{[['^input',[['__set_model',['','updataShow','$event',[]]]]]]}}" class="data-v-0a1674f9" bind:__l="__l" vue-slots="{{['default']}}"><view class="new_popup_search1 data-v-0a1674f9"><view style="display:flex;justify-content:center;" class="data-v-0a1674f9"><view class="title data-v-0a1674f9">上传打卡附件</view></view><view style="margin-top:50px;display:flex;justify-content:space-between;align-items:center;" class="data-v-0a1674f9"><view class="title data-v-0a1674f9">附件</view><block wx:if="{{picList.length==0}}"><view class="data-v-0a1674f9"><image style="width:50px;height:50px;border-radius:5px;background-color:#f7f7f7;" class="data-v-0a1674f9"></image></view></block><block wx:if="{{picList[0].fileType=='video'}}"><view class="data-v-0a1674f9"><image style="width:50px;height:50px;border-radius:5px;" src="{{picList[0].thumbTempFilePath}}" class="data-v-0a1674f9"></image></view></block><block wx:if="{{picList[0].fileType=='image'}}"><view class="data-v-0a1674f9"><image style="width:50px;height:50px;border-radius:5px;" src="{{picList[0].tempFilePath}}" class="data-v-0a1674f9"></image></view></block></view><view class="btm data-v-0a1674f9"><view data-event-opts="{{[['tap',[['cancel1',['$event']]]]]}}" class="cancel data-v-0a1674f9" bindtap="__e">重新上传</view><view data-event-opts="{{[['tap',[['confirm1',['$event']]]]]}}" class="confirm data-v-0a1674f9" bindtap="__e">确认上传</view></view><image style="position:absolute;top:25px;right:16px;width:22px;height:22px;" src="/static/img/home/closepop.png" mode data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" bindtap="__e" class="data-v-0a1674f9"></image></view></u-popup><u-popup bind:input="__e" class="popup data-v-0a1674f9" vue-id="38b8ab2d-7" border-radius="{{22}}" mode="center" closeable="true" close-icon-size="36" value="{{videoshow}}" data-event-opts="{{[['^input',[['__set_model',['','videoshow','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="data-v-0a1674f9"><video src="{{videoSrc}}" controls="{{true}}" class="data-v-0a1674f9"></video></view></u-popup><u-action-sheet vue-id="38b8ab2d-8" list="{{list}}" value="{{show}}" data-event-opts="{{[['^click',[['chooseImg']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:click="__e" bind:input="__e" class="data-v-0a1674f9" bind:__l="__l"></u-action-sheet></view>