2022-11-22 05:47:31 +00:00
|
|
|
<view class="pad-x120 data-v-4844bef7"><status-nav vue-id="7f58be22-1" ifReturn="{{false}}" navBarTitle="打卡小程序" titleColor="{{titleColor}}" backgroudColor="{{backgroudColor}}" class="data-v-4844bef7" bind:__l="__l"></status-nav><view class="content data-v-4844bef7"><view class="sign-top font24 color-white data-v-4844bef7" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><image src="/static/sign-bg.jpg" mode="aspectFill" class="data-v-4844bef7"></image><view class="sign-time data-v-4844bef7"><text class="data-v-4844bef7">{{currentDate}}</text><text class="data-v-4844bef7">{{currentWeek}}</text></view><view data-event-opts="{{[['tap',[['showRadioEv',['$event']]]]]}}" class="{{['sign-btn','data-v-4844bef7',finish?'finish':'']}}" bindtap="__e"><text class="font56 data-v-4844bef7">{{finish?'已打卡':'打卡'}}</text><text class="data-v-4844bef7">{{currenTime}}</text></view><block wx:if="{{isLoding}}"><view class="sign-site data-v-4844bef7"><view class="name data-v-4844bef7">{{siteInfo.name}}</view><view class="position data-v-4844bef7"><block wx:if="{{!siteInfo.name}}"><view class="warning data-v-4844bef7"><image src="/static/icon/icon-warning.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="color-yellow data-v-4844bef7">不在范围内</text></view></block><view data-event-opts="{{[['tap',[['getLocationEv',[1]]]]]}}" class="position-btn data-v-4844bef7" bindtap="__e"><image src="/static/icon/icon-position.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="data-v-4844bef7">重新定位</text></view></view></view></block></view><view class="sign-record bg-white data-v-4844bef7"><view class="title data-v-4844bef7"><image src="/static/icon/icon-sign.png" mode="aspectFit" class="data-v-4844bef7"></image><text class="color-blue font28 data-v-4844bef7">今日打卡记录</text></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-4844bef7"><view class="info data-v-4844bef7"><text class="data-v-4844bef7">{{item.$orig.type_text+"打卡:"+item.g0}}</text><text class="data-v-4844bef7">{{"打卡工地:"+item.$orig.worksite_name}}</text></view><view class="{{['state','data-v-4844bef7',item.$orig.state==1?'color-blue':'']}}">{{item.$orig.status_text}}</view></view></block></view></view><block wx:if="{{showRadio}}"><view class="pop-up-bg data-v-4844bef7"><view class="sign-cate bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">请确认打卡类型</view><view class="txt font28 data-v-4844bef7"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSignType',[index]]]]]}}" class="radio-item data-v-4844bef7" bindtap="__e"><view class="{{['data-v-4844bef7',radioIndex==index?'checked':'']}}"></view><view class="data-v-4844bef7">{{item.title}}</view></view></block></view><view class="sign-cate-btns color-white font30 data-v-4844bef7"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['signEv',['$event']]]]]}}" class="btn data-v-4844bef7" bindtap="__e">确认</view></view></view></view></block><block wx:if="{{!isRead&&safetyBulletin!==''}}"><view class="pop-up-bg data-v-4844bef7"><view class="safety-bulletin bg-white data-v-4844bef7"><view class="title font34 data-v-4844bef7">安全公告</view><view class="txt font24 data-v-4844bef7">{{safetyBulletin}}</view><view data-event-opts="{{[['tap',[['closeSafetyBulletin',['$event']]]]]}}" class="close-btn font30 color-66 data-v-4844bef7" bindtap="__e">关闭</view></view></view></block><block wx:if="{{userInfo.checking==0&&userInfo.role==0}}"><view class="pop-up-bg data-v-4844bef7"><view class="register-information font24 bg-white data-v-4844bef7"><view class="item data-v-4844bef7"><view class="title data-v-4844bef7">姓名</view><input class="input data-v-4844bef7" type="text" data-event-opts="{{[['input',[['__set_model',['$0','real_name','$event',[]],['registerObj']]]]]}}" value="{{registerOb
|