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

<block wx:if="{{isLoad}}"><view class="pages-mine"><uni-nav-bar vue-id="fe5e5c8c-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" title="{{userPageType==2?'我是'+$root.m0:'我的'}}" color="#ffffff" backgroundColor="{{primaryColor}}" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><image class="mine-bg abs" mode="aspectFill" lazy-load="{{true}}" src="{{configInfo[image_type[userPageType]]}}"></image><block wx:if="{{userPageType==1}}"><block><view class="pd-lg" style="height:212rpx;"><view class="{{['pt-lg','rel',[(userInfo&&userInfo.nickName)?'flex-warp':''],[(!userInfo||userInfo&&!userInfo.nickName)?'flex-center':'']]}}"><auth class="avatar_view" style="width:120rpx;" vue-id="fe5e5c8c-2" needAuth="{{true}}" must="{{true}}" haveGo="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="avatar_view"><image class="avatar radius" mode="aspectFill" src="{{userInfo.avatarUrl||'/static/mine/default_user.png'}}"></image><block wx:if="{{userInfo.id&&mineInfo.is_admin==1}}"><view class="text" style="{{'color:'+(primaryColor)+';'}}">代理商</view></block></view></auth><block wx:if="{{!userInfo||userInfo&&!userInfo.nickName}}"><auth class="flex-1" vue-id="fe5e5c8c-3" needAuth="{{true}}" must="{{true}}" haveGo="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="f-md-title text-bold ml-md" style="{{'color:'+(configInfo[font_type[userPageType]])+';'}}">立即登录</view></auth></block><block wx:else><view class="flex-1 ml-md mt-sm rel" style="{{'color:'+(configInfo[font_type[userPageType]])+';'}}"><view class="flex-between"><auth vue-id="fe5e5c8c-4" needAuth="{{true}}" must="{{true}}" haveGo="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-y-center f-title text-bold"><view class="mr-sm max-300 ellipsis">{{''+(userInfo.nickName||'默认用户')+''}}</view></view></auth><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="notice-item ml-md" catchtap="__e"><view class="iconfont icon-xitong text-bold _i"></view></view></view><view class="flex-center"><view class="member-tag flex-center mt-sm pl-md pr-md f-caption radius"><view class="iconfont iconhuiyuanka mr-sm _i"></view>{{''+(mineInfo.coach_status===2?$root.g0?mineInfo.coach_level.title:$root.m1:'普通用户')+''}}</view><view class="flex-1"></view></view></view></block></view></view><block wx:if="{{configInfo.recharge_status}}"><auth vue-id="fe5e5c8c-5" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" data-event-opts="{{[['^go',[['e1']]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="space-ht mine-menu-list pd-lg radius-16 rel"><image class="vip-img" mode="aspectFill" src="/static/mine/balance.png"></image><view class="flex-warp rel"><image class="flex-center vip" mode="aspectFill" src="/static/mine/vip.png"></image><view class="flex-center f-title c-vip ml-sm">尊享VIP会员</view></view><view class="flex-between mt-sm rel"><view><view class="f-icontext c-vip">账户余额</view><view class="f-sm-title c-vip">{{"¥"+(mineInfo.balance||'0.00')}}</view></view><view style="background-color:rgb(243, 204, 161);width:72px;height:26px;border-radius:13px;position:relative;"><view class="flex-center vip-base f-icontext">立即充值</view><image class="flex-center vip-fx" mode="aspectFill" src="/static/mine/fx.png"></image></view></view></view></auth></block><view class="share-list flex-between mt-md"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="flex-between ml-lg mr-sm pt-lg pb-lg pl-lg pr-sm fill-base f-caption c-desc box-shadow radius-16" style="width:50%;" catchtap="__e"><view class="share-list flex-between" style="width:32%;"><view class="item-icon rel flex-center"><image class="flex-center column-img" mode="aspectFill" src="/static/mine/guanzhu.png"></image></view></view><view class="flex-column ml-lg" style="width:100%;"><view class="f-title">我的收藏</view><view class="f-desc mb-sm" style="{{'color:'+(primaryColor)+';'}}">{{(mineInfo.collect_count||0)+''}}<label class="c-grey _span">人</label></view></view></view><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="flex-between ml-sm mr-lg pt-lg pb-lg pl-lg pr-sm fill-base f-caption c-desc box-shadow radius-16" style="width:50%;" catchtap="__e"><view class="share-list flex-between" style="width:32%;"><view class="item-icon rel flex-center"><image class="flex-center column-img" mode="aspectFill" src="/static/mine/youhui.png"></image></view></view><view class="flex-column ml-lg" style="width:100%;"><view class="f-title">我的优惠劵</view><view class="f-desc mb-sm" style="{{'color:'+(primaryColor)+';'}}">{{(mineInfo.coupon_count||0)+''}}<label class="c-grey _span">张</label></view></view></view></view><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-md b-1px-b"><view data-event-opts="{{[['tap',[['tologin',['$event']]]]]}}" class="f-st-title c-title text-bold" bindtap="__e">常用工具</view></view><block wx:if="{{toolLoad}}"><view class="flex-warp pb-sm pt-lg pb-lg"><block wx:for="{{toolList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.text=='联系客服'&&configInfo.im_type==2}}"><button class="item-child flex-center flex-column f-caption c-title clear-btn" style="width:25%;margin:10rpx 0 20rpx 0;" open-type="{{configInfo.im_type==2?'contact':''}}"><image class="mine-img radius" mode="aspectFill" src="/static/mine/lianxikefu.png"></image><view class="mt-sm">{{item.text}}</view></button></block><block wx:else><block><view class="item-child flex-center flex-column f-caption c-title"><auth vue-id="{{'fe5e5c8c-6-'+index}}" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" data-event-opts="{{[['^go',[['toJump',['toolList',index,'$0'],[[['toolList','',index]]]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{item.cover}}"><image class="mine-img" mode="aspectFill" src="{{item.cover}}"></image></block><view class="mt-sm">{{item.text}}</view></auth></view></block></block></block></block><block wx:if="{{mineInfo.mobilenode_auth}}"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="item-child flex-center flex-column f-caption c-title" style="width:25%;margin:10rpx 0 20rpx 0;" catchtap="__e"><image class="mine-img radius" mode="aspectFill" src="/static/mine/guanli.png"></image><view class="mt-sm">切换管理员</view></view></block></view></block></view></block></block><block wx:if="{{userPageType==2}}"><block><view class="addr-time-help-list flex-x-center f-desc rel" style="{{'color:'+(configInfo[font_type[userPageType]])+';'}}"><view data-event-opts="{{[['tap',[['toChooseLocation']]]]}}" class="flex-center flex-column" catchtap="__e"><view class="iconfont iconweizhigengxin1 _i"></view><view>位置更新</view></view><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="flex-center flex-column" catchtap="__e"><view class="iconfont icon-shijian _i"></view><view>时间管理</view></view><view data-event-opts="{{[['tap',[['toHelp',['$event']]]]]}}" class="flex-center flex-column" catchtap="__e"><view class="iconfont iconyijianbaojing _i"></view><view>一键报警</view></view></view><block wx:if="{{coachInfo.id}}"><view class="coach-info fill-base ml-lg mr-lg pt-lg pl-lg pr-lg pb-sm radius-16 rel"><view class="flex-center pb-lg"><image class="avatar radius" mode="aspectFill" src="{{coachInfo.work_img}}"></image><view class="flex-1 ml-md"><view class="flex-between"><view class="coach-name text-bold max-300 ellipsis">{{coachInfo.coach_name}}</view><view data-event-opts="{{[['tap',[['toEditInfo',['$event']]]]]}}" class="coach-text f-paragraph flex-y-center" catchtap="__e">个人信息<view class="iconfont icon-right _i"></view></view></view><view class="flex-warp mt-sm"><block wx:if="{{coachInfo.auth_status==2}}"><view class="tag-item flex-center mr-sm" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}">已认证</view></block><block wx:if="{{mineInfo.coach_status===2}}"><view class="tag-item flex-center mr-sm" style="{{'color:'+(coachInfo.is_work?primaryColor:'#5A677E')+';'+('border:'+('1rpx solid '+(coachInfo.is_work?primaryColor:'#5A677E'))+';')}}">{{''+(coachInfo.is_work?textType[coachInfo.text_type]:'请假中')+''}}</view></block><view class="tag-item flex-center" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}">{{''+coachInfo.coach_level.title+''}}</view></view><block wx:if="{{coachInfo.auth_status!=2}}"><view class="flex-between mt-sm"><view class="f-desc">{{''+(coachInfo.auth_status==0?'补充剩余资料才可以上线接单哟':coachInfo.auth_status==1?'认证审核中':'认证已驳回')+''}}</view><view><block wx:if="{{!coachInfo.fdd_auth_status||coachInfo.fdd_auth_status&&coachInfo.fdd_status!=2}}"><view data-event-opts="{{[['tap',[['toEditInfo',['$event']]]]]}}" class="tag-item flex-center" style="{{'color:'+(primaryColor)+';'+('border:'+('1rpx solid '+primaryColor)+';')}}" catchtap="__e">去认证</view></block></view></view></block></view></view><view class="map-addr-info pt-lg b-1px-t"><view class="flex-center"><view class="map-addr flex-center rel"><view class="map-addr radius abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="flex-y-center f-desc" style="{{'color:'+(primaryColor)+';'}}"><view class="iconfont icondangqianweizhi _i"></view>当前</view></view><view class="flex-1 text ml-md ellipsis">{{''+coachInfo.address+''}}</view></view><view class="location-change flex-between pt-sm"><view class="text f-paragraph">实时定位</view><view data-event-opts="{{[['tap',[['toChangeLocation',['$event']]]]]}}" class="{{['iconfont','_i',[(!userInfo.coach_position)?'icon-switch':''],[(userInfo.coach_position)?'icon-switch-on':'']]}}" style="{{'color:'+(userInfo.coach_position?primaryColor:'#ddd')+';'}}" catchtap="__e"></view></view></view></view></block><view class="mine-count-list flex-between mt-md rel"><block wx:if="{{mineInfo.coach_status==3}}"><view class="cancel-auth iconfont icon-biaoqian c-caption flex-center abs"><view class="text-bold f-icontext abs">取消授权</view></view></block><view data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" class="item-child ml-lg mr-sm fill-base f-caption box-shadow radius-16" catchtap="__e"><view class="flex-y-baseline" style="{{'color:'+(primaryColor)+';'}}">¥<view class="f-sm-title">{{''+(coachInfo.service_price||0)+''}}</view></view><view class="flex-between mt-sm"><view class="text f-paragraph">服务收入</view><view class="cash-btn flex-center f-desc c-base radius" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'}}">去提现</view></view></view><view data-event-opts="{{[['tap',[['e7',['$event']]]]]}}" class="item-child ml-sm mr-lg pt-lg pb-lg pl-md pr-sm fill-base f-caption c-desc box-shadow radius-16" catchtap="__e"><view class="flex-y-baseline" style="{{'color:'+(primaryColor)+';'}}">¥<view class="f-sm-title">{{''+(coachInfo.car_price||0)+''}}</view></view><view class="flex-between mt-sm"><view class="text f-paragraph">车费</view><view class="cash-btn flex-center f-desc c-base radius" style="{{'background:'+('linear-gradient(68deg, '+primaryColor+', '+subColor+')')+';'}}">去提现</view></view></view></view><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">我的订单</view></view><view class="flex-warp pb-lg"><block wx:for="{{orderList2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['orderList2',index,'$0'],[[['orderList2','',index]]]]]]]}}" class="item-child flex-center flex-column f-caption c-title" catchtap="__e"><view class="item-img rel flex-center radius"><block wx:if="{{item.number>0}}"><view class="abs dot-unread-number flex-center" style="{{'width:'+(item.number>99?'44rpx':item.number>9?'34rpx':'')+';'+('right:'+(item.number>99?'-32rpx':item.number>9?'-22rpx':'-12rpx')+';')}}">{{''+(item.number<100?item.number:'99+')+''}}</view></block><view class="item-img radius abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="{{['iconfont','c-title','_i',item.icon]}}" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="mt-sm">{{item.text}}</view></view></block></view></view><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">邀请好友</view></view><view class="flex-warp pb-lg"><block wx:for="{{orderList2haoyou}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['orderList2haoyou',index,'$0'],[[['orderList2haoyou','',index]]]]]]]}}" class="item-child flex-center flex-column f-caption c-title" catchtap="__e"><view class="item-img rel flex-center radius"><block wx:if="{{item.number>0}}"><view class="abs dot-unread-number flex-center" style="{{'width:'+(item.number>99?'44rpx':item.number>9?'34rpx':'')+';'+('right:'+(item.number>99?'-32rpx':item.number>9?'-22rpx':'-12rpx')+';')}}">{{''+(item.number<100?item.number:'99+')+''}}</view></block><view class="item-img radius abs" style="{{'background:'+(primaryColor)+';'}}"></view><view class="{{['iconfont','c-title','_i',item.icon]}}" style="{{'color:'+(primaryColor)+';'}}"></view></view><view class="mt-sm">{{item.text}}</view></view></block></view></view><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title flex-between pl-lg pr-sm"><view class="f-paragraph c-title text-bold">其他功能</view></view><view class="flex-warp pb-sm"><block wx:for="{{toolList2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['toolList2',index,'$0'],[[['toolList2','',index]]]]]]]}}" class="item-child flex-center flex-column f-caption c-title rel" style="margin:10rpx 0 20rpx 0;" catchtap="__e"><block wx:if="{{item.cover}}"><image class="mine-img" mode="aspectFill" src="{{item.cover}}"></image></block><view class="mt-sm">{{item.text}}</view><block wx:if="{{item.text=='电签合同'&&coachInfo.fdd_status!=2}}"><view class="fdd-sign flex-center c-base abs radius">待签约</view></block></view></block></view></view></block></block><view class="space-footer"></view><view style="{{'height:'+(configInfo.tabbarHeight+'px')+';'}}"></view><tabbar vue-id="fe5e5c8c-7" cur="{{5}}" bind:__l="__l"></tabbar></view></block>