<view class="timebox data-v-5ce2f4a5"><view class="title data-v-5ce2f4a5">选择星期</view><view class="week_warp data-v-5ce2f4a5"><block wx:for="{{arr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectWeek',[index]]]]]}}" class="{{['week_li','data-v-5ce2f4a5',(item.isSet)?'week_li_no':'',(item.select)?'week_li_ac':'']}}" bindtap="__e">{{''+item.name+''}}</view></block></view><view class="t_warp data-v-5ce2f4a5"><view class="t_tit data-v-5ce2f4a5">设置打卡时段</view><view data-event-opts="{{[['tap',[['toAddClock',['$event']]]]]}}" class="t_add data-v-5ce2f4a5" bindtap="__e">添加时段</view></view><view class="box_list data-v-5ce2f4a5"><block wx:for="{{timeArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="box_li data-v-5ce2f4a5"><view class="b_top data-v-5ce2f4a5"><view class="b_p data-v-5ce2f4a5">上下班时段<block wx:if="{{$root.g0>1}}"><text class="data-v-5ce2f4a5">{{index+1}}</text></block></view><block wx:if="{{$root.g1>1}}"><image class="deleimg data-v-5ce2f4a5" src="{{BASE_IMG_URL+'delete1.png'}}" mode data-event-opts="{{[['tap',[['delClock',[index]]]]]}}" bindtap="__e"></image></block></view><view class="b_bot data-v-5ce2f4a5"><view class="b_time data-v-5ce2f4a5"><view class="b_label data-v-5ce2f4a5">上班</view><picker mode="time" value="{{item.start_time}}" data-event-opts="{{[['change',[['changeGoto',['$event',index]]]]]}}" bindchange="__e" class="data-v-5ce2f4a5"><view class="b_v_box data-v-5ce2f4a5"><view class="b_value data-v-5ce2f4a5"><block wx:if="{{item.start_next==1}}"><text class="data-v-5ce2f4a5">次日</text></block>{{''+item.start_time+''}}</view><view class="iconfont icon-arrows_right data-v-5ce2f4a5"></view></view></picker></view><view class="b_time data-v-5ce2f4a5"><view class="b_label data-v-5ce2f4a5">下班</view><picker mode="time" value="{{item.end_time}}" data-event-opts="{{[['change',[['changeGoOff',['$event',index]]]]]}}" bindchange="__e" class="data-v-5ce2f4a5"><view class="b_v_box data-v-5ce2f4a5"><view class="b_value data-v-5ce2f4a5"><block wx:if="{{item.end_next==1}}"><text class="data-v-5ce2f4a5">次日</text></block>{{''+item.end_time+''}}</view><view class="iconfont icon-arrows_right data-v-5ce2f4a5"></view></view></picker></view></view></view></block></view><view class="box_list data-v-5ce2f4a5"><view class="box_li data-v-5ce2f4a5"><view class="b_bot data-v-5ce2f4a5"><view class="b_time data-v-5ce2f4a5"><view class="b_label data-v-5ce2f4a5">打卡时段设置</view><view data-event-opts="{{[['tap',[['toSetPeriod',['$event']]]]]}}" class="b_v_box data-v-5ce2f4a5" bindtap="__e"><view class="b_value data-v-5ce2f4a5">{{timeArr[0].ustart_time+"至"+timeArr[$root.g2-1].dend_time+''}}</view><view class="iconfont icon-arrows_right data-v-5ce2f4a5"></view></view></view></view></view></view><view class="tip data-v-5ce2f4a5">可设置每次上下班是否需要打卡、允许打卡的时间范围</view><block wx:if="{{number}}"><view class="botwarp data-v-5ce2f4a5"><view data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['sureDel']]]]]}}" class="b_bot remove data-v-5ce2f4a5" bindtap="__e">删除</view><view data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toSave']]]]]}}" class="b_bot data-v-5ce2f4a5" bindtap="__e">确认修改</view></view></block><block wx:else><view class="btn_g bg-blue button-hover round data-v-5ce2f4a5" id="btn" data-event-opts="{{[['tap',[['$noMultipleClicks',['$0'],['toSave']]]]]}}" bindtap="__e">确定</view></block></view>