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

<block wx:if="{{mineInfo.id}}"><view class="pages-mine"><view class="usercontent"><block wx:if="{{userPageType==1}}"><view class="myContent"><view class="mine">我的<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="avatar_view"><image class="avatar radius" mode="aspectFill" src="{{mineInfo.avatarUrl||'/static/mine/default_user.png'}}"></image><block wx:if="{{mineInfo.is_admin==1}}"><view class="text">代理商</view></block></view><block wx:if="{{userInfo&&!userInfo.nickName}}"><block><auth class="flex-1" vue-id="fe5e5c8c-1" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-1 f-md-title text-bold ml-md" style="{{'color:'+(configInfo[font_type[userPageType]])+';'}}">登录</view></auth></block></block><block wx:else><view class="flex-1 uerInfoContent" style="{{'color:'+(configInfo[font_type[userPageType]])+';'}}"><view class="flex-between" style="margin-top:24rpx;"><view data-event-opts="{{[['tap',[['authUserProfile',['$event']]]]]}}" class="flex-y-center f-title" catchtap="__e"><view class="mr-sm max-500 ellipsis" style="font-size:30rpx;color:#FFFFFF;">{{''+(userInfo.nickName||'用户昵称')+''}}</view><view class="flex-1 iconfont icon-shuaxin _i"></view></view></view><view class="flex-between" style="margin-top:24rpx;"><view class="member-tag flex-center pl-md pr-md f-caption radius "><view class="iconfont iconhuiyuanka mr-sm _i"></view>{{(mineInfo.coach_status===2?'技师':'普通用户')+''}}</view><view class="f-desc" style="color:#fff;"><block wx:if="{{mineInfo.coach_status===2&&mineInfo.service_time_long*1>0}}"><block>{{''+('已服务'+mineInfo.service_time_long+'分钟')+''}}</block></block></view></view></view></block></view></block><block wx:if="{{userPageType==1&&userInfo.switch==1}}"><auth vue-id="fe5e5c8c-2" 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="chongzhi"><text>充值加倍送,立即充值</text><image src="../static/arrow.png" mode></image></view></auth></block><block wx:if="{{userPageType==2}}"><view><view style="padding-top:113rpx;font-size:36rpx;color:#ffffff;text-align:center;position:relative;">首页<text data-event-opts="{{[['tap',[['mygroup',['$event']]]]]}}" style="position:absolute;font-size:30rpx;color:#ffffff;right:25rpx;top:120rpx;" bindtap="__e">我的团队</text></view><view class="jishicontent"><view data-event-opts="{{[['tap',[['timeManage',['$event']]]]]}}" class="jishiItem" bindtap="__e"><image src="../static/j1.png" mode></image><view class="text">时间管理</view></view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="jishiItem" catchtap="__e"><image src="../static/j2.png" mode></image><view class="text">提现记录</view></view><view data-event-opts="{{[['tap',[['toHelp',['$event']]]]]}}" class="jishiItem" catchtap="__e"><image src="../static/j3.png" mode></image><view class="text">一键报警</view></view></view><view class="jishiInfo"><image class="avatar radius" mode="aspectFill" src="{{mineInfo.avatarUrl||'/static/mine/default_user.png'}}"></image><view class="jishiInfoRight"><view class="jishiname"><text>{{userInfo.nickName||'用户昵称'}}</text><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="personalInfo" catchtap="__e"><text style="margin-right:20rpx;">个人信息</text><u-icon vue-id="fe5e5c8c-3" name="arrow-right" bind:__l="__l"></u-icon></view></view><view style="display:flex;"><view class="middlejishi"><image src="../static/zuanshi.png" mode></image><text>{{mineInfo.coach_status===2?'技师':'普通用户'}}</text></view><view class="middlejishi" style="margin-left:30px;"><text>{{mineInfo.coach_status===2?'已实名认证':''}}</text></view></view><view data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" class="addressInfo" catchtap="__e"><u-icon vue-id="fe5e5c8c-4" name="map" color="#08BF77" size="20" bind:__l="__l"></u-icon><view style="color:#08BF77;margin:0 15rpx;white-space:nowrap;">当前</view><text>{{coach_info.address?coach_info.address:'定位失败'}}</text></view></view></view></view></block></view><block wx:if="{{userPageType==1}}"><block><view class="flex-center fill-base wallet"><view class="flex-center flex-column" style="width:50%;"><view style="color:#333333;font-size:30rpx;">我的余额</view><view style="color:#333333;font-size:48rpx;margin-top:22rpx;">{{mineInfo.balance||0}}</view></view><auth style="width:50%;" vue-id="fe5e5c8c-5" needAuth="{{userInfo&&(!userInfo.phone||!userInfo.nickName)}}" must="{{true}}" type="{{!userInfo.phone?'phone':'userInfo'}}" data-event-opts="{{[['^go',[['e4']]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center flex-column f-caption c-caption" style="border-left:1px solid #EAEAEA;"><view style="color:#333333;font-size:30rpx;">我的卡券</view><view style="color:#333333;font-size:48rpx;margin-top:22rpx;">{{mineInfo.coupon_count||0}}</view></view></auth></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 class="f-paragraph c-title text-bold">分享赚钱</view></view><view class="flex-warp pt-lg pb-lg"><block wx:for="{{mineInfo.is_fx?distributionList:distributionApplyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.text=='绑定技师'?mineInfo.is_admin==1?true:false:true}}"><view data-event-opts="{{[['tap',[['toJump',[mineInfo.is_fx?'distributionList':'distributionApplyList',index]]]]]}}" class="item-child flex-center flex-column f-caption c-paragraph" catchtap="__e"><view class="item-img flex-center radius" style="background:#F8F8F8;"><view class="{{['iconfont','c-title','_i',item.icon]}}"></view></view><view class="mt-sm">{{item.text}}</view></view></block></block></block></view></view><view class="mine-tool-list fill-base radius-16"><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="clear-btn" open-type="{{configInfo.im_type==2?'contact':''}}"><view class="{{['list-item','pt-lg','pb-lg','ml-lg','mr-lg','','flex-center',[(index!=0)?'b-1px-t':'']]}}"><view class="{{['iconfont','_i',item.icon]}}" style="{{'color:'+(primaryColor)+';'}}"></view><view class="flex-1 flex-between ml-md"><view class="f-paragraph c-title">{{item.text}}</view><view class="iconfont icon-right _i"></view></view></view></button></block><block wx:else><block><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]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['list-item','pt-lg','pb-lg','ml-lg','mr-lg','flex-center',[(index!=0)?'b-1px-t':'']]}}"><view class="{{['iconfont','_i',item.icon]}}" style="{{'color:'+(primaryColor)+';'}}"></view><view class="flex-1 flex-between ml-md"><view class="f-paragraph c-title">{{item.text}}</view><view class="{{['iconfont','_i',[(item.text=='联系客服')?'iconbodadianhua text-bold':''],[(item.text!='联系客服')?'icon-right':'']]}}" style="{{'font-size:'+(item.text=='联系客服'?'50rpx':'')+';'+('color:'+(item.text=='联系客服'?primaryColor:'')+';')}}"></view></view></view></auth></block></block></block></block><block wx:if="{{mineInfo.coach_status==2||mineInfo.coach_status==3}}"><view data-event-opts="{{[['tap',[['toChange',['$event']]]]]}}" class="list-item pd-lg flex-center b-1px-t" catchtap="__e"><view class="iconfont iconqiehuanjishiduan _i" style="{{'color:'+(primaryColor)+';'}}"></view><view class="flex-1 flex-between ml-md"><view class="f-paragraph c-title">切换技师端</view><view class="iconfont icon-switch c-caption _i"></view></view></view></block></view></block></block><block wx:if="{{userPageType==2}}"><block><view class=" mine-count-list rel box-shadow ml-lg mr-lg f-caption c-caption radius-16 " style="margin-top:180rpx;"><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 class="section"><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" class="pd-lg b-1px-b sectionItem" catchtap="__e"><view><view class="sectionTitle">服务收入(元)</view><view class="sectionText">{{coach_info.service_price||0}}</view></view><view class="cash-btn flex-center f-paragraph radius">去提现</view></view><view data-event-opts="{{[['tap',[['e6',['$event']]]]]}}" class="pd-lg b-1px-b sectionItem" style="margin-left:22rpx;" catchtap="__e"><view><view class="sectionTitle">车费(元)</view><view class="sectionText">{{coach_info.car_price||0}}</view></view><view class="cash-btn flex-center f-paragraph radius">去提现</view></view></view></view><view class="mine-menu-list box-shadow fill-base radius-16"><view class="menu-title pr-sm b-1px-b" style="display:flex;align-items:center;"><image style="width:12rpx;height:24rpx;" src="../static/flag.png" mode></image><view style="font-size:30rpx;font-weight:500;color:#333333;margin-left:18rpx;">我的订单</view></view><view class="flex-warp pt-lg 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]]]]]}}" class="item-child flex-center flex-column f-caption c-paragraph" style="width:25%;" catchtap="__e"><view class="item-img rel flex-center radius"><view class="item-img radius abs" style="{{'background:'+(primaryColor)+';'}}"></view><image style="width:67rpx;height:62rpx;" src="{{item.icon}}" mode></image></view><view class="mt-sm">{{item.text}}</view></view></block></view></view><view class="mine-tool-list box-shadow fill-base radius-16"><view class="menu-title pr-sm b-1px-b" style="display:flex;align-items:center;height:90rpx;"><image style="width:12rpx;height:24rpx;" src="../static/flag.png" mode></image><view style="font-size:30rpx;font-weight:500;color:#333333;margin-left:18rpx;">常用工具</view></view><block wx:for="{{toolList2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toJump',['toolList2',index]]]]]}}" class="{{['list-item','pt-lg','pb-lg','mr-lg','flex-center',[(index!=0)?'b-1px-t':'']]}}" style="margin-left:10rpx;" catchtap="__e"><view class="flex-1 flex-between ml-md"><view class="f-paragraph c-title">{{item.text}}</view><block wx:if="{{item.url=='change'}}"><block><view class="iconfont icon-switch c-caption _i"></view></block></block><block wx:else><view class="iconfont icon-right _i"></view></block></view></view></block></view></block></block><view class="copyright"><view>希希到家版权所有</view><view>Copyright 2020-2022</view></view><view class="{{[[(mineInfo.coach_status==2)?'space-max-footer':''],[(mineInfo.coach_status!=2)?'space-footer':'']]}}"></view></view></block>