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
11 KiB
1 lines
11 KiB
<view class="pages-technician data-v-5d289ec6"><fixed vue-id="5c0ae409-1" class="data-v-5d289ec6" bind:__l="__l" vue-slots="{{['default']}}"><uni-nav-bar vue-id="{{('5c0ae409-2')+','+('5c0ae409-1')}}" fixed="{{false}}" shadow="{{false}}" statusBar="{{true}}" onlyLeft="{{true}}" color="#fff" backgroundColor="{{primaryColor}}" class="data-v-5d289ec6" bind:__l="__l" vue-slots="{{['left']}}"><view class="map-info flex-y-center data-v-5d289ec6" slot="left" data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" catchtap="__e"><view class="flex-y-center pl-md c-base data-v-5d289ec6"><view class="iconfont iconjuli mr-sm _i data-v-5d289ec6"></view><view class="map-text max-400 ellipsis data-v-5d289ec6">{{''+(location&&location.address?location.address:isLoad?'定位失败':'定位中...')+''}}</view><view class="iconfont icon-down _i data-v-5d289ec6"></view></view></view></uni-nav-bar><view class="fix-info fill-body rel data-v-5d289ec6"><view class="space-top abs data-v-5d289ec6" style="{{'background:'+(primaryColor)+';'}}"></view><view class="search-info fill-base pt-lg pl-lg pr-lg pb-md abs data-v-5d289ec6"><view class="flex-center pb-md data-v-5d289ec6"><view class="flex-1 data-v-5d289ec6"><search vue-id="{{('5c0ae409-3')+','+('5c0ae409-1')}}" type="input" padding="{{0}}" radius="{{30}}" backgroundColor="#F0F0F0" placeholder="请输入技师姓名" data-event-opts="{{[['^input',[['toSearch']]]]}}" bind:input="__e" class="data-v-5d289ec6" bind:__l="__l"></search></view></view></view></view><view class="tabContent data-v-5d289ec6"><tab vue-id="{{('5c0ae409-4')+','+('5c0ae409-1')}}" isLine="{{false}}" list="{{tabList1}}" activeIndex="{{activeIndex*1}}" activeColor="{{primaryColor}}" width="{{100/4+'%'}}" height="84rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" class="data-v-5d289ec6" bind:__l="__l"></tab></view></fixed><block wx:if="{{$root.g0>0}}"><block class="data-v-5d289ec6"><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list-item data-v-5d289ec6"><view class="flex-center flex-column data-v-5d289ec6"><view class="item-img rel data-v-5d289ec6"><image class="item-img data-v-5d289ec6" mode="aspectFill" lazy-load="{{true}}" src="{{item.work_img}}" data-event-opts="{{[['tap',[['toPreviewImage',[index,1]]]]]}}" catchtap="__e"></image></view></view><view class="flex-1 ml-md max-510 itemInfoContent data-v-5d289ec6"><view class="flex-between data-v-5d289ec6"><view class="flex-y-center f-title data-v-5d289ec6"><view class="text-bold ellipsis data-v-5d289ec6" style="max-width:60px;color:#333333;">{{item.coach_name}}</view><view class="star-text data-v-5d289ec6">{{item.star+"分"}}</view></view><view class="flex-center data-v-5d289ec6"><view class="iconfont iconjuli _i data-v-5d289ec6" style="color:#71787E;"></view><view class="distance data-v-5d289ec6">{{item.distance}}</view></view></view><block wx:if="{{item.near_time}}"><view class="flex-y-center timeInfo data-v-5d289ec6"><view class="zao data-v-5d289ec6">最早可约</view><view class="can-service-btn flex-center rel data-v-5d289ec6">{{''+item.near_time+''}}</view></view></block><view class="flex-between mendianInfo data-v-5d289ec6"><view data-event-opts="{{[['tap',[['goShop',['$0'],[[['list.data','',index]]]]]]]}}" class="mendian data-v-5d289ec6" bindtap="__e"><image src="../static/mendian.png" mode class="data-v-5d289ec6"></image><text class="data-v-5d289ec6">{{item.company_name}}</text></view><view class="flex-y-center f-icontext data-v-5d289ec6"><view class="order-num data-v-5d289ec6">{{"已服务 "+(item.order_num>9999?'9999+':item.order_num)+"单"}}</view></view></view><view class="flex-between data-v-5d289ec6"><view class="flex-y-center f-desc c-caption data-v-5d289ec6"><view data-event-opts="{{[['tap',[['toShowPopup',[index,'message']]]]]}}" class="flex-y-center data-v-5d289ec6" catchtap="__e"><view class="iconfont iconpinglun mr-sm _i data-v-5d289ec6"></view>{{item.comment_num+''}}</view><view data-event-opts="{{[['tap',[['toCollect',[index]]]]]}}" class="flex-y-center ml-md data-v-5d289ec6" catchtap="__e"><view class="{{['iconfont','mr-sm','_i','data-v-5d289ec6',[(!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 data-v-5d289ec6" catchtap="__e"><view class="iconfont iconxiangqing mr-sm _i data-v-5d289ec6"></view><view class="f-icontext data-v-5d289ec6">更多照片</view></view></view><block wx:if="{{item.near_time}}"><view data-event-opts="{{[['tap',[['toShowPopup',[index,'technician']]]]]}}" class="item-btn flex-center f-desc c-base data-v-5d289ec6" style="{{'background:'+(item.user_id?primaryColor:'#888')+';'}}" catchtap="__e">预约</view></block></view></view></view></block></block></block><block wx:if="{{loading}}"><load-more vue-id="5c0ae409-5" noMore="{{$root.g1}}" loading="{{loading}}" class="data-v-5d289ec6" bind:__l="__l"></load-more></block><block wx:if="{{$root.g2}}"><abnor vue-id="5c0ae409-6" class="data-v-5d289ec6" bind:__l="__l"></abnor></block><block wx:if="{{!loading&&!location.lng}}"><abnor vue-id="5c0ae409-7" tip="{{[{text:'定位失败,请开启地理位置授权后刷新页面重试~',color:0}]}}" button="{{[{text:'开启定位',type:'confirm'}]}}" btnSize data-event-opts="{{[['^confirm',[['toOpenLocation']]]]}}" bind:confirm="__e" class="data-v-5d289ec6" bind:__l="__l"></abnor></block><view class="space-footer data-v-5d289ec6"></view><uni-popup vue-id="5c0ae409-8" type="bottom" data-ref="technician_item" class="data-v-5d289ec6 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{showInd!=-1}}"><view class="technician-popup fill-base data-v-5d289ec6"><view class="{{['pd-lg','data-v-5d289ec6',[(showType=='technician')?'flex-center':''],[(showType=='message')?'flex-warp':'']]}}"><image class="item-avatar radius data-v-5d289ec6" src="{{list.data[showInd].work_img}}"></image><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-1 ml-md data-v-5d289ec6" catchtap="__e"><view class="flex-between data-v-5d289ec6"><view class="flex-y-baseline f-caption c-caption data-v-5d289ec6"><view class="f-title c-title mr-sm max-350 ellipsis data-v-5d289ec6">{{''+list.data[showInd].coach_name+''}}</view>{{"从业"+list.data[showInd].work_time+'年'}}</view><view class="iconfont icon-close _i data-v-5d289ec6"></view></view><block wx:if="{{showType=='message'}}"><scroll-view class="technician-text f-caption c-caption mt-sm data-v-5d289ec6" scroll-y="{{true}}" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e">{{''+list.data[showInd].text+''}}</scroll-view></block></view></view><view class="space-sm fill-body data-v-5d289ec6"></view><scroll-view class="list-content data-v-5d289ec6" scroll-y="{{true}}" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"><block wx:if="{{showType=='technician'}}"><block class="data-v-5d289ec6"><block wx:for="{{serviceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list-item','flex-center','pd-lg','fill-base','radius-16','data-v-5d289ec6',[(index!=0)?'b-1px-t':'']]}}"><image class="avatar lg radius-16 data-v-5d289ec6" mode="aspectFill" src="{{item.cover}}" data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" catchtap="__e"></image><view class="flex-1 ml-md data-v-5d289ec6"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="f-title c-title max-510 ellipsis data-v-5d289ec6" catchtap="__e">{{''+item.title+''}}</view><view class="f-caption c-caption mt-sm mb-sm ellipsis data-v-5d289ec6">{{item.total_sale+"人选择"}}</view><view class="flex-between data-v-5d289ec6"><view class="flex-y-baseline f-desc c-caption max-350 ellipsis data-v-5d289ec6"><block wx:if="{{item.init_price}}"><view class="text-delete mr-sm data-v-5d289ec6">{{"¥"+item.init_price+''}}</view></block><view class="f-title c-warning mr-sm data-v-5d289ec6">{{"¥"+item.price}}</view>{{"/\n\t\t\t\t\t\t\t\t\t"+item.time_long+'分钟'}}</view><view class="flex-warp data-v-5d289ec6"><block wx:if="{{item.num}}"><block class="data-v-5d289ec6"><button data-event-opts="{{[['tap',[['changeNum',[-1,index]]]]]}}" class="reduce data-v-5d289ec6" style="{{'border-color:'+(primaryColor)+';'+('color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jian-bold _i data-v-5d289ec6"></view></button><button class="addreduce clear-btn data-v-5d289ec6">{{item.num||0}}</button></block></block><button data-event-opts="{{[['tap',[['changeNum',[1,index]]]]]}}" class="add data-v-5d289ec6" style="{{'background:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jia-bold _i data-v-5d289ec6"></view></button></view></view></view></view></block></block></block><block wx:if="{{showType=='message'}}"><block class="data-v-5d289ec6"><block wx:for="{{commentList.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list-message','flex-warp','pd-lg','data-v-5d289ec6',[(index!=0)?'b-1px-t':'']]}}"><image class="item-avatar radius data-v-5d289ec6" src="{{item.avatarUrl}}"></image><view class="flex-1 ml-md data-v-5d289ec6"><view class="flex-between data-v-5d289ec6"><view class="flex-y-center data-v-5d289ec6"><view class="f-paragraph c-title mr-md data-v-5d289ec6">{{item.nickName}}</view><view class="flex-warp data-v-5d289ec6"><block wx:for="{{5}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="iconfont iconyduixingxingshixin icon-font-color _i data-v-5d289ec6" style="{{'background-image:'+(aindex<item.star?'-webkit-linear-gradient(270deg, #FAD961 0%, #F76B1C 100%)':'-webkit-linear-gradient(270deg, #f4f6f8 0%, #ccc 100%)')+';'}}"></view></block></view></view><view class="f-icontext c-caption data-v-5d289ec6">{{item.create_time}}</view></view><view class="flex-warp mt-sm data-v-5d289ec6"><block wx:for="{{item.lable_text}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="pt-sm pb-sm pl-md pr-md mt-sm mr-sm radius fill-body f-caption c-desc data-v-5d289ec6">{{item}}</view></block></view><view class="f-caption c-caption mt-md data-v-5d289ec6"><text style="word-break:break-all;" decode="emsp" class="data-v-5d289ec6">{{item.text}}</text></view></view></view></block></block></block></scroll-view><block wx:if="{{$root.g3}}"><view style="margin:0 100rpx;" class="data-v-5d289ec6"><abnor vue-id="{{('5c0ae409-9')+','+('5c0ae409-8')}}" class="data-v-5d289ec6" bind:__l="__l"></abnor></view></block><block wx:if="{{showType=='message'&&commentList.last_page>1}}"><block class="data-v-5d289ec6"><view class="space-lg b-1px-t data-v-5d289ec6"></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="more-btn flex-center f-paragraph c-base radius data-v-5d289ec6" style="{{'width:300rpx;height:80rpx;margin:0 auto;'+('background:'+(primaryColor)+';')}}" catchtap="__e">查看更多</view><view class="space-lg data-v-5d289ec6"></view></block></block><block wx:if="{{showType=='technician'&&carList.car_count>0}}"><view class="flex-between pd-lg b-1px-t data-v-5d289ec6"><view class="flex-center data-v-5d289ec6">合计:<view class="f-title c-warning text-bold ml-sm data-v-5d289ec6">{{"¥"+carList.car_price+''}}</view></view><view data-event-opts="{{[['tap',[['toOrder',['$event']]]]]}}" class="order-btn flex-center f-desc c-base radius data-v-5d289ec6" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">提交订单</view></view></block><view class="space-safe data-v-5d289ec6"></view></view></block></uni-popup></view> |