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

<block wx:if="{{detail.id}}"><view class="dynamic-technician-detail"><uni-nav-bar vue-id="3ecc9303-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" leftIcon="{{options.pid?'iconshouye11':'icon-left'}}" title="{{detail.type==1?'动态详情':' '}}" color="#ffffff" backgroundColor="{{detail.type==1?primaryColor:'none'}}" bind:__l="__l"></uni-nav-bar><block wx:if="{{detail.type==1}}"><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view></block><block wx:if="{{detail.type==1}}"><block><view class="banner-info rel"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="menu-info flex-center c-base abs radius" catchtap="__e"><view class="iconfont icon-caidan _i"></view></view><block wx:if="{{$root.g0>0}}"><banner vue-id="3ecc9303-2" list="{{detail.imgs}}" margin="{{0}}" autoplay="{{true}}" indicatorActiveColor="{{primaryColor}}" dotWidth="{{20}}" dotBottom="{{30}}" height="{{654}}" data-event-opts="{{[['^change',[['goBanner']]]]}}" bind:change="__e" bind:__l="__l"></banner></block></view><view class="pd-lg fill-base"><view class="dynamic-info flex-center"><image class="avatar radius" mode="aspectFill" src="{{detail.coach_info.work_img}}"></image><view class="flex-1 ml-md"><view class="flex-between"><view><view class="f-mini-title c-black text-bold max-270 ellipsis">{{''+detail.coach_info.coach_name+''}}</view><view class="flex-y-center f-icontext c-caption mt-sm" style="{{'color:'+(primaryColor)+';'}}"><view class="{{['iconfont','_i',iconType[detail.coach_info.work_status]]}}" style="font-size:24rpx;margin-right:5rpx;"></view>{{textType[detail.coach_info.work_status]+''}}</view></view><view class="flex-y-center f-caption"><block wx:if="{{detail.status!=2}}"><view class="app-follow-btn flex-center c-base radius" style="{{'background:'+(detail.status==1?'#FC8218':'#FF6262')+';'}}">{{''+(detail.status==1?'审核中':'已驳回')+''}}</view></block><block wx:else><block><view data-event-opts="{{[['tap',[['getServiceList',['$event']]]]]}}" class="app-follow-btn flex-center radius" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}" catchtap="__e">预约</view><view data-event-opts="{{[['tap',[['toChangeItem',[1]]]]]}}" class="app-follow-btn flex-center radius ml-md" style="{{'background:'+(detail.follow_status?primaryColor:'#fff')+';'+('color:'+(detail.follow_status?'#fff':primaryColor)+';')+('border:'+('1rpx solid '+primaryColor)+';')}}" catchtap="__e"><block wx:if="{{!detail.follow_status}}"><view class="iconfont icon-jia-bold _i"></view></block>{{(detail.follow_status?'已关注':'关注')+''}}</view></block></block></view></view></view></view><view class="f-mini-title c-black text-bold mt-lg">{{detail.title}}</view><view class="dynamic-content f-paragraph mt-lg mb-lg"><block wx:if="{{!showText}}"><label class="_span"><label class="_span">{{$root.g1+'...'}}</label><block wx:if="{{detail.have_show_text}}"><label data-event-opts="{{[['tap',[['toShowHide',['showText']]]]]}}" class="pl-md _span" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">展开<text class="iconfont iconxia ml-sm" style="font-size:24rpx;"></text></label></block></label></block><block wx:if="{{showText}}"><block><view><text style="word-break:break-all;" decode="emsp">{{detail.text}}</text></view><block wx:if="{{detail.have_show_text}}"><label data-event-opts="{{[['tap',[['toShowHide',['showText']]]]]}}" class="mt-sm _span" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">收起<text class="iconfont iconshang ml-sm" style="font-size:24rpx;"></text></label></block></block></block></view><view class="flex-between"><view class="f-caption c-caption">{{detail.friend_time}}</view><view class="flex-y-center f-desc c-desc"><view class="iconfont iconjuli _i" style="{{'color:'+(primaryColor)+';'}}"></view>{{''+detail.distance+''}}</view></view></view><view class="space-md"></view><view class="comment-list-info pl-lg pr-lg fill-base"><view class="flex-y-center f-mini-title c-title text-bold b-1px-b" style="height:95rpx;">全部评论</view><block wx:if="{{$root.g2==0}}"><view class="no-data-item flex-center mt-lg"><image class="avatar radius" mode="aspectFill" src="https://lbqny.migugu.com/admin/anmo/mine/dynamic-user.png"></image><view class="text flex-1 flex-y-center ml-md pl-lg f-icontext radius">评论千万条, 礼貌第一条</view></view></block><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['longpress',[['toDel',[index]]]]]}}" class="list-item flex-warp pt-lg" bindlongpress="__e"><image class="avatar radius" mode="aspectFill" src="{{item.avatarUrl}}"></image><view class="{{['flex-1','ml-md','pb-lg',[(index!=list.total-1)?'b-1px-b':'']]}}"><view class="flex-between" style="height:72rpx;"><view class="text flex-y-center f-caption"><view class="max-380 ellipsis">{{item.nickName}}</view><block wx:if="{{item.status==1}}"><view class="examine-btn flex-center f-icontext ml-md radius">审核中</view></block></view><view class="f-icontext c-caption">{{item.friend_time}}</view></view><view class="comment f-paragraph mt-sm">{{''+item.text+''}}</view></view></view></block></view><block wx:if="{{loading}}"><load-more vue-id="3ecc9303-3" noMore="{{$root.g3}}" loading="{{loading}}" bind:__l="__l"></load-more></block><view class="{{[[(detail.status!=2)?'space-footer':''],[(detail.status==2)?'space-max-footer':'']]}}"></view></block></block><block wx:if="{{detail.type==2}}"><block><view class="video-box rel"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="menu-info type-video flex-center c-title abs radius" style="{{'top:'+(videoNavHeight)+';'}}" catchtap="__e"><view class="iconfont icon-caidan _i"></view></view><view hidden="{{!(!isPlay&&videoContexts==null)}}" class="video-poster rel"><image class="video-poster" mode="aspectFill" src="{{detail.cover}}"></image><view data-event-opts="{{[['tap',[['playAndPauseVideo',['$event']]]]]}}" class="video-poster flex-center abs" catchtap="__e"><view class="play-video flex-center c-base radius"><view class="iconfont icon-play-video _i"></view></view></view></view><video hidden="{{!(isPlay)}}" class="video_item" id="{{'video_'+detail.id}}" loop="{{false}}" enable-play-gesture="{{true}}" enable-progress-gesture="{{true}}" show-center-play-btn="{{true}}" controls="{{false}}" src="{{detail.imgs[0]}}" object-fit="contain" data-event-opts="{{[['tap',[['playAndPauseVideo',['$event']]]],['play',[['onPlay',['$event']]]],['pause',[['onPause',['$event']]]],['ended',[['onEnded',['$event']]]],['timeupdate',[['onTimeUpdate',['$event']]]],['waiting',[['onWaiting',['$event']]]],['progress',[['onProgress',['$event']]]],['loadedmetadata',[['onLoadedMetaData',['$event']]]]]}}" catchtap="__e" bindplay="__e" bindpause="__e" bindended="__e" bindtimeupdate="__e" bindwaiting="__e" bindprogress="__e" bindloadedmetadata="__e"></video></view></block></block><block wx:if="{{detail.type==1&&detail.status==2||detail.type==2}}"><fixed vue-id="3ecc9303-4" position="bottom" zIndex="994" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['bottom-info',[(detail.type==1)?'b-1px-t':''],[(detail.type==2)?'type-video':'']]}}"><block wx:if="{{detail.type==2}}"><block><view class="dynamic-info flex-center pd-lg"><image class="avatar radius" mode="aspectFill" src="{{detail.coach_info.work_img}}"></image><view class="flex-1 flex-y-center ml-sm c-base"><view class="f-paragraph text-bold ellipsis" style="{{'max-width:'+(detail.coach_info.is_work?'240rpx':'340rpx')+';'}}">{{''+detail.coach_info.coach_name+''}}</view><view class="flex-y-center f-icontext ml-sm"><view class="{{['iconfont','_i',iconType[detail.coach_info.work_status]]}}" style="font-size:24rpx;margin-right:5rpx;"></view>{{textType[detail.coach_info.work_status]+''}}</view><view class="flex-y-center f-caption"><block wx:if="{{detail.status!=2}}"><block><view class="app-follow-btn flex-center c-base radius ml-sm" style="{{'background:'+(detail.status==1?'#FC8218':'#FF6262')+';'+('border-color:'+(detail.status==1?'#FC8218':'#FF6262')+';')}}">{{''+(detail.status==1?'审核中':'已驳回')+''}}</view><view data-event-opts="{{[['tap',[['toChangeItem',[3]]]]]}}" class="app-follow-btn flex-center c-base radius ml-sm" style="{{'background:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e">全部评论</view></block></block><block wx:else><block><view data-event-opts="{{[['tap',[['getServiceList',['$event']]]]]}}" class="app-follow-btn flex-center radius ml-sm" catchtap="__e">预约</view><view data-event-opts="{{[['tap',[['toChangeItem',[1]]]]]}}" class="app-follow-btn flex-center radius ml-sm" style="{{'background:'+(detail.follow_status?primaryColor:'')+';'+('border:'+(detail.follow_status?'1rpx solid '+primaryColor:'')+';')}}" catchtap="__e"><block wx:if="{{!detail.follow_status}}"><view class="iconfont icon-jia-bold _i"></view></block>{{(detail.follow_status?'已关注':'关注')+''}}</view></block></block></view></view></view><view class="pl-lg pr-lg c-base"><view class="f-mini-title text-bold pb-lg">{{detail.title}}</view><view class="dynamic-content f-paragraph pb-lg"><block wx:if="{{!showText}}"><label class="_span"><label class="c-base _span">{{$root.g4+'...'}}</label><block wx:if="{{detail.have_show_text}}"><label data-event-opts="{{[['tap',[['toShowHide',['showText']]]]]}}" class="pl-md _span" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">展开<text class="iconfont iconxia ml-sm" style="font-size:24rpx;"></text></label></block></label></block><block wx:if="{{showText}}"><block><view><text class="c-base" style="word-break:break-all;" decode="emsp">{{detail.text}}</text></view><block wx:if="{{detail.have_show_text}}"><label data-event-opts="{{[['tap',[['toShowHide',['showText']]]]]}}" class="mt-sm _span" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">收起<text class="iconfont iconshang ml-sm" style="font-size:24rpx;"></text></label></block></block></block></view><view class="flex-between pb-lg"><view class="f-caption">{{detail.friend_time}}</view><view class="flex-y-center f-desc"><view class="iconfont iconjuli _i"></view>{{''+detail.distance+''}}</view></view><block wx:if="{{detail.status!=2}}"><view class="space-sm"></view></block></view></block></block><block wx:if="{{detail.status==2}}"><view class="{{['comment-thumbs-info','flex-between','f-caption','pl-lg','pr-lg',[(detail.type==2)?'fill-black':'']]}}"><view data-event-opts="{{[['tap',[['toChangeItem',[3]]]]]}}" class="{{['input-text','flex-y-center','radius',[(showComment)?'flex-1':'']]}}" catchtap="__e"><view class="iconfont icon-edit ml-md mr-sm _i"></view><input class="input" type="text" placeholder="说点什么..." disabled="{{true}}"/></view><block wx:if="{{showComment}}"><view></view></block><block wx:else><view class="flex-y-center"><view data-event-opts="{{[['tap',[['toChangeItem',[2]]]]]}}" class="thumbs-comment-btn flex-y-center" catchtap="__e"><view class="{{['iconfont','_i',[(!detail.thumbs_status)?'icon-shoucang':''],[(detail.thumbs_status)?'icon-shoucang-fill':'']]}}" style="{{'color:'+(detail.thumbs_status?primaryColor:'')+';'}}"></view>{{''+(!detail.thumbs_num?'点赞':detail.thumbs_num)+''}}</view><view data-event-opts="{{[['tap',[['toChangeItem',[3]]]]]}}" class="thumbs-comment-btn flex-y-center pl-lg" catchtap="__e"><view class="iconfont icon-pinglun _i"></view>{{''+(!detail.comment_num?'评论':detail.comment_num)+''}}</view></view></block></view></block><block wx:if="{{detail.type==2&&detail.status!=2}}"><view class="video-comment-black fix"></view></block><view class="{{['space-safe',[(detail.type==2)?'fill-black':'']]}}"></view></view></fixed></block><common-popup class="vue-ref" vue-id="3ecc9303-5" type="DELETE_ORDER" title="删除评论" desc="请确认是否删除评论,删除后将无法恢复" info="{{popupInfo}}" data-ref="del_item" data-event-opts="{{[['^confirm',[['confirmDel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><common-popup class="vue-ref" vue-id="3ecc9303-6" type="DELETE_ORDER" title="删除动态" desc="请确认是否删除动态,删除后将无法恢复" info="{{popupInfo}}" data-ref="del_dynamic_item" data-event-opts="{{[['^confirm',[['confirmDel']]]]}}" bind:confirm="__e" bind:__l="__l"></common-popup><uni-popup class="vue-ref" vue-id="3ecc9303-7" type="bottom" data-ref="show_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="show-popup pd-lg"><block wx:if="{{detail.status!=1}}"><view data-event-opts="{{[['tap',[['toChangeItem',[4]]]]]}}" class="show-item flex-center f-paragraph text-bold mt-md radius-16" catchtap="__e">编辑</view></block><view data-event-opts="{{[['tap',[['toChangeItem',[5]]]]]}}" class="show-item flex-center f-paragraph text-bold mt-md radius-16" catchtap="__e">删除</view><block wx:if="{{$root.g5}}"><view data-event-opts="{{[['tap',[['toChangeItem',[6]]]]]}}" class="show-item flex-center f-paragraph text-bold mt-md radius-16" catchtap="__e">驳回原因</view></block><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="show-item flex-center f-paragraph text-bold mt-md radius-16" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">取消</view><view class="space-safe"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3ecc9303-8" type="bottom" data-ref="check_text_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-popup fill-base rel"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="iconfont icon-add rotate-45 abs _i" catchtap="__e"></view><view class="flex-center f-mini-title c-title text-bold pd-lg">驳回原因</view><view class="pd-lg f-paragraph" style="max-height:70vh;overflow-y:auto;"><text style="word-break:break-all;" decode="emsp">{{detail.check_text}}</text></view><view class="space-safe"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3ecc9303-9" type="bottom" zIndex="{{995}}" data-ref="comment_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="comment-popup fill-base rel"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="iconfont icon-add rotate-45 abs _i" style="z-index:997;" catchtap="__e"></view><view class="flex-center f-mini-title c-title text-bold ml-lg mr-lg pt-lg pb-lg b-1px-b">全部评论</view><scroll-view class="scroll-list" scroll-y="{{true}}" scroll-with-animation="{{true}}" lower-threshold="100" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><block wx:if="{{$root.g6==0}}"><view class="no-data-item flex-center pd-lg"><image class="avatar radius" mode="aspectFill" src="https://lbqny.migugu.com/admin/anmo/mine/dynamic-user.png"></image><view class="text flex-1 flex-y-center ml-md pl-lg f-icontext radius">评论千万条, 礼貌第一条</view></view></block><block wx:for="{{list.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['longpress',[['toDel',[index]]]]]}}" class="list-item flex-warp pt-lg pl-lg pr-lg" bindlongpress="__e"><image class="avatar radius" mode="aspectFill" src="{{item.avatarUrl}}"></image><view class="{{['flex-1','ml-md','pb-lg',[(index!=list.total-1)?'b-1px-b':'']]}}"><view class="flex-between" style="height:72rpx;"><view class="text flex-y-center f-caption"><view class="max-380 ellipsis">{{item.nickName}}</view><block wx:if="{{item.status==1}}"><view class="examine-btn flex-center f-icontext ml-md radius">审核中</view></block></view><view class="f-icontext c-caption">{{item.friend_time}}</view></view><view class="comment f-paragraph mt-sm">{{''+item.text+''}}</view></view></view></block><block wx:if="{{loading}}"><load-more vue-id="{{('3ecc9303-10')+','+('3ecc9303-9')}}" noMore="{{$root.g7}}" loading="{{loading}}" bind:__l="__l"></load-more></block></scroll-view><block wx:if="{{detail.status==2}}"><view class="comment-thumbs-info flex-center pd-lg f-caption b-1px-t"><view class="input-text flex-y-center radius"><view class="iconfont icon-edit ml-md mr-sm _i"></view><input class="input vue-ref" adjust-position="{{true}}" focus="{{inputFocus}}" maxlength="200" type="text" placeholder="说点什么..." data-ref="elInput" data-event-opts="{{[['blur',[['inputBlur',['$event']]]],['confirm',[['toComment',['$event']]]],['input',[['__set_model',['$0','text','$event',[]],['subForm']]]]]}}" value="{{subForm.text}}" bindblur="__e" bindconfirm="__e" bindinput="__e"/></view></view></block><view class="space-safe"></view></view></uni-popup><uni-popup class="vue-ref" vue-id="3ecc9303-11" type="bottom" data-ref="technician_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="technician-popup fill-base"><view data-event-opts="{{[['tap',[['toTechnicianInfo',['$event']]]]]}}" class="pd-lg flex-center" catchtap="__e"><image class="item-avatar radius" mode="aspectFill" src="{{detail.coach_info.work_img}}"></image><view class="flex-1 flex-between ml-md"><view class="flex-y-center f-caption c-caption"><view class="f-title c-title text-bold mr-sm max-350 ellipsis">{{''+detail.coach_info.coach_name+''}}</view>{{"从业"+detail.coach_info.work_time+'年'}}</view><view class="flex-y-center f-caption c-caption">更多详情<view class="iconfont icongengduo _i" style="font-size:22rpx;"></view></view></view></view><view class="space-sm fill-body"></view><scroll-view class="list-content" scroll-y="{{true}}" data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" catchtouchmove="__e"><block wx:for="{{serviceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['technician-list-item','flex-center','pd-lg','fill-base','radius-16',[(index!=0)?'b-1px-t':'']]}}"><image class="avatar lg radius-16" mode="aspectFill" src="{{item.cover}}" data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" catchtap="__e"></image><view class="flex-1 ml-md"><view data-event-opts="{{[['tap',[['goDetail',[index]]]]]}}" class="f-title c-title max-510 ellipsis" catchtap="__e">{{''+item.title+''}}</view><view class="f-caption c-caption mt-sm mb-sm ellipsis">{{item.total_sale+"人选择"}}</view><view class="flex-between"><view class="flex-y-baseline f-desc c-caption max-350 ellipsis"><block wx:if="{{item.init_price}}"><view class="text-delete mr-sm">{{"¥"+item.init_price+''}}</view></block><view class="f-title c-warning mr-sm">{{"¥"+item.price}}</view>{{"/\n\t\t\t\t\t\t\t\t"+item.time_long+'分钟'}}</view><view class="flex-warp"><block wx:if="{{item.num}}"><block><button data-event-opts="{{[['tap',[['changeNum',[-1,index]]]]]}}" class="reduce" style="{{'border-color:'+(primaryColor)+';'+('color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jian-bold _i"></view></button><button class="addreduce clear-btn">{{item.num||0}}</button></block></block><button data-event-opts="{{[['tap',[['changeNum',[1,index]]]]]}}" class="add" style="{{'background:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jia-bold _i"></view></button></view></view></view></view></block></scroll-view><block wx:if="{{$root.g8}}"><view style="margin:0 100rpx;"><abnor vue-id="{{('3ecc9303-12')+','+('3ecc9303-11')}}" bind:__l="__l"></abnor></view></block><view class="space-sm fill-body"></view><block wx:if="{{carList.car_count>0}}"><view class="flex-between pd-lg b-1px-t"><view class="flex-center">合计:<view class="f-title c-warning text-bold ml-sm">{{'¥'+carList.car_price+''}}</view></view><view data-event-opts="{{[['tap',[['toOrder',['$event']]]]]}}" class="order-btn flex-center f-desc c-base radius" style="{{'background:'+(primaryColor)+';'}}" catchtap="__e">提交订单</view></view></block><view class="space-safe"></view></view></uni-popup></view></block>