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
7.0 KiB

<block wx:if="{{isLoad}}"><view class="order-pages"><fixed vue-id="2daf03b2-1" initHeight="{{transferForm.coach_type}}" data-event-opts="{{[['^height',[['initFixHeight']]]]}}" bind:height="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="fill-base pd-lg"><view class="flex-between"><view class="f-title c-title text-bold">转派订单</view><view class="flex-center"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',['coach_type','$0'],[[['tabList','',index,'id']]]]]]]}}" class="{{['flex-center','service-type-item','c-caption',[(index!=0)?'ml-lg':'']]}}" style="{{'background:'+(transferForm.coach_type==item.id?primaryColor:'')+';'+('color:'+(transferForm.coach_type==item.id?'#fff':'')+';')}}" catchtap="__e">{{''+item.title+''}}</view></block></view></view><block wx:if="{{transferForm.coach_type==1}}"><view class="fill-base flex-center mt-lg pt-lg b-1px-t"><view class="flex-1"><search vue-id="{{('2daf03b2-2')+','+('2daf03b2-1')}}" type="input" padding="{{0}}" radius="{{30}}" height="70rpx" placeholder="{{placeholder}}" data-event-opts="{{[['^input',[['toSearch']]]]}}" bind:input="__e" bind:__l="__l"></search></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-y-center pl-lg" catchtap="__e">筛选<view class="iconfont iconshaixuanxia-1 c-caption _i"></view></view></view></block></view></fixed><block wx:if="{{transferForm.coach_type==1}}"><block><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',['coach_id',index]]]]]}}" class="list-item fill-base pt-lg pb-lg pl-md pr-lg flex-center mt-md ml-md mr-md radius-16" catchtap="__e"><view class="{{['iconfont','mr-md','_i',[(transferForm.coach_id!=item.id)?'icon-xuanze':''],[(transferForm.coach_id==item.id)?'icon-radio-fill':'']]}}" style="{{'color:'+(transferForm.coach_id==item.id?primaryColor:'')+';'}}"></view><view class="flex-1 flex-warp"><image class="avatar radius" src="{{item.work_img}}"></image><view class="flex-1 ml-md"><view class="flex-between"><view class="f-title c-title text-bold max-200 ellipsis">{{item.coach_name}}</view><view class="can-service-btn flex-center f-icontext rel" style="{{'color:'+(primaryColor)+';'}}"><view class="bg abs" style="{{'background:'+(primaryColor)+';'}}"></view>{{'最早可约:'+item.near_time+''}}</view></view><view class="f-desc" style="color:#4D4D4D;">{{'所属代理商:'+item.admin_info.username+"("+cityType[item.admin_info.city_type]+"代理)"}}</view><view class="flex-between f-caption c-caption mt-sm"><view>{{"电话:"+item.mobile}}</view><view class="flex-y-center"><view class="iconfont iconjuli1 _i"></view>{{item.distance}}</view></view></view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="2daf03b2-3" noMore="{{$root.g0}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g1}}"><abnor vue-id="2daf03b2-4" bind:__l="__l"></abnor></block></block></block><block wx:if="{{transferForm.coach_type==2}}"><block><view class="pd-lg f-mini-title c-title fill-base b-1px-t"><view class="text-bold flex-y-center pb-lg"><view class="iconfont icon-required c-warning _i"></view>{{"线下"+$root.m0}}</view><input class="item-input pl-lg pr-lg radius-16" type="text" maxlength="15" placeholder="{{rule[0].errorMsg}}" placeholder-class="color:#C7C7C7" data-event-opts="{{[['input',[['__set_model',['$0','coach_name','$event',[]],['transferForm']]]]]}}" value="{{transferForm.coach_name}}" bindinput="__e"/><view class="text-bold flex-y-center pt-lg pb-lg"><view class="iconfont icon-required c-warning _i"></view>联系电话</view><input class="item-input pl-lg pr-lg radius-16" type="text" maxlength="11" placeholder="{{rule[1].errorMsg}}" placeholder-class="color:#C7C7C7" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['transferForm']]]]]}}" value="{{transferForm.mobile}}" bindinput="__e"/><view class="text-bold pt-lg pb-lg">转派备注</view><textarea class="item-textarea pd-lg radius-16" placeholder-class="color:#C7C7C7" maxlength="400" placeholder="若订单有其他特殊情况可单独备注在此处" data-event-opts="{{[['input',[['__set_model',['$0','text','$event',[]],['transferForm']]]]]}}" value="{{transferForm.text}}" bindinput="__e"></textarea><view data-event-opts="{{[['tap',[['toChooseAgent',['$event']]]]]}}" class="flex-between pt-lg pb-lg" catchtap="__e"><view class="text-bold">关联代理商</view><view class="{{['flex-y-center',[(!transferForm.admin_id)?'c-caption':'']]}}"><view class="max-400 ellipsis">{{$root.f0}}</view><view class="iconfont icongengduo _i"></view></view></view></view><view class="flex-center f-caption c-caption pt-lg">{{'不关联代理商则默认是平台的'+$root.m1}}</view></block></block><view class="space-max-footer"></view><fix-bottom-button vue-id="2daf03b2-5" text="{{[{text:'确定',type:'confirm'}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['toConfirm']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button><uni-popup class="vue-ref" vue-id="2daf03b2-6" type="top" top="{{popupHeight+1+'px'}}" custom="{{true}}" data-ref="show_transfer_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-transfer-type pd-lg fill-base"><block wx:for="{{transfreTypeList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',['type','$0'],[[['transfreTypeList','',index,'id']]]]]]]}}" class="{{['f-paragraph','mb-lg',[(index==0)?'mt-lg':'']]}}" style="{{'color:'+(param.type==item.id?primaryColor:'')+';'}}" catchtap="__e">{{''+item.title+''}}</view></block></view></uni-popup><uni-popup class="vue-ref" vue-id="2daf03b2-7" type="bottom" custom="{{true}}" data-ref="choose_item" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="common-popup-content fill-base" style="width:100%;border-radius:34rpx 34rpx 0 0;" catchtouchmove="__e"><view class="flex-center f-title c-title text-bold pb-lg">选择代理商</view><scroll-view style="width:100%;max-height:50vh;" scroll-y="{{true}}"><block wx:for="{{base_agent}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toChangeItem',['chooseInd',index]]]]]}}" class="flex-center pt-sm pb-sm" style="{{'color:'+(chooseInd==index?primaryColor:'')+';'}}" catchtap="__e"><view class="f-title flex-1 pr-lg">{{''+item.agent_name+''}}</view><view class="{{['iconfont','c-caption','_i',[(chooseInd!=index)?'icon-xuanze':''],[(chooseInd==index)?'icon-radio-fill':'']]}}" style="{{'font-size:40rpx;'+('color:'+(chooseInd==index?primaryColor:'')+';')}}"></view></view></block></scroll-view><view class="button"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="item-child" catchtap="__e">取消</view><view data-event-opts="{{[['tap',[['toConfirmCheck',['$event']]]]]}}" class="item-child" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">确定</view></view><view class="space-safe"></view></view></uni-popup></view></block>