You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
3.1 KiB

<view class="technician-time-manage"><view class="fill-base pd-lg flex-between"><view class="flex-1 flex-y-baseline f-title c-title">是否接单<view class="f-paragraph ml-sm" style="{{'color:'+(form.is_work==1?primaryColor:'#999')+';'}}">{{''+(form.is_work==1?'接单':'休息')+''}}</view></view><view data-event-opts="{{[['tap',[['toChangeItem',['$event']]]]]}}" catchtap="__e"><view class="{{['iconfont','icon-switch','c-caption','ml-sm','_i',[(form.is_work==1)?'icon-switch-on':'']]}}" style="{{'color:'+(form.is_work==1?primaryColor:'')+';'}}"></view></view></view><view class="fill-base mt-md b-1px-b"><view class="f-title c-title pd-lg">选择接单时间</view></view><view class="flex-center fill-base f-paragraph c-desc pt-lg pb-lg b-1px-b"><view data-event-opts="{{[['tap',[['toShowTime',['start_time']]]]]}}" class="item-time flex-center flex-column" catchtap="__e"><view>开始时间</view><view class="mt-sm" style="{{'color:'+(form.start_time?primaryColor:'#999')+';'}}">{{''+(form.start_time||'选择时间')+''}}</view></view><view data-event-opts="{{[['tap',[['toShowTime',['end_time']]]]]}}" class="item-time flex-center flex-column b-1px-l" catchtap="__e"><view>结束时间</view><view class="mt-sm" style="{{'color:'+(form.end_time?primaryColor:'#999')+';'}}">{{''+$root.f0+(form.end_time||'选择时间')+''}}</view></view></view><view class="fill-base pb-lg" style="border-bottom-left-radius:32rpx;border-bottom-right-radius:32rpx;"><view class="flex pl-md pr-md pt-lg pb-lg"><view class="f-mini-title">设置不可接单时间</view><view class="f-paragraph c-disable">{{"(只能设置近"+$root.g0+"天的时间)"}}</view></view><tab vue-id="1d52dae9-1" list="{{dayList}}" activeIndex="{{dayCurrent*1}}" activeColor="{{primaryColor}}" width="150rpx" height="80rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab></view><block wx:if="{{$root.g1>0}}"><view class="date-list flex pt-md"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getDateTime',[index]]]]]}}" class="{{['date-item','radius-16','flex-center','ml-md','mt-md',item.m0?'date-item-prohibit c-disable':'fill-base c-5A677E']}}" style="{{'background:'+(item.m1?primaryColor:'')+';'+('color:'+(item.m2?'#fff':'')+';')}}" bindtap="__e"><view class="text-center"><view class="f-mini-title">{{item.$orig.time_text}}</view><view class="f-caption">{{item.m3?'不可预约':'可预约'}}</view></view></view></block></view></block><view class="space-max-footer"></view><w-picker class="vue-ref" vue-id="1d52dae9-2" visible="{{showTime}}" mode="time" value="{{toDayTime}}" current="{{false}}" second="{{false}}" themeColor="{{primaryColor}}" data-ref="time" data-event-opts="{{[['^updateVisible',[['__set_sync',['$0','showTime','$event'],['']]]],['^confirm',[['onConfirm']]]]}}" bind:updateVisible="__e" bind:confirm="__e" bind:__l="__l"></w-picker><block wx:if="{{form.coach_status!=3}}"><fix-bottom-button vue-id="1d52dae9-3" text="{{[{text:'保存',type:'confirm',isAuth:true}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['submit']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></block></view>