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

1 line
8.0 KiB

1 year ago
<view class="pages-technician"><uni-nav-bar vue-id="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 pl-md c-base"><view class="iconfont iconjuli mr-sm _i"></view><view class="map-text max-400 ellipsis">{{''+(location.address?location.address:isLoad?'定位失败':'定位中...')+''}}</view><view class="iconfont icon-down _i"></view></view></view></uni-nav-bar><search vue-id="0d05000d-2" type="input" placeholder="请输入技师姓名" data-event-opts="{{[['^confirm',[['toSearch']]]]}}" bind:confirm="__e" bind:__l="__l"></search><view class="space-md"></view><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item flex-center pd-lg mt-md ml-md mr-md fill-base radius-16 rel"><block wx:if="{{item.coach_type_status==1}}"><view class="top-tag flex-center f-icontext abs">优</view></block><view class="flex-center flex-column"><view class="item-img rel"><image class="item-img radius" mode="aspectFill" lazy-load="{{true}}" src="{{item.work_img}}" data-event-opts="{{[['tap',[['toPreviewImage',[index,1]]]]]}}" catchtap="__e"></image><block wx:if="{{item.coach_type_status}}"><image class="{{['abs',imgType[item.coach_type_status]+'-img']}}" lazy-load="{{true}}" src="{{'https://lbqny.migugu.com/admin/anmo/mine/'+imgType[item.coach_type_status]+'.png'}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item,index})}}" catchtap="__e"></image></block></view><view class="{{['item-tag','flex-center','f-icontext','c-base','radius-20',[(item.text_type==1)?'can-service':'']]}}">{{''+(item.text_type==1?'可服务':'服务中')+''}}</view></view><view class="flex-1 ml-md max-510"><view class="flex-between"><view class="flex-y-center f-title c-title"><view class="text-bold max-200 ellipsis">{{item.coach_name}}</view><view data-event-opts="{{[['tap',[['toPreviewImage',[index]]]]]}}" class="more-img flex-center ml-sm f-icontext" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}" catchtap="__e">更多照片</view></view><block wx:if="{{item.near_time}}"><view class="flex-y-center f-icontext c-caption">最早可约<view class="can-service-btn flex-center rel"><view class="bg abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="text flex-center abs" style="{{'color:'+(primaryColor)+';'}}">{{''+item.near_time+''}}</view></view></view></block></view><view class="flex-between mt-sm mb-md pb-md b-1px-b"><view class="flex-y-center f-icontext"><view class="flex-y-center"><view class="iconfont iconyduixingxingshixin icon-font-color _i"></view><view class="star-text">{{item.star}}</view></view><view class="order-num">{{'已服务 '+(item.order_num>9999?'9999+':item.order_num)+"单"}}</view></view><view class="flex-center"><view class="iconfont iconjuli _i" style="{{'color:'+(primaryColor)+';'}}"></view><view class="f-desc c-title">{{item.distance}}</view></view></view><view class="flex-between"><view class="flex-y-center f-desc c-caption"><view data-event-opts="{{[['tap',[['toShowPopup',[index,'message']]]]]}}" class="flex-y-center" catchtap="__e"><view class="iconfont iconpinglun mr-sm _i"></view>{{item.comment_num+''}}</view><view data-event-opts="{{[['tap',[['toCollect',[index]]]]]}}" class="flex-y-center ml-md" catchtap="__e"><view class="{{['iconfont','mr-sm','_i',[(!item.is_collect)?'iconshoucang1':''],[(item.is_collect)?'iconshoucang2':'']]}}" style="{{'color:'+(item.is_collect?primaryColor:'')+';'}}"></view>{{item.collect_num+''}}</view><view data-event-opts="{{[['tap',[['goInfo',[index]]]]]}}" class="flex-y-center ml-md" catchtap="__e"><view class="iconfont iconxiangqing mr-sm _i"></view><view class="f-icontext">详情</view></view></view><view data-event-opts="{{[['tap',[['toOrder',[index]]]]]}}" class="item-btn flex-center f-desc c-base"