<view class="container data-v-92bb8f34"><view class="header data-v-92bb8f34"><view class="img data-v-92bb8f34"><image src="{{userInfo.headImage||'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F7974778847%2F1000&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1673765601&t=e38144720930d00c5bf59536379da218'}}" class="_img data-v-92bb8f34"></image></view><view class="msg data-v-92bb8f34"><view class="name data-v-92bb8f34">{{''+userInfo.name+''}}</view><view class="major data-v-92bb8f34">{{''+(userInfo.college||"南昌交通学院")+''}}</view></view></view><view class="body data-v-92bb8f34"><block wx:if="{{list.length}}"><view class="card data-v-92bb8f34"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="item data-v-92bb8f34"><view class="item_box data-v-92bb8f34"><view class="title data-v-92bb8f34">{{''+item.$orig.ruleName+''}}</view><view class="time data-v-92bb8f34">{{''+item.$orig.timeRange+''}}</view><view class="type data-v-92bb8f34"><block wx:if="{{item.$orig.finish}}"><image src="{{item.m0}}" class="_img data-v-92bb8f34"></image></block><block wx:if="{{item.$orig.finish}}"><label class="_span data-v-92bb8f34">{{item.$orig.updateTime}}</label></block>{{''+(item.$orig.finish?"已打卡":"未打卡")+''}}</view></view></view></block></view></block><block wx:else><view class="card data-v-92bb8f34"></view></block><view data-event-opts="{{[['tap',[['handlePunch',['$event']]]]]}}" class="{{['data-v-92bb8f34',(flags)?'clock':'',(!flags)?'active':'']}}" bindtap="__e"><block wx:if="{{flags&&list.length}}"><view class="info data-v-92bb8f34">打卡</view></block><block wx:else><view class="info data-v-92bb8f34">无法打卡</view></block><view class="time data-v-92bb8f34">{{''+nowTime+''}}</view></view><block wx:if="{{flags&&list.length}}"><view class="address data-v-92bb8f34">{{''+address+''}}</view></block><block wx:if="{{addressFlags&&!flags}}"><view class="address data-v-92bb8f34">不在管理员设定范围打卡</view></block><block wx:if="{{timeFlags&&!flags}}"><view class="address data-v-92bb8f34">未到打卡时间无法打卡</view></block><block wx:if="{{!list.length}}"><view class="address data-v-92bb8f34">无打卡任务无需打卡</view></block><block wx:if="{{!list.length}}"><view class="address data-v-92bb8f34">今日休息无需打卡</view></block><block wx:if="{{!list.length}}"><view class="address data-v-92bb8f34">下一次打卡时间段为18:00-19:00</view></block></view></view>