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.
 
 
 
shangmenanmo/unpackage/dist/dev/mp-weixin/user/pages/choose-technician.wxml

1 lines
4.1 KiB

<view class="pages-technician"><fixed vue-id="0d05000d-1" bind:__l="__l" vue-slots="{{['default']}}"><uni-nav-bar vue-id="{{('0d05000d-2')+','+('0d05000d-1')}}" fixed="{{false}}" shadow="{{false}}" statusBar="{{true}}" onlyLeft="{{true}}" color="#fff" backgroundColor="{{primaryColor}}" bind:__l="__l" vue-slots="{{['left']}}"><view class="map-info flex-y-center" slot="left" data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" catchtap="__e"><view class="flex-y-center c-base"><view class="iconfont iconjuli mr-sm _i"></view><view class="map-text max-400 ellipsis">{{''+(location&&location.address?location.address:isLoad?'定位失败':'定位中...')+''}}</view><view class="iconfont icon-down _i"></view></view></view></uni-nav-bar><view class="fix-info choose fill-body rel"><view class="space-top abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="search-info fill-base pt-lg pl-lg pr-lg pb-md abs"><view class="flex-center pb-md"><view class="city-info"><picker value="{{cityIndex}}" range="{{cityList}}" range-key="title" data-event-opts="{{[['change',[['pickerChange',['$event']]]]]}}" bindchange="__e"><view class="city-info flex-y-center"><view><block wx:if="{{$root.g0}}"><block>{{''+(cityIndex===-1?'未知':$root.g1>3?$root.g2+'...':cityList[cityIndex].title)+''}}</block></block><block wx:else><block>请选择</block></block></view><view class="iconfont iconshaixuanxia-1 ml-sm _i"></view></view></picker></view><view class="flex-1"><search vue-id="{{('0d05000d-3')+','+('0d05000d-1')}}" type="input" keyword="{{param.coach_name}}" padding="{{0}}" radius="{{30}}" backgroundColor="#F0F0F0" placeholder="{{'请输入'+$root.m0+'姓名'}}" data-event-opts="{{[['^input',[['toSearch']]]]}}" bind:input="__e" bind:__l="__l"></search></view></view></view></view></fixed><block wx:if="{{$root.g3}}"><view class="{{['ml-md','mr-md',[(configInfo.coach_list_format===2)?'flex-warp':'']]}}"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{[[(configInfo.coach_list_format===1&&index!=0||configInfo.coach_list_format===2)?'mt-md':''],[(configInfo.coach_list_format===2&&index%2==0)?'mr-md':'']]}}"><technician-list-item vue-id="{{'0d05000d-4-'+index}}" info="{{item}}" data-event-opts="{{[['^comment',[['toShowPopup',[index,'message']]]],['^collect',[['toCollect',[index]]]],['^order',[['toOrder',[index]]]]]}}" bind:comment="__e" bind:collect="__e" bind:order="__e" bind:__l="__l"></technician-list-item></view></block></view></block><block wx:if="{{loading}}"><load-more vue-id="0d05000d-5" noMore="{{$root.g4}}" loading="{{loading}}" bind:__l="__l"></load-more></block><block wx:if="{{$root.g5}}"><abnor vue-id="0d05000d-6" bind:__l="__l"></abnor></block><block wx:if="{{!loading&&!location.address}}"><abnor vue-id="0d05000d-7" tip="{{[{text:'定位失败,请开启地理位置授权后刷新页面重试~',color:0}]}}" button="{{[{text:'开启定位',type:'confirm'}]}}" btnSize data-event-opts="{{[['^confirm',[['toOpenLocation']]]]}}" bind:confirm="__e" bind:__l="__l"></abnor></block><technician-list-popup class="vue-ref" vue-id="0d05000d-8" data-ref="technician_list_popup" bind:__l="__l"></technician-list-popup><uni-popup class="vue-ref" vue-id="0d05000d-9" type="top" custom="{{true}}" zIndex="{{999}}" data-ref="choose_city_item" bind:__l="__l" vue-slots="{{['default']}}"><view style="{{'height:'+(configInfo.navBarHeight+8+'px')+';'}}"></view><view class="choose-city-popup rel"><image class="city-img" src="https://lbqny.migugu.com/admin/anmo/technician/no_city.png"></image><view class="text f-paragraph c-base abs">很抱歉,该城市未开通, 点击左上角切换其他城市下单服务</view><view class="flex-between"><view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item-btn flex-center f-paragraph c-title text-bold radius" catchtap="__e">知道了</view></view></view></uni-popup><view class="space-max-footer"></view><fix-bottom-button vue-id="0d05000d-10" text="{{[{type:'confirm',text:pageLen>1?'返回上页':'返回首页'}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['toBack']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></view>