sadjv3_user/pages/my/index.vue

1311 lines
34 KiB
Vue
Raw Normal View History

2024-06-05 19:16:02 +08:00
<template>
2024-06-12 15:52:21 +08:00
<view class="content">
<view class="my-head">
<view class="my-head-top back-width">
2024-06-15 20:59:02 +08:00
<view class="u-m-r-10" style="position: relative;">
2024-08-02 10:01:09 +08:00
<image :src="avatar"
style="width: 120rpx;height:120rpx;border-radius: 50%; margin-left: 10rpx; border:#fff 1px solid;"
2024-06-15 20:59:02 +08:00
@click="goNav('/pages/my/userinfo')"></image>
</view>
<view class="my-head-top-view" v-if="!isLogin">
2024-06-12 15:52:21 +08:00
<view class="my-head-top-text">
2024-06-15 20:59:02 +08:00
<span>{{userName}}</span>
2024-08-07 09:27:45 +08:00
<view class="my-head-top-id" v-if="isVip=='1'">
2024-08-02 10:01:09 +08:00
<image v-if="vipNameType=='0'" class="my-head-vip" style="width:120rpx; height: 36rpx;"
src="../../static/vip/membership5.gif"></image>
<image v-if="vipNameType=='1'" class="my-head-vip" style="width:120rpx; height: 36rpx;"
src="../../static/vip/membership6.gif"></image>
<image v-if="vipNameType=='2'" class="my-head-vip" style="width:120rpx; height: 36rpx;"
src="../../static/vip/membership7.gif"></image>
2024-07-23 13:58:27 +08:00
<span>{{vipNameType=='0'?'':vipNameType=='1'?'':''}}</span>
2024-07-05 16:58:13 +08:00
</view>
2024-07-26 17:49:35 +08:00
2024-07-04 13:47:57 +08:00
</view>
2024-07-05 16:58:13 +08:00
<view class="my-head-texa">
2024-06-15 20:59:02 +08:00
<span>{{phone}}</span>
2024-07-05 16:58:13 +08:00
<span style="font-size: 30rpx;font-weight: bold; padding: 0 10rpx;">·</span>
<span>ID:{{invitationCode}}</span>
2024-06-05 19:16:02 +08:00
</view>
2024-06-15 20:59:02 +08:00
</view>
2024-06-25 21:25:46 +08:00
<view v-else class="text-xl" @click="goLogin('/pages/public/login')">
2024-06-15 20:59:02 +08:00
登录
2024-06-05 19:16:02 +08:00
</view>
</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian back-width">
2024-07-22 21:28:25 +08:00
<view class="my-head-mian-top-view-qian">
2024-08-02 10:01:09 +08:00
<view style="display: flex;align-items: center;">
<image class="wallet3" src="../../static/wallet3.png" mode=""></image>我的钱包
</view>
<view @click="chonghi('明细')">钱包明细<span class="view-more"></span></view>
2024-07-22 21:28:25 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian-top">
2024-07-23 19:34:01 +08:00
<view class="flex money-list">
2024-07-22 21:28:25 +08:00
<!--<image class="money-img" src="../../static/money2.png" mode="" @click="qidai()"></image>-->
2024-07-23 19:34:01 +08:00
<view>钱包金额()</view>
2024-07-03 14:39:09 +08:00
<view class="my-head-mian-top-yuE">{{money}}</view>
2024-06-05 19:16:02 +08:00
</view>
2024-07-26 17:49:35 +08:00
2024-06-05 19:16:02 +08:00
</view>
2024-07-26 17:49:35 +08:00
2024-07-03 10:52:19 +08:00
<view class="my-head-mian-top-view">
<view class="my-head-mian-top-view-chong" @click="chonghi('充值')">充值</view>
2024-07-22 21:28:25 +08:00
<!--<view class="my-head-mian-top-view-ming" @click="chonghi('明细')">明细</view>-->
2024-07-03 10:52:19 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian-bottom">
<view class="my-head-mian-bottom-list" @click="youhui('/my/hongbao/youhuijuan')">
2024-06-15 20:59:02 +08:00
<image src="../../static/my-yuehui.png" mode=""></image>
2024-06-12 15:52:21 +08:00
<span class="my-head-mian-bottom-list-text">优惠券</span>
2024-06-05 19:16:02 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian-bottom-list">
2024-07-02 22:23:55 +08:00
<image src="../../static/my-juanma.png" mode="" @click="qidai()"></image>
2024-06-12 15:52:21 +08:00
<span class="my-head-mian-bottom-list-text">券码兑换</span>
2024-06-05 19:16:02 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian-bottom-list">
2024-07-02 22:23:55 +08:00
<image src="../../static/my-jifen.png" mode="" @click="qidai()"></image>
2024-06-12 15:52:21 +08:00
<span class="my-head-mian-bottom-list-text">积分兑换</span>
2024-06-05 19:16:02 +08:00
</view>
</view>
</view>
2024-06-30 19:11:56 +08:00
<view class="my-head-bottom back-width" @click="goNav('/my/vip/index')">
2024-08-07 09:27:45 +08:00
<image src="../../static/activate2.png" mode="widthFix" v-if="isVip=='1'"></image>
<image src="../../static/activate3.png" mode="widthFix" v-else></image>
2024-06-30 19:11:56 +08:00
<!-- <image src="../../static/servicePackage/member_ba.png" mode="widthFix" v-if="!isVip"></image>
<image src="../../static/activate2.png" mode="widthFix" v-if="isVip"></image> -->
2024-06-24 11:29:11 +08:00
</view>
<!-- <view class="padding-lr margin-lr" style="background-color: #35C495;border-radius: 18rpx;margin-top: 30rpx;"
2024-06-15 20:59:02 +08:00
v-if="XCXIsSelect != '否' && hyCheck != '否'">
<view class="flex justify-between align-center" style="height: 140rpx;">
<view class="flex justify-between align-center" style="">
<view class="">
<image src="../../static/images/my/lihe.png" style="width: 70upx;height: 70upx;" mode="">
</image>
</view>
<view class="" style="margin-left: 24rpx;">
<view v-if="!isVip" class="vipttl" style="color: #fff;">开通会员</view>
<view v-if="isVip" class="vipttl" style="color: #fff;">会员中心</view>
<view class="flex-sub text-26" style="color: #e6c485;margin-top: 6rpx;">会员可享贵族福利</view>
</view>
</view>
<view v-if="!isVip" class="btn-bg" @click="goNav('/my/vip/index')"
style="justify-content: space-between;color: #fff;">立即开通
</view>
<view v-if="isVip" class="btn-bg" @click="goNav('/my/vip/index')"
style="justify-content: space-between;color: #fff;">会员特权
</view>
</view>
2024-06-24 11:29:11 +08:00
</view> -->
2024-06-05 19:16:02 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-serve width">
<view class="my-serve-title">我的服务</view>
<view class="my-serve-view">
<view class="my-serve-list" @click="meServe('服务套餐')">
2024-06-15 20:59:02 +08:00
<image src="../../static/my-fuwu.png" mode=""></image>
2024-06-12 15:52:21 +08:00
<span class="my-serve-list-text">服务套餐</span>
2024-06-05 19:16:02 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-serve-list" @click="meServe('项目次卡')">
2024-06-15 20:59:02 +08:00
<image src="../../static/my-cika.png" mode=""></image>
2024-06-12 15:52:21 +08:00
<span class="my-serve-list-text">项目次卡</span>
2024-06-05 19:16:02 +08:00
</view>
2024-06-12 15:52:21 +08:00
<view class="my-serve-list" @click="meServe('服务疗程')">
2024-06-15 20:59:02 +08:00
<image src="../../static/my-liaocheng.png" mode=""></image>
2024-06-12 15:52:21 +08:00
<span class="my-serve-list-text">服务疗程</span>
2024-06-05 19:16:02 +08:00
</view>
2024-08-07 11:24:38 +08:00
</view>
<view class="my-serve-view">
2024-07-22 19:41:55 +08:00
<view class="my-serve-list" @click="tuangou()">
2024-07-10 14:40:57 +08:00
<image src="../../static/my-liaocheng2.png" mode=""></image>
2024-07-26 17:49:35 +08:00
<span class="my-serve-list-text">拼团</span>
2024-07-10 14:40:57 +08:00
</view>
2024-07-19 15:13:22 +08:00
<view class="my-serve-list" @click="miaoshao()">
2024-07-22 21:28:25 +08:00
<image src="../../static/my-liaocheng3.png" mode=""></image>
2024-07-26 17:49:35 +08:00
<span class="my-serve-list-text">限时秒杀</span>
2024-07-19 15:13:22 +08:00
</view>
2024-08-07 09:27:45 +08:00
<view class="my-serve-list" @click="qiye()">
2024-08-07 11:24:38 +08:00
<image src="../../static/my-liaocheng1.png" mode=""></image>
2024-08-07 09:27:45 +08:00
<span class="my-serve-list-text">企业预约</span>
</view>
2024-06-05 19:16:02 +08:00
</view>
</view>
2024-06-12 15:52:21 +08:00
<view class="my-use width">
<view class="my-use-title">常用功能</view>
<view class="my-use-view">
2024-08-09 18:40:09 +08:00
<view class="my-use-list" @click="useToUrl('/my/gird/shoucang')">
<image style="padding: 3rpx;" src="../../static/my-gong-1.png" mode=""></image>
<span class="my-use-list-text">我的收藏</span>
2024-06-12 15:52:21 +08:00
</view>
2024-08-09 18:40:09 +08:00
<view class="my-use-list" @click="useToUrl('/pages/my/historyMy')">
<image style="padding: 3rpx;" src="../../static/my-gong-8.png" mode=""></image>
<span class="my-use-list-text">浏览历史</span>
</view>
<view class="my-use-list" @click="useToUrl('/my/address/address')">
<image style="padding: 3rpx;" src="../../static/my-gong-5.png" mode=""></image>
<span class="my-use-list-text">地址管理</span>
</view>
<view class="my-use-list" @click="useToUrl('/my/setting/index')">
<image style="padding: 3rpx;" src="../../static/my-gong-7.png" mode=""></image>
<span class="my-use-list-text">设置中心</span>
</view>
<view class="my-use-list" @click="useToUrl('/pages/my/hehuo')">
<image style="padding: 3rpx;" src="../../static/my-gong-2.png" mode=""></image>
<span class="my-use-list-text">申请合作技师</span>
2024-08-09 18:40:09 +08:00
</view>
<view class="my-use-list" @click="useToUrl('/pages/my/cooperation')">
<image style="padding: 3rpx;" src="../../static/my-gong-4.png" mode=""></image>
<span class="my-use-list-text">城市合伙人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applyBroker/index')">
2024-08-09 18:40:09 +08:00
<image style="padding: 3rpx;" src="../../static/my-gong-11.png" mode=""></image>
<span class="my-use-list-text">申请经纪人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='1'" @click="useToUrl('/pages/my/applyBroker/myBroker')">
<image style="padding: 3rpx;" src="../../static/my-gong-12.png" mode=""></image>
<span class="my-use-list-text">我是经纪人</span>
</view>
<view class="my-use-list" v-if="blIsJjr=='0'" @click="useToUrl('/pages/my/applySalesperson/index')">
2024-08-09 18:40:09 +08:00
<image style="padding: 3rpx;" src="../../static/my-gong-14.png" mode=""></image>
<span class="my-use-list-text">申请业务员</span>
</view>
2024-08-22 09:57:34 +08:00
<view class="my-use-list" v-if="blIsJjr=='1'" @click="useToUrl('/pages/my/applySalesperson/mySalesperson')">
2024-08-09 18:40:09 +08:00
<image style="padding: 3rpx;" src="../../static/my-gong-13.png" mode=""></image>
<span class="my-use-list-text">我是业务员</span>
</view>
<view class="my-use-list" v-if="blIsFxy=='0'" @click="useToUrl('/pages/my/applyDistributor/index')">
2024-08-09 18:40:09 +08:00
<image style="padding: 3rpx;" src="../../static/my-gong-15.png" mode=""></image>
<span class="my-use-list-text">申请分销员</span>
</view>
2024-08-09 22:45:36 +08:00
<view class="my-use-list" v-if="blIsFxy=='1'" @click="useToUrl('/pages/my/applyDistributor/myDistributor')">
2024-08-09 18:40:09 +08:00
<image style="padding: 3rpx;" src="../../static/my-gong-16.png" mode=""></image>
<span class="my-use-list-text">我是分销员</span>
</view>
2024-08-09 18:40:09 +08:00
<view class="my-use-list" @click="useToUrl('/pages/my/myteam')">
<image style="padding: 3rpx;" src="../../static/my-gong-9.png" mode=""></image>
<span class="my-use-list-text">我的团队</span>
</view>
<view class="my-use-list" @click="useToUrl('/pages/my/fuwuGengduo')">
<image style="padding: 3rpx;" src="../../static/my-gong-10.png" mode=""></image>
<span class="my-use-list-text">项目推荐</span>
</view>
<view class="my-use-list" @click="useToUrl('/pages/my/invitationUser')">
<image style="padding: 3rpx;" src="../../static/my-gong-3.png" mode=""></image>
<span class="my-use-list-text">分享好友</span>
</view>
<view class="my-use-list" @click="useToUrl('/my/help/feedbackIndex')">
<image style="padding: 3rpx;" src="../../static/my-gong-6.png" mode=""></image>
<span class="my-use-list-text">帮助中心</span>
</view>
2024-06-05 19:16:02 +08:00
</view>
</view>
2024-07-16 11:17:34 +08:00
<view class="item" v-for="(item,index) in dataList" :key="index" @click="itemClick(item)">
<image :src="item.packageImg" mode="" class="item-img"></image>
<view class="item-view">
<view class="item-view-title">
{{item.title}}
</view>
2024-07-26 17:49:35 +08:00
2024-07-16 11:17:34 +08:00
<view class="item-view-bottom">
<view class="item-view-bottom-qian">
<span></span>
<span>{{item.price}}</span>
2024-08-05 20:41:19 +08:00
<span v-if="item.type!='104'&&(item.type=='105'||item.type=='106')">
/{{item.serviceCount?item.serviceCount:''}}
2024-07-16 11:17:34 +08:00
</span>
<span v-if="item.type=='104'">/
</span>
2024-08-05 20:41:19 +08:00
<span v-if="item.type!='104'" style="font-size: 12px;color: #848484;= -webkit-text-decoration-line: line-through;text-decoration-line: line-through;margin-left: 5px;">
{{item.oldPrice}}
</span>
<span v-if="item.type!='104'&&(item.type=='105'||item.type=='106')" style="font-size: 12px;color: #848484;-webkit-text-decoration-line: line-through;text-decoration-line: line-through;margin-left: 5px;">
/{{item.serviceCount?item.serviceCount:''}}
</span>
2024-07-16 11:17:34 +08:00
<span v-if="item.type=='104'">{{item.oldPrice}}/</span>
</view>
2024-07-26 17:49:35 +08:00
2024-07-16 11:17:34 +08:00
</view>
2024-07-25 20:58:11 +08:00
<view class="shop_label" v-if="item.tagsData!=''">
<span v-for="tag in item.tagsData" :key="tag">{{tag}}</span>
</view>
<view class="shop_label" v-else>
<span>助眠解压</span>
2024-07-16 11:17:34 +08:00
</view>
<view class="item-view-bottom">
<view class="item-view-xiangmu">
<span>已售</span><span>{{item.sales}}</span><!-- | 好评{{item.esteemRate}}% -->
</view>
<view class="item-view-bottom-btn">
查看
</view>
</view>
2024-07-26 17:49:35 +08:00
</view>
2024-07-16 11:17:34 +08:00
</view>
2024-07-04 21:32:04 +08:00
<view class="prompt-text">-当你累了 想起盛安到家-</view>
2024-07-25 09:29:55 +08:00
<view class="kefu" @click="goMsg">
<image src="../../static/kefu.png" mode=""></image>
2024-07-31 16:57:55 +08:00
<!--<span>联系客服</span>-->
2024-07-25 09:29:55 +08:00
</view>
2024-06-05 19:16:02 +08:00
</view>
2024-07-26 17:49:35 +08:00
2024-06-05 19:16:02 +08:00
</template>
<script>
2024-08-02 10:01:09 +08:00
export default {
data() {
2024-06-05 19:16:02 +08:00
return {
2024-06-15 20:59:02 +08:00
isShop: 0,
hyCheck: '否',
tgCheck: '否',
isAgency: 0,
avatar: '../../static/logo.png',
isLogin: true,
userName: '匿名',
2024-08-02 10:01:09 +08:00
phone: '18684369159',
2024-06-15 20:59:02 +08:00
browse: 0, //浏览数
fans: 0, //粉丝数
follow: 0, //关注数
visitor: 0, //访客数
userId: '',
2024-06-30 19:11:56 +08:00
isVip: 0,
2024-06-15 20:59:02 +08:00
invitationCode: '', //邀请码
money: '0',
couponnum: '0',
renzheng: 0,
XCXIsSelect: '否',
2024-08-09 18:40:09 +08:00
useList: [],
2024-08-02 10:01:09 +08:00
token: '',
vipData: [],
vipNameType: '',
dataList: [],
2024-08-09 18:40:09 +08:00
tagsData: [],
blIsJjr:'',//1是经纪人 0不是经纪人
2024-08-09 22:45:36 +08:00
blIsFxy:'',//1是分销员 0不是分销员
2024-06-05 19:16:02 +08:00
}
},
2024-06-15 20:59:02 +08:00
onLoad(e) {
2024-06-26 09:49:50 +08:00
this.token = uni.getStorageSync('token');
2024-06-15 20:59:02 +08:00
this.XCXIsSelect = this.$queue.getData("XCXIsSelect");
if (e.money && e.couponnum) {
this.money = e.money;
this.couponnum = e.couponnum;
}
2024-07-16 11:17:34 +08:00
this.getDataX()
2024-06-15 20:59:02 +08:00
},
onShow() {
this.hyCheck = this.$queue.getData('hyCheck');
this.tgCheck = this.$queue.getData('tgCheck');
this.userId = uni.getStorageSync('userId')
if (this.userId) {
this.isLogin = false
this.getUserInfo()
this.getAmount()
this.getIsVip()
} else {
this.isShop = 0;
this.isAgency = 0;
this.isLogin = true
this.userName = '匿名'
this.browse = 0
this.fans = 0
this.follow = 0
this.visitor = 0
this.avatar = '../../static/logo.png'
2024-06-30 19:11:56 +08:00
this.isVip = 0
2024-06-15 20:59:02 +08:00
}
},
2024-08-02 10:01:09 +08:00
methods: {
2024-08-09 18:40:09 +08:00
getUserInfo() {
this.$Request.get("/app/user/selectUserById").then(res => {
console.log("res.data--->", res.data);
if (res.code == 0) {
this.userName = res.data.userName
this.phone = res.data.phone;
this.invitationCode = res.data.invitationCode
this.avatar = res.data.avatar ? res.data.avatar : '../../static/logo.png'
this.isAuthentication = res.data.isAuthentication
this.isAgency = res.data.isAgency ? res.data.isAgency : 0; //是否是推广员 1是 2否
this.blIsJjr=res.data.blIsJjr;//经纪人
2024-08-09 22:45:36 +08:00
this.blIsFxy=res.data.blIsFxy;//分销员
2024-08-09 18:40:09 +08:00
this.money = res.data.money
this.couponnum = res.data.member
// uni.setStorageSync('isAuthentication', res.data.isAuthentication)
this.isShop = res.data.isShop ? res.data.isShop : 0;
uni.setStorageSync('avatar', res.data.avatar)
uni.setStorageSync('userName', res.data.userName)
uni.setStorageSync('invitationCode', res.data.invitationCode)
uni.setStorageSync('zhiFuBao', res.data.zhiFuBao)
uni.setStorageSync('zhiFuBaoName', res.data.zhiFuBaoName)
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)
} else if (res.data.isAuthentication == 4) {
this.renzheng = 4
uni.setStorageSync("renzheng", this.renzheng)
} else if (res.data.isAuthentication == 5) {
this.renzheng = 5
uni.setStorageSync("renzheng", this.renzheng)
} else if (res.data.isAuthentication == 6) {
this.renzheng = 6
uni.setStorageSync("renzheng", this.renzheng)
}
}
});
},
2024-08-07 09:27:45 +08:00
qiye(){
uni.navigateTo({
url:'/pages/shop/qiyeListMy'
})
},
2024-08-02 10:01:09 +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
})
}
})
},
getDataX() {
this.$Request.get("/app/massage/package/findPackageAndMassagePage", {
city: '',
page: 1,
limit: 30,
2024-07-16 11:17:34 +08:00
}).then(res => {
if (res.code == 0) {
if (res.data) {
2024-08-02 10:01:09 +08:00
this.dataList = res.data.list || {}; //追加新数据
for (var i = 0; i < this.dataList.length; i++) {
this.dataList[i].tagsData = this.dataList[i].labels.split(',');
2024-07-16 11:17:34 +08:00
}
}
}
});
},
2024-08-02 10:01:09 +08:00
qidai() {
2024-07-02 22:23:55 +08:00
uni.showToast({
2024-08-02 10:01:09 +08:00
title: '敬请期待!'
2024-07-02 22:23:55 +08:00
})
},
2024-06-15 20:59:02 +08:00
goChat() {
2024-07-26 17:49:35 +08:00
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
2024-06-15 20:59:02 +08:00
let kefuPhone = this.$queue.getData('kefuPhone');
if (kefu == 1) {
uni.makePhoneCall({
phoneNumber: kefuPhone //仅为示例
});
} else if (kefu == 3) {
uni.navigateTo({
url: '/my/setting/customer'
});
} 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
}
},
//退出登录
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.browse = 0
that.fans = 0
that.follow = 0
that.visitor = 0
2024-06-30 19:11:56 +08:00
that.isVip = 0
2024-06-15 20:59:02 +08:00
that.avatar = '../../static/logo.png'
that.userId = uni.getStorageSync('userId')
2024-07-26 17:49:35 +08:00
2024-06-15 20:59:02 +08:00
} 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('用户点击取消');
}
}
})
}
2024-07-26 17:49:35 +08:00
2024-06-15 20:59:02 +08:00
},
//成为按摩师 跳转商户端
bindFb() {
if (this.userId) {
uni.navigateTo({
url: '/pages/my/hehuo'
});
} 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('用户点击取消');
}
}
})
}
},
goNavOrder(index) {
let token = this.$queue.getData('token');
if (token) {
this.$queue.setData('SelectIndex', index);
uni.switchTab({
url: '/pages/order/index'
})
} 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('用户点击取消');
}
}
})
}
},
goNav(e, name) {
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) {
2024-06-12 15:52:21 +08:00
uni.navigateTo({
2024-06-15 20:59:02 +08:00
url: e
2024-06-12 15:52:21 +08:00
})
2024-06-05 19:16:02 +08:00
},
2024-06-15 20:59:02 +08:00
getAmount() {
this.$Request.get("/app/userBrowse/selectAmount").then(res => {
if (res.code == 0) {
this.browse = res.data.browse
this.fans = res.data.fans
this.follow = res.data.follow
this.visitor = res.data.visitor
}
});
},
2024-08-09 18:40:09 +08:00
2024-07-26 17:49:35 +08:00
2024-06-15 20:59:02 +08:00
getIsVip() {
2024-06-27 20:04:31 +08:00
this.$Request.get("/app/UserVip/selectUserVip").then(res => {
2024-06-15 20:59:02 +08:00
if (res.code == 0) {
2024-08-02 10:01:09 +08:00
this.vipNameType = res.data.vipNameType;
2024-07-05 17:21:55 +08:00
this.isVip = res.data.isVip;
2024-08-02 10:01:09 +08:00
this.$queue.setData('isVIP', this.isVip)
2024-06-15 20:59:02 +08:00
}
});
},
2024-08-02 10:01:09 +08:00
chonghi(link) { //我的钱包
2024-06-26 09:49:50 +08:00
if (this.userId) {
2024-08-02 10:01:09 +08:00
if (link == '充值') {
2024-06-26 09:49:50 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/my/wallet/index?text=' + 'my'
2024-06-26 09:49:50 +08:00
})
2024-08-02 10:01:09 +08:00
} else {
2024-06-26 09:49:50 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/my/wallet/mymoneydetail'
2024-06-26 09:49:50 +08:00
})
}
} 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('用户点击取消');
}
}
2024-06-05 19:16:02 +08:00
})
}
},
2024-08-02 10:01:09 +08:00
youhui(link) { //优惠劵,券码兑换,积分兑换 跳页
2024-06-26 09:49:50 +08:00
if (this.userId) {
2024-06-05 19:16:02 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: link
2024-06-05 19:16:02 +08:00
})
2024-06-26 09:49:50 +08:00
} 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('用户点击取消');
}
}
})
}
2024-06-05 19:16:02 +08:00
},
2024-08-09 18:40:09 +08:00
useToUrl(link) { //常用功能跳转页面
// var link = item.link
2024-06-26 09:49:50 +08:00
if (this.userId) {
2024-06-12 15:52:21 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: link
2024-06-05 19:16:02 +08:00
})
2024-06-26 09:49:50 +08:00
} 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('用户点击取消');
}
}
})
}
2024-06-05 19:16:02 +08:00
},
2024-08-02 10:01:09 +08:00
tuangou() {
2024-07-22 19:41:55 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/pages/my/newTeaml?text=' + 'my'
2024-07-22 19:41:55 +08:00
})
},
2024-08-02 10:01:09 +08:00
miaoshao() {
2024-07-19 15:13:22 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/pages/my/newseckill?text=' + 'my'
2024-07-19 15:13:22 +08:00
})
},
2024-08-02 10:01:09 +08:00
meServe(item) {
2024-06-26 09:49:50 +08:00
if (this.userId) {
2024-08-02 10:01:09 +08:00
if (item == "服务套餐") {
2024-06-26 09:49:50 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/pages/my/servicePackage'
2024-06-26 09:49:50 +08:00
})
2024-08-02 10:01:09 +08:00
} else if (item == "项目次卡") {
2024-06-26 09:49:50 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/pages/my/cika'
2024-06-26 09:49:50 +08:00
})
2024-08-02 10:01:09 +08:00
} else if (item == "服务疗程") {
2024-06-26 09:49:50 +08:00
uni.navigateTo({
2024-08-02 10:01:09 +08:00
url: '/pages/my/fuwuliaocheng'
2024-06-26 09:49:50 +08:00
})
}
} 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('用户点击取消');
}
}
2024-06-24 11:29:11 +08:00
})
}
2024-06-05 19:16:02 +08:00
},
2024-08-01 23:09:33 +08:00
itemClick(item) {
let limit = 10;
let page = 1;
if(item.type=='104'){
uni.navigateTo({
url:'/pages/my/serviceOderDrtail?id='+item.id+'&limit='+limit+'&page='+page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon
})
}else if(item.type=='105'){
uni.navigateTo({
url:'/pages/my/cikarDrtail?id='+item.id+'&limit='+limit+'&page='+page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon
})
}else if(item.type=='106'){
uni.navigateTo({
url:'/pages/my/fuwuliaochengDetail?id='+item.id+'&limit='+limit+'&page='+page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon
})
}else{
uni.navigateTo({
url:'/pages/my/fuwuDateil?id='+item.id+'&limit='+limit+'&page='+page+'&name='+'index'+'&isCanCoupon='+item.isCanCoupon
})
}
}
2024-06-05 19:16:02 +08:00
}
}
</script>
2024-06-12 15:52:21 +08:00
<style scoped>
2024-08-02 10:01:09 +08:00
.kefu span {
2024-07-25 09:29:55 +08:00
font-size: 14px;
color: #1296db;
}
2024-08-02 10:01:09 +08:00
.kefu image {
2024-07-25 09:29:55 +08:00
width: 50px;
height: 50px;
}
2024-08-02 10:01:09 +08:00
.kefu {
2024-07-25 09:29:55 +08:00
width: 75px;
height: 75px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: fixed;
right: 0;
bottom: 0;
2024-07-26 17:19:53 +08:00
margin-bottom: 20%;
2024-08-21 11:21:20 +08:00
margin-right: -5px;
2024-07-25 09:29:55 +08:00
}
2024-08-02 10:01:09 +08:00
.shop_label {
2024-07-16 11:17:34 +08:00
display: flex;
flex-wrap: wrap;
2024-07-31 16:57:55 +08:00
margin-top: 4rpx;
2024-07-16 11:17:34 +08:00
}
2024-08-02 10:01:09 +08:00
.shop_label span {
2024-07-25 20:58:11 +08:00
background: linear-gradient(90deg, #ffefde, #fff7ef);
height: 34rpx;
line-height: 34rpx;
2024-07-16 11:17:34 +08:00
border-radius: 8rpx;
2024-07-25 20:58:11 +08:00
padding: 0 10rpx;
font-size: 22rpx;
2024-07-16 11:17:34 +08:00
margin-right: 8rpx;
margin-bottom: 8rpx;
2024-07-25 20:58:11 +08:00
color: #f68607;
2024-07-16 11:17:34 +08:00
}
2024-08-02 10:01:09 +08:00
.item-view-xiangmu span:nth-child(2) {
2024-07-31 16:57:55 +08:00
font-weight: normal;
color: #333333;
font-size: 30rpx;
}
2024-08-02 10:01:09 +08:00
.item-view-xiangmu span:nth-child(1) {
2024-07-31 16:57:55 +08:00
font-weight: normal;
color: #666666;
margin-right: 5rpx;
font-size: 30rpx;
}
2024-08-02 10:01:09 +08:00
.item-view-xiangmu {
2024-07-31 16:57:55 +08:00
width: 100%;
display: flex;
flex-direction: row;
font-weight: 400;
font-size: 25rpx;
align-items: flex-end;
}
2024-08-02 10:01:09 +08:00
.item-view-title {
2024-07-31 16:57:55 +08:00
font-weight: bold;
font-size: 32rpx;
color: #333333;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2024-08-02 10:01:09 +08:00
.item-view {
width: 60%;
2024-07-31 16:57:55 +08:00
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
justify-content: space-between;
2024-08-02 10:01:09 +08:00
padding: 6rpx 0;
2024-07-31 16:57:55 +08:00
}
2024-08-02 10:01:09 +08:00
.item-img {
2024-07-31 16:57:55 +08:00
width: 240rpx;
height: 200rpx;
border-radius: 14rpx;
position: relative;
}
2024-08-02 10:01:09 +08:00
.item-img img {
2024-07-31 16:57:55 +08:00
border-radius: 14rpx;
}
2024-08-02 10:01:09 +08:00
.img-span {
2024-07-31 16:57:55 +08:00
padding: 2px 5px;
font-weight: 400;
font-size: 8px;
color: #FFFFFF;
background: linear-gradient(-90deg, #FF6F48, #FF9E69);
border-radius: 7px 0px 7px 0px;
position: absolute;
bottom: 0px;
right: 0;
margin-bottom: 5px;
margin-right: 5px;
}
2024-08-02 10:01:09 +08:00
2024-07-31 16:57:55 +08:00
.item {
width: 96%;
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: space-between;
background: #FFFFFF;
border-radius: 21rpx;
2024-08-02 10:01:09 +08:00
margin-top: 10px;
2024-07-31 16:57:55 +08:00
align-items: center;
padding: 12px;
}
2024-08-02 10:01:09 +08:00
2024-07-31 16:57:55 +08:00
.item-detail {
padding: 5rpx 15rpx;
border-radius: 10rpx;
font-size: 28rpx;
color: white;
background-color: #007AFF;
}
2024-08-02 10:01:09 +08:00
2024-07-31 16:57:55 +08:00
.item-line {
position: absolute;
bottom: 0rpx;
left: 0rpx;
height: 1px;
width: 100%;
background-color: #eeeeee;
}
2024-08-02 10:01:09 +08:00
.item-view-bottom-btn {
2024-07-16 11:17:34 +08:00
text-align: center;
width: 131rpx;
height: 50rpx;
line-height: 50rpx;
background: linear-gradient(90deg, #019C88, #0FA78B, #35C495);
border-radius: 10rpx;
font-weight: bold;
font-size: 26rpx;
color: #FFFFFF;
margin-top: 8rpx;
}
2024-08-02 10:01:09 +08:00
.item-view-bottom-qian span:nth-child(4) {
font-size: 26rpx;
color: #848484;
text-decoration-line: line-through;
margin-left: 5px;
}
.item-view-bottom-qian span:nth-child(3) {
font-size: 28rpx;
color: #FF6000;
}
.item-view-bottom-qian span:nth-child(2) {
2024-07-31 16:57:55 +08:00
font-weight: bold;
font-size: 36.81rpx;
color: #FF6000;
2024-08-02 10:01:09 +08:00
}
.item-view-bottom-qian span:nth-child(1) {
2024-07-31 16:57:55 +08:00
font-weight: 400;
font-size: 26rpx;
color: #FF6000;
2024-08-02 10:01:09 +08:00
}
.item-view-bottom-qian {
2024-07-31 16:57:55 +08:00
margin-top: 2px;
}
2024-08-02 10:01:09 +08:00
.item-view-bottom {
2024-07-31 16:57:55 +08:00
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
2024-07-16 11:17:34 +08:00
}
2024-08-02 10:01:09 +08:00
.item-view-jianjie {
2024-07-16 11:17:34 +08:00
font-weight: 400;
font-size: 24rpx;
color: #848484;
2024-08-02 10:01:09 +08:00
margin: 5px 0px;
2024-07-16 11:17:34 +08:00
display: -webkit-box;
-webkit-box-orient: vertical;
2024-08-02 10:01:09 +08:00
-webkit-line-clamp: 2;
/* 显示的行数,可以根据需要修改 */
2024-07-16 11:17:34 +08:00
overflow: hidden;
text-overflow: ellipsis;
}
2024-08-02 10:01:09 +08:00
.item-view-biao {
2024-07-16 11:17:34 +08:00
padding: 1px 2px;
border-radius: 6rpx;
}
2024-07-26 17:49:35 +08:00
2024-08-02 10:01:09 +08:00
.prompt-text {
2024-07-05 11:14:12 +08:00
font-size: 21rpx;
color: #999999;
2024-07-04 21:32:04 +08:00
height: 170rpx;
text-align: top;
text-align: center;
2024-07-26 17:49:35 +08:00
padding: 20rpx 0;
2024-07-04 21:32:04 +08:00
}
2024-08-02 10:01:09 +08:00
.my-use-list-text {
2024-06-12 15:52:21 +08:00
color: #6C6C6C;
2024-06-26 19:23:26 +08:00
margin-top: 5px;
font-size: 14px;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-use-list image {
2024-07-23 19:34:01 +08:00
width: 76rpx;
height: 76rpx;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-use {
2024-06-12 15:52:21 +08:00
background: #FFFFFF;
border-radius: 21rpx;
2024-06-26 19:23:26 +08:00
padding: 12px 14px;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
2024-07-04 21:32:04 +08:00
margin: 0px auto 12px auto;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-use-view {
2024-06-25 21:25:46 +08:00
width: 100%;
2024-06-12 15:52:21 +08:00
margin: 5px auto;
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: wrap;
}
2024-08-02 10:01:09 +08:00
.my-serve-view {
2024-08-07 11:24:38 +08:00
width:86%;
2024-07-23 19:34:01 +08:00
margin: 10px auto;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2024-08-02 10:01:09 +08:00
.my-use-list {
2024-08-09 22:45:36 +08:00
width: 33%;
2024-08-07 14:10:50 +08:00
margin-top:15px;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
align-items: center;
}
2024-08-02 10:01:09 +08:00
.my-serve-list {
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
2024-08-02 10:01:09 +08:00
.my-serve-list image {
2024-07-23 19:34:01 +08:00
width: 76rpx;
height: 76rpx;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-serve-list-text {
2024-06-12 15:52:21 +08:00
color: #6C6C6C;
margin-top: 5px;
2024-07-10 14:40:57 +08:00
font-size: 26rpx;
2024-06-12 15:52:21 +08:00
}
2024-07-26 17:49:35 +08:00
2024-08-02 10:01:09 +08:00
.my-serve-title,
.my-use-title {
2024-06-25 21:25:46 +08:00
width: 95%;
2024-06-12 15:52:21 +08:00
font-weight: bold;
2024-06-25 21:25:46 +08:00
font-size: 30rpx;
2024-06-12 15:52:21 +08:00
color: #333333;
2024-06-26 19:23:26 +08:00
margin-left: 8px;
margin-top: 5px;
2024-08-02 10:01:09 +08:00
}
.width {
2024-06-25 21:25:46 +08:00
width: 94%;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-serve {
2024-06-12 15:52:21 +08:00
background: #FFFFFF;
border-radius: 21rpx;
padding: 10px;
display: flex;
flex-direction: column;
2024-07-23 19:34:01 +08:00
margin: 0px auto 8px auto;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-serve,
.my-serve {
2024-06-12 15:52:21 +08:00
background: #FFFFFF;
border-radius: 21rpx;
2024-06-26 19:23:26 +08:00
padding: 12px 14px;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
2024-08-02 10:01:09 +08:00
}
.my-head-bottom {
2024-06-25 21:25:46 +08:00
width: 86%;
2024-08-02 10:01:09 +08:00
}
.my-head-bottom image {
2024-06-12 15:52:21 +08:00
width: 100%;
height: 100%;
}
2024-08-02 10:01:09 +08:00
.my-head-mian-bottom-list image {
2024-07-22 21:28:25 +08:00
width: 80rpx;
height: 80rpx;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-bottom-list-text {
2024-06-26 19:23:26 +08:00
font-size: 26rpx;
2024-07-26 17:49:35 +08:00
color: #6C6C6C;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-bottom-list {
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
2024-08-02 10:01:09 +08:00
.my-head-mian-bottom {
2024-07-23 19:34:01 +08:00
width: 80%;
2024-06-12 15:52:21 +08:00
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: space-between;
2024-07-26 17:49:35 +08:00
padding-bottom: 30rpx;
2024-08-02 10:01:09 +08:00
margin-top: 30rpx;
2024-07-03 10:52:19 +08:00
border-top: 1px #F6F6F6 solid;
2024-07-22 21:28:25 +08:00
padding-top: 20rpx;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.money-list {
2024-07-23 19:34:01 +08:00
display: flex;
flex-direction: column;
align-items: center;
font-size: 20rpx;
margin-top: 20rpx;
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-yuE {
2024-07-22 21:28:25 +08:00
font-size: 60rpx;
color: #111111;
2024-07-23 19:34:01 +08:00
margin-top: 6rpx;
2024-07-03 19:42:22 +08:00
font-weight: bold;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-view-chong,
.my-head-mian-top-view-ming {
2024-07-04 10:33:39 +08:00
width: 136rpx;
height: 58rpx;
2024-07-22 21:28:25 +08:00
line-height: 58rpx;
2024-06-05 19:16:02 +08:00
text-align: center;
2024-07-03 10:52:19 +08:00
border-radius: 60rpx;
font-size: 28rpx;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-view-chong {
2024-07-23 17:50:28 +08:00
background: linear-gradient(90deg, #1bc8ac, #1bc8ac, #1bc8ac);
2024-06-12 15:52:21 +08:00
color: #fff;
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-view-ming {
2024-07-04 10:33:39 +08:00
background: #e6f6f3;
color: #019c88;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-view-qian {
2024-07-22 21:28:25 +08:00
width: 100%;
2024-07-23 17:50:28 +08:00
color: #2f9e8d;
background: linear-gradient(90deg, #edfbfb, #effafc);
2024-07-03 19:42:22 +08:00
margin: 0 auto;
2024-08-02 10:01:09 +08:00
border-radius: 20rpx 20rpx 0 0;
2024-07-23 17:50:28 +08:00
height: 76rpx;
line-height: 74rpx;
2024-07-22 21:28:25 +08:00
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0 20rpx;
font-size: 26rpx;
}
2024-08-02 10:01:09 +08:00
.view-more {
display: inline-block;
border-top: 1px solid;
border-right: 1px solid;
2024-07-22 21:28:25 +08:00
width: 15rpx;
height: 15rpx;
2024-08-02 10:01:09 +08:00
border-color: #019c88;
transform: rotate(45deg);
2024-07-22 21:28:25 +08:00
margin-top: 10rpx;
2024-08-02 10:01:09 +08:00
}
.wallet3 {
2024-07-22 21:28:25 +08:00
width: 38rpx;
height: 34rpx;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top-view {
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: row;
align-items: center;
2024-07-23 19:34:01 +08:00
margin-top: 20rpx;
2024-07-03 19:42:22 +08:00
justify-content: center;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian-top {
2024-06-12 15:52:21 +08:00
width: 95%;
margin: 0 auto;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
2024-07-03 19:42:22 +08:00
padding-top: 20rpx;
2024-07-03 10:52:19 +08:00
text-align: center;
2024-07-03 19:42:22 +08:00
justify-content: center;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-mian {
2024-06-12 15:52:21 +08:00
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
background: #FFFFFF;
border-radius: 21rpx;
}
2024-08-02 10:01:09 +08:00
.my-head-top-id {
2024-07-05 16:58:13 +08:00
width: 26%;
padding: 3rpx 5rpx 6rpx 22rpx;
text-align: center;
2024-07-23 13:58:27 +08:00
/*ckground-image: url(../../static/vip/membership5.png);*/
2024-08-02 10:01:09 +08:00
border-radius: 0 30rpx 30rpx 0;
2024-07-04 13:47:57 +08:00
color: #fff;
position: relative;
}
2024-08-02 10:01:09 +08:00
.my-head-top-id span:nth-child(1) {
2024-07-04 13:47:57 +08:00
margin-left: 20rpx;
2024-07-05 16:58:13 +08:00
font-size: 18rpx;
}
2024-08-02 10:01:09 +08:00
.my-head-texa {
2024-07-05 16:58:13 +08:00
font-size: 26rpx;
2024-07-23 19:34:01 +08:00
color: #555;
2024-07-04 13:47:57 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-vip {
2024-07-05 16:58:13 +08:00
width: 28rpx;
height: 28rpx;
2024-07-04 13:47:57 +08:00
position: absolute;
2024-08-02 10:01:09 +08:00
left: -20rpx;
top: -10rpx
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-top-text {
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
2024-07-05 16:58:13 +08:00
color: #3a3f4f;
2024-07-04 13:54:07 +08:00
margin-bottom: 8rpx;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-top-text span:nth-child(1) {
2024-07-04 13:47:57 +08:00
font-size: 32rpx;
font-weight: bold;
}
2024-08-02 10:01:09 +08:00
.my-head-top-text span:nth-child(2) {
2024-07-04 13:47:57 +08:00
font-size: 26rpx;
}
2024-08-02 10:01:09 +08:00
.my-head-top-view {
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: column;
2024-07-04 13:54:07 +08:00
width: 82%;
2024-06-05 19:16:02 +08:00
}
2024-08-02 10:01:09 +08:00
.my-head-top image {
2024-06-12 15:52:21 +08:00
width: 106rpx;
height: 106rpx;
}
2024-08-02 10:01:09 +08:00
.my-head-top {
2024-06-12 15:52:21 +08:00
width: 100%;
margin: 20px 0px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2024-08-02 10:01:09 +08:00
.my-head {
2024-06-12 15:52:21 +08:00
width: 100%;
/* background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../static/background-img.png');
background-position: center center;
background-repeat: no-repeat;
background-size: cover; */
}
2024-08-02 10:01:09 +08:00
2024-06-12 15:52:21 +08:00
.content {
width: 100%;
height: 100vh;
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f7f7f7), url('../../static/background-img.png');
2024-07-23 15:28:37 +08:00
background-position: center right;
2024-06-12 15:52:21 +08:00
background-repeat: no-repeat;
background-size: cover;
/* background: #f7f7f7; */
overflow: auto;
2024-07-25 09:29:55 +08:00
position: relative;
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
2024-06-12 15:52:21 +08:00
.div-with-background {
2024-07-26 17:49:35 +08:00
2024-08-02 10:01:09 +08:00
width: 300px;
/* 你的容器宽度 */
height: 200px;
/* 你的容器高度 */
2024-06-12 15:52:21 +08:00
}
2024-08-02 10:01:09 +08:00
.back-width {
2024-06-25 21:25:46 +08:00
width: 94%;
2024-06-12 15:52:21 +08:00
display: flex;
2024-06-25 21:25:46 +08:00
margin: 12px auto;
2024-08-02 10:01:09 +08:00
}
.money-img {
2024-07-03 19:42:22 +08:00
width: 45rpx;
height: 45rpx;
margin-bottom: 20rpx;
2024-07-03 14:39:09 +08:00
margin-right: 8rpx;
2024-07-03 10:52:19 +08:00
}
2024-08-02 10:01:09 +08:00
.text-xl {
2024-07-04 21:50:50 +08:00
width: 100rpx;
height: 56rpx;
font-size: 26rpx;
background: linear-gradient(-90deg, #0CA891, #23BBA2);
border-radius: 30rpx;
line-height: 56rpx;
color: #fff;
text-align: center;
}
2024-08-02 10:01:09 +08:00
</style>