2024-06-05 19:14:51 +08:00
|
|
|
|
<template>
|
2024-07-09 15:42:56 +08:00
|
|
|
|
<view class="" style="padding-bottom: 17px;">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="headtop">
|
|
|
|
|
<view class="headbox">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class=" u-flex justify-between avatar-section">
|
2024-07-25 16:05:38 +08:00
|
|
|
|
<!--<view class="back-img"
|
2024-07-09 15:42:56 +08:00
|
|
|
|
:style="{'background-image':
|
|
|
|
|
technicianType=='3'?'url(../../static/grade1.png)':
|
|
|
|
|
technicianType=='4'?'url(../../static/grade2.png)':
|
|
|
|
|
technicianType=='5'?'url(../../static/grade3.png)':''
|
|
|
|
|
}">
|
2024-07-02 22:25:01 +08:00
|
|
|
|
<image :src="avatar" class="head-port"
|
2024-06-05 19:14:51 +08:00
|
|
|
|
@click="goNav('/pages/my/userinfo')"></image>
|
2024-07-25 16:05:38 +08:00
|
|
|
|
</view>-->
|
|
|
|
|
<view class="back-img">
|
|
|
|
|
<image :src="avatar" class="head-port" @click="goNav('/pages/my/userinfo')"></image>
|
2024-08-05 20:41:46 +08:00
|
|
|
|
<image class="popop-kuang" v-if="technicianType" :src="technicianType=='3'?'../../static/grade1.gif':technicianType=='4'?'../../static/grade2.gif':'../../static/grade3.gif'"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="u-flex-1" v-if="isLogin && userName">
|
|
|
|
|
<view class="u-font-18">
|
|
|
|
|
<view class="flex align-center">
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="margin-left-sm avatar-section-text">{{ userName }}</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="flex align-center" style="font-size: 14px;">
|
|
|
|
|
<image src="../../static/images/my/start.png"
|
|
|
|
|
style="width: 13px;height: 12px;margin: 0 6rpx 0 20rpx;"></image>
|
2024-10-26 16:43:55 +08:00
|
|
|
|
{{ordersScore}}
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="xyf" @click="goNav('/my/wallet/xinyongfendetail')">{{ creditScore }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="flex margin-left-sm margin-top-xs" v-if="XCXIsSelect != '否'"
|
2024-06-29 15:23:17 +08:00
|
|
|
|
style="font-size: 22rpx;">
|
2024-08-14 16:38:29 +08:00
|
|
|
|
<view class="online-tag" v-if="renzheng == 0" @click.stop="goNav('/my/renzheng/index')">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
暂未实名认证
|
|
|
|
|
</view>
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="online-tag" v-if="renzheng == 1" @click.stop="goNav('/my/renzheng/index')">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
审核中
|
|
|
|
|
</view>
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="online-tag" v-if="renzheng == 2" @click.stop="goNav('/my/renzheng/index')">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
已实名认证
|
|
|
|
|
</view>
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="online-tag" v-if="renzheng == 3" @click.stop="goNav('/my/renzheng/index')">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
已拒绝
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-12 11:39:47 +08:00
|
|
|
|
<view v-else class="logon" @click="goLogin('/pages/public/login')">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
登录
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="flex align-center justify-between padding-top" style="color: #ffffff;margin-top: 20rpx;">
|
|
|
|
|
<view class="text-center">
|
|
|
|
|
<view class="text-bold text-xl">{{ordersScore}}</view>
|
|
|
|
|
<view>综合评分</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-center">
|
|
|
|
|
<view class="text-bold text-xl">{{succeedRate | formatPrice}}%</view>
|
|
|
|
|
<view>成交率</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-center">
|
|
|
|
|
<view class="text-bold text-xl">{{sumCount}}</view>
|
|
|
|
|
<view>服务次数</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-center">
|
|
|
|
|
<view class="text-bold text-xl"></view>
|
|
|
|
|
<view>信用分</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="moneybox" v-if="XCXIsSelect != '否'">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="dengjibox">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="flex flex-wrap">
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="flex align-center justify-between money-bk" style="width: 100%;">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
2024-07-24 21:10:13 +08:00
|
|
|
|
<view class="djtit">账户余额(元)</view>
|
|
|
|
|
<view class="margin-top-xs money-name">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<text class="money_text">{{ money ? money : '0' }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btnyt" @click="goQian()">立即提现</view>
|
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="flex align-center justify-between" style="width: 100%; margin-top:40rpx;">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="" style="text-align: center;width: 23%;"
|
2024-06-29 19:47:30 +08:00
|
|
|
|
@click="goNav('/my/wallet/myshouyidetail?fundType=1')">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="margin-top-xs ">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<text class="money_text1">{{ dailyEarnings ? dailyEarnings : '0' }}</text>
|
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="money_text2">当日收益</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
2024-06-29 19:47:30 +08:00
|
|
|
|
<view class="" style="text-align: center;width: 23%;"
|
|
|
|
|
@click="goNav('/my/wallet/myshouyidetail?fundType=2')">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="margin-top-xs">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<text class="money_text1">{{ earnings ? earnings : '0' }}</text>
|
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="money_text2">当期收益</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="" style="text-align: center;width: 23%;"
|
2024-06-29 19:47:30 +08:00
|
|
|
|
@click="goNav('/my/wallet/myshouyidetail?fundType=3')">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="margin-top-xs">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<text
|
|
|
|
|
class="money_text1">{{ currentMonthsIncome ? currentMonthsIncome : '0' }}</text>
|
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="money_text2">当月收益</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view class="" style="text-align: center;width: 23%;">
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="margin-top-xs">
|
|
|
|
|
<text class="money_text3" style="font-size: 24rpx;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
{{ currentEndDate ?currentEndDate : "暂无数据" }}</text>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
2024-07-24 17:40:13 +08:00
|
|
|
|
<view class="money_text2">当期结束日</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="flex align-center justify-between padding-lr padding-tb-sm">
|
|
|
|
|
<view class="text-black" style="font-family: PingFang SC;color: #a88554;font-size: 26rpx;">
|
|
|
|
|
每次提现平台将扣除相应手续费</view>
|
|
|
|
|
<view class="xflist" @click="goNav('/my/wallet/mymoneydetail')">
|
|
|
|
|
钱包明细
|
|
|
|
|
<image src="../../static/images/my/right.png" style="width: 9rpx;height: 17rpx;margin-left: 10rpx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="margin-top"
|
2024-06-29 15:23:17 +08:00
|
|
|
|
style="width: 100%;margin-top: -50px;padding: 30rpx;border-radius: 20px;background-color: #ffffff;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="wode-title">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
关于我
|
2024-06-26 16:58:53 +08:00
|
|
|
|
</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="flex justify-between" style="flex-wrap: wrap;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="sdza" @click="goNavLifephotos()"
|
2024-06-05 19:14:51 +08:00
|
|
|
|
style="background: url(../../static/images/my/gyw01.png);background-size: cover;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/images/my/shenghuo.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 30px;height: 30px;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
生活照
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="sdza" @click="goNav('/my/publish/index')"
|
|
|
|
|
style="background: url(../../static/images/my/gyw02.png);background-size: cover;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/images/my/xaingmu.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 56rpx;height: 60rpx;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
我的项目
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="sdza" @click="goNavmyEvaluation()"
|
|
|
|
|
style="background: url(../../static/images/my/gyw03.png);background-size: cover;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/images/my/pingjia.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 60rpx;height: 58rpx;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
我的评价
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<!-- <view class="sdza" @click="getJqqd()"
|
|
|
|
|
style="background: url(../../static/images/my/ltxbg.png);background-size: cover;">
|
|
|
|
|
<image src="../../static/images/my/ltx.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 30px;height: 30px;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
聊天室
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
<view class="sdza" @click="goNavcertifiCate()"
|
2024-06-05 19:14:51 +08:00
|
|
|
|
style="background: url(../../static/images/my/gyw04.png);background-size: cover;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/images/my/zhengjian.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 64rpx;height: 50rpx;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
证件
|
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="sdza" @click="goNavcertifiCate()"
|
|
|
|
|
style="background: url(../../static/images/my/gyw05.png);background-size: cover;">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/images/my/ziyuan.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 48rpx;height: 64rpx;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
证件资质
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2024-07-02 11:50:09 +08:00
|
|
|
|
<view class="sdza" @click="goHetong()"
|
2024-06-26 16:58:53 +08:00
|
|
|
|
style="background: url(../../static/images/my/gyw06.png);background-size: cover;">
|
|
|
|
|
<image src="../../static/images/my/hetong.png"
|
2024-06-26 23:04:01 +08:00
|
|
|
|
style="width: 54rpx;height: 60rpx;margin-bottom: 4px;margin-top: 20px;"></image>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
合同
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<!-- <view class="sdza" @click="goNfeedback()"
|
2024-06-05 19:14:51 +08:00
|
|
|
|
style="background: url(../../static/images/my/gyw06.png);background-size: cover;">
|
|
|
|
|
<image src="../../static/images/my/gyw12.png"
|
|
|
|
|
style="width: 27px;height: 30px;margin-bottom: 4px;margin-top: 15px;"></image>
|
|
|
|
|
<view class="">
|
|
|
|
|
意见反馈
|
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
</view> -->
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
<view style="width: 100%;margin: 10px 0;" @click="goNav('/package/pages/zysc/index/index')"
|
|
|
|
|
v-if="shopSel != '否'">
|
2024-06-29 15:23:17 +08:00
|
|
|
|
<image src="../../static/index/fun_banner.png" style="width: 100%;height: 150rpx; margin-bottom: 5px;"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="wode-title" style="margin-bottom: 26rpx;">
|
2024-06-05 19:14:51 +08:00
|
|
|
|
常用功能
|
|
|
|
|
</view>
|
2024-07-25 11:34:10 +08:00
|
|
|
|
<view class="flex margin-top pages-main" >
|
2024-07-25 09:28:48 +08:00
|
|
|
|
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<!-- <view class="box">
|
|
|
|
|
<image src="../../static/images/my/yjian.png"></image>
|
|
|
|
|
<view class="box_text">我的项目</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box" @click="goNav('/my/wallet/index')" v-if="XCXIsSelect != '否'">
|
|
|
|
|
<image src="../../static/images/my/fbgl.png"></image>
|
|
|
|
|
<view class="box_text">我的钱包</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="box" @click="goChat()">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/index/function1.png"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="box_text">联系客服</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="box" @click="goNav('/my/help/feedbackIndex')">
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<image src="../../static/index/function2.png"></image>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<view class="box_text">帮助中心</view>
|
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="box" @click="goNav('/pages/poster/index')">
|
|
|
|
|
<!-- v-if="renzheng > 0 && XCXIsSelect != '否'" -->
|
|
|
|
|
<image src="../../static/index/function3.png"></image>
|
|
|
|
|
<view class="box_text">邀请理疗师</view>
|
|
|
|
|
</view>
|
2024-07-12 11:28:46 +08:00
|
|
|
|
<view class="box" @click="shangjia('/pages/my/yueDaoDianDrtail')">
|
|
|
|
|
<!-- v-if="renzheng > 0 && XCXIsSelect != '否'" -->
|
|
|
|
|
<image src="../../static/index/index-fenglei9.png"></image>
|
|
|
|
|
<view class="box_text">商家信息</view>
|
|
|
|
|
</view>
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<view class="box" @click="goNav('/my/setting/index')">
|
|
|
|
|
<image src="../../static/index/function4.png"></image>
|
|
|
|
|
<view class="box_text">设置中心</view>
|
|
|
|
|
</view>
|
2024-07-18 18:17:06 +08:00
|
|
|
|
<view class="box" @click="goNav('/pages/video/index')">
|
2024-08-20 17:20:33 +08:00
|
|
|
|
<image src="../../static/index/function6.png"></image>
|
2024-07-23 22:45:12 +08:00
|
|
|
|
<view class="box_text">视频圈</view>
|
2024-07-18 18:17:06 +08:00
|
|
|
|
</view>
|
2024-08-27 10:03:13 +08:00
|
|
|
|
<!-- //AxN必须实名 -->
|
|
|
|
|
<!-- <view class="box" v-if="renzheng == 2" @click="bindPhone()">
|
2024-08-20 17:20:33 +08:00
|
|
|
|
<image src="../../static/index/function5.png"></image>
|
2024-08-11 23:19:02 +08:00
|
|
|
|
<view class="box_text">虚拟电话</view>
|
2024-08-27 10:03:13 +08:00
|
|
|
|
</view> -->
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<!-- <view class="box" v-if="renzheng == 0 && XCXIsSelect != '否'" @click="goNav('/my/renzheng/rzType')">
|
|
|
|
|
<image src="../../static/images/my/renzheng.png"></image>
|
|
|
|
|
<view class="box_text">实名认证</view>
|
|
|
|
|
</view> -->
|
2024-06-26 16:58:53 +08:00
|
|
|
|
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<!-- <view class="box" @click="goNav('/my/publish/money')" v-if="bzjCheck != '否' && XCXIsSelect != '否'">
|
|
|
|
|
<image src="../../static/images/my/baozhengjin.png"></image>
|
|
|
|
|
<view class="box_text">保证金</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
<!-- <view class="box" @click="goNav('/my/team/team')" v-if="renzheng > 0 && XCXIsSelect != '否'">
|
|
|
|
|
<image src="../../static/images/my/team.png"></image>
|
|
|
|
|
<view class="box_text">我的团队</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
|
2024-06-26 16:58:53 +08:00
|
|
|
|
|
2024-06-05 19:14:51 +08:00
|
|
|
|
<!-- <view class="box" @click="uploadAudioStart()">
|
|
|
|
|
<image src="../../static/images/my/shop.png"></image>
|
|
|
|
|
<view class="box_text">报警开始</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box" @click="uploadAudioEnd()">
|
|
|
|
|
<image src="../../static/images/my/shop.png"></image>
|
|
|
|
|
<view class="box_text">报警结束</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
<!-- <view class="box" v-if="renzheng == 0 && XCXIsSelect != '否'" @click="goNav('/my/renzheng/rzType')">
|
|
|
|
|
<image src="../../static/images/my/renzheng.png"></image>
|
|
|
|
|
<view class="box_text">实名认证</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
<!-- <view class="box" @click="goNav('/my/publish/money')" v-if="bzjCheck != '否' && XCXIsSelect != '否'">
|
|
|
|
|
<image src="../../static/images/my/baozhengjin.png"></image>
|
|
|
|
|
<view class="box_text">保证金</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view v-if="XCXIsSelect != '否'">
|
|
|
|
|
<view class="bgl" v-if="!phone || !openId || renzheng != 2">
|
|
|
|
|
<view>
|
|
|
|
|
<image
|
|
|
|
|
src="../../static/images/my/renwuzhongxin.png"
|
|
|
|
|
style="width: 148rpx;height: 35rpx;"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="">
|
|
|
|
|
<view class="flex align-center justify-between margin-top-xl">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="flex align-center">
|
|
|
|
|
<view class="xinshou">新手任务</view>
|
|
|
|
|
<view class="title">手机号授权</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="margin-top-xs" style="color: #999999;font-weight: bold;font-size: 24rpx;">
|
|
|
|
|
以免客户无法联系到您,从而错失客户</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn1" v-if="phone">已完成</view>
|
|
|
|
|
<view class="btn" v-if="!phone">未完成</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex align-center justify-between margin-top-xl">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="flex align-center">
|
|
|
|
|
<view class="xinshou">新手任务</view>
|
|
|
|
|
<view class="title">关注公众号</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-26 margin-top-xs"
|
|
|
|
|
style="color: #999999;font-weight: bold;font-size: 24rpx;">
|
|
|
|
|
方便接收新订单/状态消息提醒</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn1" v-if="openId">已完成</view>
|
|
|
|
|
<view class="btn" v-if="!openId" @click="gowxImage()">未完成</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="flex align-center justify-between margin-top-xl">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="flex align-center">
|
|
|
|
|
<view class="xinshou">新手任务</view>
|
|
|
|
|
<view class="title">认证信息</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="text-26 margin-top-xs"
|
|
|
|
|
style="color: #999999;font-weight: bold;font-size: 24rpx;">
|
|
|
|
|
实名认证/头像/资质</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="btn1" v-if="renzheng == 2" @click.stop="goNav('/my/renzheng/index')">已完成</view>
|
|
|
|
|
<view class="btn" v-if="renzheng == 0" @click.stop="goNav('/my/renzheng/rzType')">未完成</view>
|
|
|
|
|
<view class="btn" v-if="renzheng != 0 && renzheng != 2"
|
|
|
|
|
@click.stop="goNav('/my/renzheng/index')">未完成</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
2024-07-25 09:26:27 +08:00
|
|
|
|
<view class="kefu" @click="goMsg">
|
|
|
|
|
<image src="../../static/kefu.png" mode=""></image>
|
2024-07-25 11:34:10 +08:00
|
|
|
|
<!--<span>联系客服</span>-->
|
2024-07-25 09:26:27 +08:00
|
|
|
|
</view>
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import * as websocketUtils from 'utils/websocketUtils.js';
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
dailyEarnings: null,
|
|
|
|
|
earnings: null,
|
|
|
|
|
currentMonthsIncome: null,
|
|
|
|
|
currentEndDate: null,
|
|
|
|
|
ordersScore: 0,
|
|
|
|
|
creditScore: 0,
|
|
|
|
|
phone: '',
|
|
|
|
|
openId: '',
|
|
|
|
|
avatar: '../../static/logo.png',
|
|
|
|
|
isLogin: true,
|
|
|
|
|
userName: '',
|
|
|
|
|
money: 0, //累计余额
|
|
|
|
|
dayMoney: 0, //今日收益
|
|
|
|
|
monthMoney: 0, //本月预估收益
|
|
|
|
|
cashMoney: 0, // 本月预估提现
|
|
|
|
|
userId: '',
|
|
|
|
|
isVip: false,
|
|
|
|
|
invitationCode: '', //邀请码
|
|
|
|
|
succeedRate: 0,
|
|
|
|
|
sumCount: 0,
|
|
|
|
|
renzheng: 0,
|
|
|
|
|
bzjCheck: '否',
|
|
|
|
|
XCXIsSelect: '否',
|
|
|
|
|
shopSel: '否',
|
2024-07-09 15:42:56 +08:00
|
|
|
|
isCashDeposit: '',
|
|
|
|
|
technicianType:''
|
2024-06-05 19:14:51 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
2024-06-29 22:08:39 +08:00
|
|
|
|
this.getMyPageNum();
|
2024-06-05 19:14:51 +08:00
|
|
|
|
this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
|
|
|
|
|
this.shopSel = this.$queue.getData('shopSel');
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
this.bzjCheck = this.$queue.getData("bzjCheck");
|
|
|
|
|
this.userId = uni.getStorageSync('userId')
|
|
|
|
|
if (this.userId) {
|
|
|
|
|
this.isLogin = true
|
|
|
|
|
this.getUserInfo()
|
|
|
|
|
this.getCount();
|
|
|
|
|
this.getAmount()
|
|
|
|
|
this.getIsVip()
|
|
|
|
|
this.getArtificer()
|
2024-08-05 20:41:46 +08:00
|
|
|
|
console.log(11111)
|
2024-06-05 19:14:51 +08:00
|
|
|
|
} else {
|
|
|
|
|
this.ordersScore = 0;
|
|
|
|
|
this.creditScore = 0;
|
|
|
|
|
this.succeedRate = 0;
|
|
|
|
|
this.sumCount = 0;
|
|
|
|
|
this.isLogin = false
|
|
|
|
|
this.userName = ''
|
|
|
|
|
this.money = 0
|
|
|
|
|
this.dayMoney = 0
|
|
|
|
|
this.monthMoney = 0
|
|
|
|
|
this.cashMoney = 0
|
|
|
|
|
this.avatar = '../../static/logo.png'
|
|
|
|
|
}
|
|
|
|
|
this.getMyPageNum();
|
|
|
|
|
},
|
|
|
|
|
filters: {
|
|
|
|
|
formatPrice(data) {
|
|
|
|
|
if (typeof(data) === "number") {
|
|
|
|
|
return parseFloat(parseFloat(data) * 100).toFixed();
|
|
|
|
|
}
|
|
|
|
|
return 0.00;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
isLogin(newValue) {
|
|
|
|
|
if (!newValue) {
|
|
|
|
|
this.dailyEarnings = null;
|
|
|
|
|
this.earnings = null;
|
|
|
|
|
this.currentMonthsIncome = null;
|
|
|
|
|
this.currentEndDate = "暂无数据";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
2024-07-25 09:26:27 +08:00
|
|
|
|
goMsg() {//客服聊天
|
|
|
|
|
let data = {
|
|
|
|
|
userId: uni.getStorageSync('userId'),
|
|
|
|
|
focusedUserId: '0',
|
|
|
|
|
// userName:this.order.userName
|
|
|
|
|
}
|
|
|
|
|
// app/chat/insertChatConversation
|
|
|
|
|
this.$Request.postJson('/app/chat/insertChatConversation', data).then(res => {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
let id = this.ordersId == res.data.userId ? res.data.focusedUserId : this.ordersId
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/msg/im?chatConversationId=' + res.data.chatConversationId +
|
|
|
|
|
'&byUserId=' + res.data.userId
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-07-12 11:28:46 +08:00
|
|
|
|
shangjia(e){//获取商家信息
|
|
|
|
|
var that=this;
|
|
|
|
|
|
|
|
|
|
that.$Request.get('/app/consortia/selectConsortiaUserId',).then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
if(res.data){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:e
|
|
|
|
|
})
|
|
|
|
|
}else{
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon:'error',
|
|
|
|
|
title:"您还不是商家!"
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-07-02 11:50:09 +08:00
|
|
|
|
// 跳转合同页面
|
|
|
|
|
goHetong(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/hetong/index'
|
|
|
|
|
})
|
|
|
|
|
},
|
2024-06-05 19:14:51 +08:00
|
|
|
|
// 跳转生活照页面
|
|
|
|
|
goNavLifephotos(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/index/game/workphoto?artificerId=' + uni.getStorageSync("artificerId")
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 跳转证件页面
|
|
|
|
|
goNavcertifiCate(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/index/game/certifiCate?artificerId=' + uni.getStorageSync("artificerId")
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 跳转我的评价页面
|
|
|
|
|
goNavmyEvaluation(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/pages/index/game/myEvaluation?artificerId=' + uni.getStorageSync("artificerId")
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 跳转意见反馈页面
|
|
|
|
|
goNfeedback(){
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url:'/my/feedback/index'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getMyPageNum() {
|
|
|
|
|
let artificerId = uni.getStorageSync("artificerId");
|
2024-06-29 22:08:39 +08:00
|
|
|
|
console.log("artificerId--->",artificerId);
|
2024-06-05 19:14:51 +08:00
|
|
|
|
if (artificerId) {
|
|
|
|
|
this.$Request.getXZX("/app/artificer/integral/home/?artificerId=" + artificerId, ).then((res) => {
|
2024-06-29 22:08:39 +08:00
|
|
|
|
console.log("res>",res);
|
2024-06-05 19:14:51 +08:00
|
|
|
|
if (res && res.code == 0) {
|
|
|
|
|
this.dailyEarnings = res?.data?.dailyEarnings;
|
|
|
|
|
this.earnings = res?.data?.earnings;
|
|
|
|
|
this.currentMonthsIncome = res?.data?.currentMonthsIncome;
|
|
|
|
|
this.currentEndDate = res?.data?.currentEndDate.split(" ")[0];
|
|
|
|
|
}
|
|
|
|
|
})
|
2024-06-29 22:08:39 +08:00
|
|
|
|
}else{
|
|
|
|
|
this.dailyEarnings = 0;
|
|
|
|
|
this.earnings =0;
|
|
|
|
|
this.currentMonthsIncome = 0;
|
|
|
|
|
this.currentEndDate = "";
|
2024-06-05 19:14:51 +08:00
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-11 23:19:02 +08:00
|
|
|
|
//绑定虚拟号
|
|
|
|
|
bindPhone(){
|
|
|
|
|
console.log('手机号是:',this.phone);
|
|
|
|
|
//调试时先写个假的
|
|
|
|
|
//this.phone = '13080011344'
|
|
|
|
|
this.$Request.get('/app/user/insertVirtualPhoneAxN?phone=' + this.phone).then(res => {
|
|
|
|
|
console.log('返回的全部数据:',res);
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
console.log('返回数据是:',res.data);
|
|
|
|
|
let middleNumber = res.data.middleNumber;
|
|
|
|
|
console.log('虚拟号是:',middleNumber);
|
|
|
|
|
if(res.data.result === '000000'){
|
|
|
|
|
//弹出提示框,告知号码
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '绑定号码为:' + middleNumber + ",是否拨打该电话?",
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
//直接拨打号码(拨打到打电话页(未点击拨号))
|
|
|
|
|
uni.makePhoneCall({
|
|
|
|
|
phoneNumber: middleNumber,
|
|
|
|
|
})
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
this.$queue.showToast('绑定虚拟号错误!');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
2024-06-05 19:14:51 +08:00
|
|
|
|
getJqqd() {
|
|
|
|
|
this.$queue.showToast('敬请期待!')
|
|
|
|
|
},
|
|
|
|
|
goChat() {
|
|
|
|
|
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
|
|
|
|
|
let kefuPhone = this.$queue.getData('kefuPhone');
|
|
|
|
|
if (this.userId) {
|
|
|
|
|
if (kefu == 1) {
|
|
|
|
|
uni.makePhoneCall({
|
|
|
|
|
phoneNumber: kefuPhone //仅为示例
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
let that = this
|
|
|
|
|
try {
|
|
|
|
|
wx.openCustomerServiceChat({
|
|
|
|
|
extInfo: {
|
|
|
|
|
url: that.$queue.getData('kefuUrl')
|
|
|
|
|
},
|
|
|
|
|
corpId: that.$queue.getData('kefuAppId'),
|
|
|
|
|
success(res) {},
|
|
|
|
|
fail(res) {
|
|
|
|
|
console.error(res)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.error("catchcatch" + error)
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '请更新至微信最新版本'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
// #ifndef MP-WEIXIN
|
|
|
|
|
let url = this.$queue.getData('kefuUrl');
|
|
|
|
|
if (url.indexOf('/pages/') !== -1 || url.indexOf('/my/') !== -1) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
//#ifndef H5
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/index/webView?url=' + url
|
|
|
|
|
});
|
|
|
|
|
//#endif
|
|
|
|
|
//#ifdef H5
|
|
|
|
|
window.location.href = url;
|
|
|
|
|
//#endif
|
|
|
|
|
}
|
|
|
|
|
// #endif
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '您还未登录,请先登录',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
console.log('用户点击确定');
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//跳转打开微信公众号
|
|
|
|
|
gowxImage() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$Request.get('/app/common/type/2').then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
var imgPaths = [];
|
|
|
|
|
imgPaths.push(res.data.value)
|
|
|
|
|
uni.previewImage({
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
current: 0,
|
|
|
|
|
urls: imgPaths, //图片路径是个数组,数组里面放图片的全路径
|
|
|
|
|
longPressActions: { //长按保存图片到相册
|
|
|
|
|
itemList: ['保存图片'],
|
|
|
|
|
success: (data) => {
|
|
|
|
|
uni.saveImageToPhotosAlbum({ //保存图片到相册
|
|
|
|
|
filePath: res.data.value,
|
|
|
|
|
success: function() {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'success',
|
|
|
|
|
title: '保存成功'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: 'none',
|
|
|
|
|
title: '保存失败,请重新尝试'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
console.log(err.errMsg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
//跳转用户端
|
|
|
|
|
gouser() {
|
|
|
|
|
wx.navigateToMiniProgram({
|
|
|
|
|
appId: 'wx36626f7398972421',
|
|
|
|
|
path: '/pages/index/index',
|
|
|
|
|
envVersion: 'release', // 打开正式版
|
|
|
|
|
success(res) {
|
|
|
|
|
// 打开成功
|
|
|
|
|
},
|
|
|
|
|
fail: function(err) {
|
|
|
|
|
console.log(err);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getCount() {
|
|
|
|
|
this.$Request.get("/app/artificer/selectArtificerIndex").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.succeedRate = res?.data?.succeedRate;
|
|
|
|
|
this.sumCount = res?.data?.sumCount;
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
goQian() {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/my/wallet/index'
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
bindFb() {
|
|
|
|
|
let renzheng = uni.getStorageSync('renzheng')
|
|
|
|
|
console.log(this.userId, renzheng)
|
|
|
|
|
|
|
|
|
|
if (this.userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/my/publish/editor'
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '您还未实名认证,请先认证',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
console.log('用户点击确定');
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/my/renzheng/index'
|
|
|
|
|
})
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
goNav(e, name) {
|
|
|
|
|
console.log(e)
|
|
|
|
|
if (this.userId) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: e
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '您还未登录,请先登录',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
console.log('用户点击确定');
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
goLogin(e) {
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: e
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//我的收益
|
|
|
|
|
getAmount() {
|
|
|
|
|
this.$Request.get("/app/artificer/selectArtificerMoney").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.money = res?.data?.money //累计余额
|
|
|
|
|
this.dayMoney = res?.data?.dayMoney //今日收益
|
|
|
|
|
this.monthMoney = res?.data?.monthMoney //本月预估收益
|
|
|
|
|
this.cashMoney = res?.data?.cashMoney //本月预估提现
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
getUserInfo() {
|
|
|
|
|
this.$Request.get("/app/user/selectUserById").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.userName = res.data.userName
|
|
|
|
|
this.invitationCode = res.data.invitationCode
|
|
|
|
|
this.avatar = res.data.avatar ? res.data.avatar : '../../static/logo.png'
|
|
|
|
|
// this.isAuthentication = res.data.isAuthentication
|
|
|
|
|
|
|
|
|
|
this.phone = res.data.phone;
|
|
|
|
|
this.openId = res.data.openId;
|
|
|
|
|
|
|
|
|
|
//保证金
|
|
|
|
|
if (res.data.isCashDeposit == 1 || res.data.isCashDeposit == null) {
|
|
|
|
|
this.isCashDeposit = 1
|
|
|
|
|
uni.setStorageSync("isCashDeposit", this.isCashDeposit)
|
|
|
|
|
} else if (res.data.isCashDeposit == 2) {
|
|
|
|
|
this.isCashDeposit = 2
|
|
|
|
|
uni.setStorageSync("isCashDeposit", this.isCashDeposit)
|
|
|
|
|
} else if (res.data.isCashDeposit == 3) {
|
|
|
|
|
this.isCashDeposit = 3
|
|
|
|
|
uni.setStorageSync("isCashDeposit", this.isCashDeposit)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
uni.setStorageSync('avatar', res.data.avatar)
|
|
|
|
|
uni.setStorageSync('invitationCode', res.data.invitationCode)
|
|
|
|
|
|
|
|
|
|
//实名认证
|
|
|
|
|
if (res.data.isAuthentication == 0 || res.data.isAuthentication == null) {
|
|
|
|
|
this.renzheng = 0
|
|
|
|
|
uni.setStorageSync("renzheng", this.renzheng)
|
|
|
|
|
} else if (res.data.isAuthentication == 1) {
|
|
|
|
|
this.renzheng = 1
|
|
|
|
|
uni.setStorageSync("renzheng", this.renzheng)
|
|
|
|
|
} else if (res.data.isAuthentication == 2) {
|
|
|
|
|
this.renzheng = 2
|
|
|
|
|
uni.setStorageSync("renzheng", this.renzheng)
|
|
|
|
|
} else if (res.data.isAuthentication == 3) {
|
|
|
|
|
this.renzheng = 3
|
|
|
|
|
uni.setStorageSync("renzheng", this.renzheng)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
//获取理疗师的信息
|
|
|
|
|
getArtificer() {
|
|
|
|
|
this.$Request.getT("/app/artificer/selectArtificer").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
2024-07-09 15:42:56 +08:00
|
|
|
|
this.technicianType=res.data.technicianType
|
2024-06-05 19:14:51 +08:00
|
|
|
|
this.creditScore = res?.data?.creditScore ? res?.data?.creditScore : 0;
|
|
|
|
|
this.ordersScore = res?.data?.ordersScore ? res?.data?.ordersScore : 0;
|
|
|
|
|
// uni.setStorageSync("status", res.data.status)
|
|
|
|
|
uni.setStorageSync('artificerId', res.data?.artificerId)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//会员
|
|
|
|
|
getIsVip() {
|
|
|
|
|
this.$Request.get("/app/UserVip/isUserVip").then(res => {
|
|
|
|
|
if (res.code == 0) {
|
|
|
|
|
this.isVip = res.data
|
|
|
|
|
uni.setStorageSync('isVIP', res.data)
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
//退出登录
|
|
|
|
|
TuiLogin() {
|
|
|
|
|
let that = this
|
|
|
|
|
if (that.userId) {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '确定退出登录吗?',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
console.log('用户点击确定');
|
|
|
|
|
uni.removeStorageSync('userName')
|
|
|
|
|
uni.removeStorageSync('avatar')
|
|
|
|
|
uni.removeStorageSync('userId')
|
|
|
|
|
uni.removeStorageSync('token')
|
|
|
|
|
uni.removeStorageSync('phone')
|
|
|
|
|
uni.removeStorageSync('zhiFuBaoName')
|
|
|
|
|
uni.removeStorageSync('zhiFuBao')
|
|
|
|
|
uni.removeStorageSync('invitationCode')
|
|
|
|
|
uni.removeStorageSync('unionId')
|
|
|
|
|
uni.removeStorageSync('openId')
|
|
|
|
|
uni.removeStorageSync('isVIP')
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: '退出成功!',
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
that.isLogin = true
|
|
|
|
|
that.userName = '匿名'
|
|
|
|
|
that.money = 0
|
|
|
|
|
that.dayMoney = 0
|
|
|
|
|
that.monthMoney = 0
|
|
|
|
|
that.cashMoney = 0
|
|
|
|
|
that.avatar = '../../static/logo.png'
|
|
|
|
|
that.userId = uni.getStorageSync('userId')
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: '提示',
|
|
|
|
|
content: '您还未登录,请先登录',
|
|
|
|
|
success: function(res) {
|
|
|
|
|
if (res.confirm) {
|
|
|
|
|
console.log('用户点击确定');
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
url: '/pages/public/login'
|
|
|
|
|
})
|
|
|
|
|
} else if (res.cancel) {
|
|
|
|
|
console.log('用户点击取消');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
uploadAudioStart() {
|
|
|
|
|
//console.log('this ->',this);
|
|
|
|
|
websocketUtils.uploadAudioStart();
|
|
|
|
|
},
|
|
|
|
|
uploadAudioEnd() {
|
|
|
|
|
websocketUtils.uploadAudioEnd();
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-06-26 16:58:53 +08:00
|
|
|
|
<style lang="scss" scoped>
|
2024-07-25 09:26:27 +08:00
|
|
|
|
.kefu span{
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #1296db;
|
|
|
|
|
}
|
|
|
|
|
.kefu image{
|
|
|
|
|
width: 50px;
|
|
|
|
|
height: 50px;
|
|
|
|
|
}
|
|
|
|
|
.kefu{
|
|
|
|
|
width: 75px;
|
|
|
|
|
height: 75px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
2024-07-26 13:47:52 +08:00
|
|
|
|
margin-bottom:100rpx;
|
2024-07-25 09:26:27 +08:00
|
|
|
|
margin-right: 20px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
2024-07-12 11:39:47 +08:00
|
|
|
|
.logon{
|
|
|
|
|
background:#fff;
|
|
|
|
|
border-radius: 30rpx;
|
|
|
|
|
color:#019c88;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
padding: 8rpx 20rpx;
|
|
|
|
|
}
|
2024-07-09 15:42:56 +08:00
|
|
|
|
.back-img{
|
2024-07-25 16:05:38 +08:00
|
|
|
|
padding: 15rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.popop-kuang{
|
|
|
|
|
width: 150rpx;
|
|
|
|
|
height: 150rpx;
|
|
|
|
|
position: absolute;
|
2024-07-09 15:42:56 +08:00
|
|
|
|
}
|
2024-06-26 16:58:53 +08:00
|
|
|
|
.wode-title{
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #333333;
|
|
|
|
|
margin-bottom: 26rpx;
|
2024-06-26 23:04:01 +08:00
|
|
|
|
margin-left: 8px;
|
2024-06-26 16:58:53 +08:00
|
|
|
|
}
|
|
|
|
|
.wode-view{
|
|
|
|
|
width: 150rpx;
|
2024-06-26 23:04:01 +08:00
|
|
|
|
height: 80rpx;
|
2024-06-26 16:58:53 +08:00
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
color: #fff;
|
2024-06-26 23:04:01 +08:00
|
|
|
|
line-height: 80rpx;
|
2024-07-12 10:19:13 +08:00
|
|
|
|
margin-top: 30rpx;
|
2024-06-26 16:58:53 +08:00
|
|
|
|
}
|
|
|
|
|
.jishi-index-title{
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
font-size: 33rpx;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
}
|
2024-06-05 19:14:51 +08:00
|
|
|
|
page {
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg {
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.headbox {
|
2024-06-26 16:58:53 +08:00
|
|
|
|
width: 100%;
|
2024-07-24 17:40:13 +08:00
|
|
|
|
height: 320px;
|
|
|
|
|
padding: 0 20px;
|
2024-06-26 16:58:53 +08:00
|
|
|
|
background-image: url('../../static/index/technician15.png');
|
2024-07-24 17:40:13 +08:00
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100%;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xyf {
|
|
|
|
|
background: linear-gradient(to right, #000000, #3d3d3d);
|
|
|
|
|
padding: 1px 8px;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
color: #efd177;
|
|
|
|
|
margin-left: 20rpx;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bgs {
|
|
|
|
|
background: linear-gradient(to bottom, #FFFFFF 15%, #F2F2F2 80%, );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bgl {
|
|
|
|
|
background: linear-gradient(to bottom, #a8e1cc 10%, #FFFFFF 25%, );
|
|
|
|
|
width: 94%;
|
|
|
|
|
margin: 20rpx auto;
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.money_text {
|
2024-08-13 09:40:49 +08:00
|
|
|
|
font-size:40rpx;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
2024-07-24 17:40:13 +08:00
|
|
|
|
.money_text1{
|
2024-08-13 09:40:49 +08:00
|
|
|
|
font-size:40rpx;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-07-24 17:40:13 +08:00
|
|
|
|
.money_text2{
|
|
|
|
|
font-size:24rpx;
|
|
|
|
|
}
|
|
|
|
|
.money_text3{
|
|
|
|
|
font-size:30rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
line-height: 56rpx;
|
|
|
|
|
}
|
2024-06-05 19:14:51 +08:00
|
|
|
|
.moneybox {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
.btnyt {
|
2024-07-24 21:10:13 +08:00
|
|
|
|
background-image: linear-gradient(-48deg, #d5fff8,#eefffc,#c7f9f0);
|
|
|
|
|
border: 1px solid #c7f9f0;
|
|
|
|
|
color: #ffffb2;
|
2024-07-24 17:40:13 +08:00
|
|
|
|
width: 200rpx;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
height: 70rpx;
|
|
|
|
|
line-height: 70rpx;
|
|
|
|
|
text-align: center;
|
2024-07-24 21:10:13 +08:00
|
|
|
|
color: #019c88;
|
2024-06-26 23:04:01 +08:00
|
|
|
|
font-size: 28rpx;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xflist {
|
|
|
|
|
color: #80490b;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sdza {
|
|
|
|
|
width: calc((100% - 40rpx) / 3);
|
|
|
|
|
height: 180rpx;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #fff;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box {
|
|
|
|
|
width: 25%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
|
|
|
|
.box_text {
|
2024-06-26 16:58:53 +08:00
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
color: #333333;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
font-family: PingFang SC;
|
2024-06-26 16:58:53 +08:00
|
|
|
|
font-weight: bold;
|
2024-06-05 19:14:51 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 45px;
|
|
|
|
|
height: 45px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
|
border: 1rpx solid #999999;
|
|
|
|
|
color: #999999;
|
|
|
|
|
border-radius: 39rpx;
|
|
|
|
|
padding: 10rpx 25rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn1 {
|
|
|
|
|
border: 1rpx solid #096f4b;
|
|
|
|
|
color: #096f4b;
|
|
|
|
|
border-radius: 39rpx;
|
|
|
|
|
padding: 10rpx 25rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.xinshou {
|
|
|
|
|
background: #FFF1D7;
|
|
|
|
|
color: #EDBD6B;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
padding: 5rpx 12rpx;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
margin-left: 10rpx;
|
|
|
|
|
}
|
2024-07-01 18:47:17 +08:00
|
|
|
|
.head-port{
|
2024-07-24 17:40:13 +08:00
|
|
|
|
width:64px;
|
|
|
|
|
height:64px;
|
2024-07-01 18:47:17 +08:00
|
|
|
|
border-radius: 50%;
|
2024-07-24 17:40:13 +08:00
|
|
|
|
}
|
|
|
|
|
.avatar-section{
|
2024-07-26 13:47:52 +08:00
|
|
|
|
padding:30rpx 0 30rpx 0;
|
2024-07-25 16:05:38 +08:00
|
|
|
|
position: relative;
|
2024-07-24 17:40:13 +08:00
|
|
|
|
}
|
|
|
|
|
.avatar-section-text{
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
color: #019c88;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
.online-tag {
|
|
|
|
|
color: #019c88;
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
}
|
|
|
|
|
.dengjibox {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 300rpx;
|
2024-07-26 13:47:52 +08:00
|
|
|
|
background: linear-gradient(-45deg, #0fb09b, #25bca8, #3acdb9);
|
2024-07-24 17:40:13 +08:00
|
|
|
|
//box-shadow: 0rpx 0rpx 16rpx 0rpx rgba(26,25,26,0.3);
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
color: #ffffff;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2024-07-01 18:47:17 +08:00
|
|
|
|
}
|
2024-07-24 21:10:13 +08:00
|
|
|
|
.money-name{
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
.money-bk{
|
|
|
|
|
background: linear-gradient(-45deg, #83e5d4, #4fd3c2, #3acdb9);
|
|
|
|
|
border-radius: 20rpx 20rpx 0 0;
|
|
|
|
|
padding: 16rpx 20rpx;
|
2024-07-01 18:47:17 +08:00
|
|
|
|
}
|
2024-07-25 11:34:10 +08:00
|
|
|
|
.pages-main{
|
|
|
|
|
width: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: flex-start;
|
2024-07-01 18:47:17 +08:00
|
|
|
|
}
|
2024-08-30 16:19:03 +08:00
|
|
|
|
.djtit{
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
}
|
2024-06-05 19:14:51 +08:00
|
|
|
|
</style>
|