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/components/technician-list-item.wxml

1 lines
5.0 KiB

<view class="technician-list-item data-v-a0a01e18"><view class="list-item flex-center pd-lg fill-base radius-16 rel data-v-a0a01e18"><block wx:if="{{info.coach_type_status==1}}"><image class="king-img abs data-v-a0a01e18" mode="aspectFill" src="https://lbqny.migugu.com/admin/anmo/mine/king.gif"></image></block><view class="flex-center flex-column data-v-a0a01e18"><view class="item-img rel data-v-a0a01e18"><image class="item-img radius data-v-a0a01e18" mode="aspectFill" src="{{info.work_img}}" data-event-opts="{{[['tap',[['toPreviewImage',['work_img']]]]]}}" catchtap="__e"></image><block wx:if="{{info.coach_type_status}}"><image class="{{['abs','data-v-a0a01e18',imgType[info.coach_type_status]+'-img']}}" src="{{info.coach_type_status===3?'https://lbqny.migugu.com/admin/anmo/mine/'+imgType[info.coach_type_status]+'.png':'https://lbqny.migugu.com/admin/anmo/mine/'+imgType[info.coach_type_status]+'.gif'}}" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" catchtap="__e"></image></block></view><view class="item-tag flex-center f-icontext c-base radius-20 data-v-a0a01e18" style="{{'background:'+(info.text_type===1?service_btn_color:info.text_type==3?primaryColor:info.text_type==4?'#e1493b':'')+';'+('color:'+(info.text_type===1?service_font_color:$root.g0?'#fff':'')+';')}}">{{''+textType[info.text_type]+''}}</view></view><view class="flex-1 ml-md max-510 data-v-a0a01e18"><view class="flex-between data-v-a0a01e18"><view data-event-opts="{{[['tap',[['goInfo',['$event']]]]]}}" catchtap="__e" class="data-v-a0a01e18"><view class="flex-y-center f-title c-title data-v-a0a01e18"><view class="text-bold max-200 ellipsis data-v-a0a01e18">{{info.coach_name}}</view><view data-event-opts="{{[['tap',[['toPreviewImage',['self_img']]]]]}}" class="more-img flex-center ml-sm f-icontext ml-lg data-v-a0a01e18" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}" catchtap="__e">生活照</view></view><view class="flex-y-center f-icontext mt-sm data-v-a0a01e18"><view class="flex-y-center data-v-a0a01e18"><view class="iconfont iconyduixingxingshixin icon-font-color _i data-v-a0a01e18"></view><view class="star-text data-v-a0a01e18">{{info.star}}</view></view><view class="order-num data-v-a0a01e18">{{'已服务 '+(info.order_num>9999?'9999+':info.order_num)+"单"}}</view></view><view class="flex-y-center f-icontext mt-sm mb-sm data-v-a0a01e18"><view class="flex-center data-v-a0a01e18"><view class="iconfont iconjuli _i data-v-a0a01e18" style="{{'color:'+(primaryColor)+';'}}"></view><view class="f-desc c-title ml-sm data-v-a0a01e18">{{info.distance}}</view></view></view></view><block wx:if="{{info.near_time}}"><view class="can-service-btn f-caption c-base radius-10 data-v-a0a01e18" style="{{'border:'+('2rpx solid '+primaryColor)+';'}}"><view class="text data-v-a0a01e18" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'}}">最早可约</view><view class="time data-v-a0a01e18" style="{{'color:'+(primaryColor)+';'}}">{{'时间'+info.near_time+''}}</view></view></block></view><view class="flex-between data-v-a0a01e18"><view class="flex-y-center f-desc c-caption data-v-a0a01e18"><view data-event-opts="{{[['tap',[['goInfo',['$event']]]]]}}" class="flex-y-center data-v-a0a01e18" catchtap="__e"><block wx:if="{{from!='collect'&&plugAuth.store&&info.store&&info.store.id}}"><block class="data-v-a0a01e18"><view class="iconfont iconshangjia_1 c-caption mr-sm _i data-v-a0a01e18"></view>商家</block></block><block wx:else><block wx:if="{{from!='collect'&&info.admin_id&&info.admin_name&&merchantAuth}}"><block class="data-v-a0a01e18"><view class="iconfont iconshangjia_1 c-caption mr-sm _i data-v-a0a01e18"></view>{{''+info.admin_name+''}}</block></block><block wx:else><block class="data-v-a0a01e18"><view class="iconfont iconxiangqing c-caption mr-sm _i data-v-a0a01e18"></view>详情</block></block></block></view><view data-event-opts="{{[['tap',[['toEmit',['comment']]]]]}}" class="flex-y-center ml-lg data-v-a0a01e18" catchtap="__e"><view class="iconfont iconpinglun mr-sm _i data-v-a0a01e18"></view>{{(info.comment_num>9999?'9999+':info.comment_num)+''}}</view><view data-event-opts="{{[['tap',[['toEmit',['collect']]]]]}}" class="flex-y-center ml-lg data-v-a0a01e18" catchtap="__e"><view class="{{['iconfont','mr-sm','_i','data-v-a0a01e18',[(!info.is_collect)?'iconshoucang1':''],[(info.is_collect)?'iconshoucang2':'']]}}" style="{{'color:'+(info.is_collect?primaryColor:'')+';'}}"></view>{{(info.collect_num>9999?'9999+':info.collect_num)+''}}</view></view><auth style="width:130rpx;" vue-id="464eae92-1" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" data-event-opts="{{[['^tap',[['',['$event']]]],['^go',[['toEmit',['order']]]]]}}" catch:tap="__e" bind:go="__e" class="data-v-a0a01e18" bind:__l="__l" vue-slots="{{['default']}}"><view class="item-btn flex-center f-desc c-base data-v-a0a01e18" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'}}">预约TA</view></auth></view></view></view></view>