sadjv3_user/pages/my/index.vue

861 lines
22 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-07-05 16:58:13 +08:00
<image :src="avatar" style="width: 100rpx;height: 100rpx;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-07-05 16:58:13 +08:00
<view class="my-head-top-id">
<image class="my-head-vip" style="width:60rpx; height: 60rpx;" src="../../static/vipster.png"></image>
<span>月会员</span>
</view>
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-03 19:42:22 +08:00
<view class="my-head-mian-top-view-qian">我的钱包</view>
2024-06-12 15:52:21 +08:00
<view class="my-head-mian-top">
2024-07-03 10:52:19 +08:00
<view class="flex" style="align-items: flex-end;">
2024-07-03 19:42:22 +08:00
<image class="money-img" src="../../static/money2.png" mode="" @click="qidai()"></image>
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-03 10:22:41 +08:00
2024-06-05 19:16:02 +08:00
</view>
2024-07-03 14:39:09 +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>
<view class="my-head-mian-top-view-ming" @click="chonghi('明细')">明细</view>
</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')">
<image src="../../static/my-kaitonghuiyuan.png" mode="widthFix" v-if="isVip=='1'"></image>
<image src="../../static/activate2.png" mode="widthFix" v-if="isVip=='0'"></image>
<!-- <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>
</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">
<view class="my-use-list" v-for="(item,index) in useList" :key="index" @click="useToUrl(item)">
<image :src="item.urlImg" mode=""></image>
<span class="my-use-list-text">{{item.text}}</span>
</view>
2024-06-05 19:16:02 +08:00
</view>
</view>
2024-07-04 21:32:04 +08:00
<view class="prompt-text">-当你累了 想起盛安到家-</view>
2024-06-05 19:16:02 +08:00
</view>
2024-07-04 21:32:04 +08:00
2024-06-05 19:16:02 +08:00
</template>
<script>
2024-06-12 15:52:21 +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: '匿名',
phone:'18684369159',
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-06-12 15:52:21 +08:00
useList:[
2024-06-15 09:08:10 +08:00
{urlImg:'../../static/my-gong-1.png',text:'我的收藏',link:'/my/gird/shoucang'},
{urlImg:'../../static/my-gong-2.png',text:'成为技师',link:'/pages/my/hehuo'},
2024-06-12 15:52:21 +08:00
{urlImg:'../../static/my-gong-3.png',text:'分享好友',link:'/pages/my/invitationUser'},
2024-06-15 09:08:10 +08:00
{urlImg:'../../static/my-gong-4.png',text:'成为代理商',link:'/pages/my/cooperation'},
2024-06-12 15:52:21 +08:00
{urlImg:'../../static/my-gong-5.png',text:'地址管理',link:'/my/address/address'},
{urlImg:'../../static/my-gong-6.png',text:'帮助中心',link:'/my/help/feedbackIndex'},
{urlImg:'../../static/my-gong-7.png',text:'设置中心',link:'/my/setting/index'},
2024-06-24 11:29:11 +08:00
{urlImg:'../../static/my-gong-8.png',text:'浏览历史',link:'/pages/my/historyMy'},
2024-06-15 09:08:10 +08:00
{urlImg:'../../static/my-gong-9.png',text:'我的团队',link:'/pages/my/myteam'},
2024-06-26 09:49:50 +08:00
],
2024-06-27 20:04:31 +08:00
token:'',
vipData:[]
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;
}
},
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()
2024-06-27 20:04:31 +08:00
2024-06-15 20:59:02 +08:00
} 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-06-12 15:52:21 +08:00
methods:{
2024-07-02 22:23:55 +08:00
qidai(){
uni.showToast({
title:'敬请期待!'
})
},
2024-06-15 20:59:02 +08:00
goChat() {
let kefu = this.$queue.getData('kefu'); // 用户端联系方式 1 手机号 2企业微信
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')
} 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('用户点击取消');
}
}
})
}
},
//成为按摩师 跳转商户端
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
}
});
},
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.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)
}
}
});
// #ifdef APP-PLUS
let clientid = plus.push.getClientInfo().clientid;
let sysPhone = 1;
if (plus.os.name.toLowerCase() === 'android') {
sysPhone = 1;
} else {
sysPhone = 2;
}
let userId = this.$queue.getData('userId');
if (userId) {
this.$Request.postT('/app/user/updateClientId?clientId=' + clientid + '&userId=' + userId +
'&sysPhone=' + sysPhone).then(
res => {});
}
//#endif
},
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-06-30 19:11:56 +08:00
this.isVip = res.data.isVip
this.$queue.setData('isVIP',this.isVip)
2024-06-15 20:59:02 +08:00
}
});
},
2024-06-12 15:52:21 +08:00
chonghi(link){//我的钱包
2024-06-26 09:49:50 +08:00
if (this.userId) {
if(link=='充值'){
uni.navigateTo({
url:'/my/wallet/index?text='+'my'
})
}else{
uni.navigateTo({
url:'/my/wallet/mymoneydetail'
})
}
} 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-06-26 09:49:50 +08:00
2024-06-12 15:52:21 +08:00
2024-06-05 19:16:02 +08:00
},
2024-06-12 15:52:21 +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-06-12 15:52:21 +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-06-12 15:52:21 +08:00
useToUrl(item){//常用功能跳转页面
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({
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-06-12 15:52:21 +08:00
meServe(item){
2024-06-26 09:49:50 +08:00
if (this.userId) {
if(item=="服务套餐"){
uni.navigateTo({
url:'/pages/my/servicePackage'
})
}else if(item=="项目次卡"){
uni.navigateTo({
url:'/pages/my/cika'
})
}else if(item=="服务疗程"){
uni.navigateTo({
url:'/pages/my/fuwuliaocheng'
})
}
} 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
},
}
}
</script>
2024-06-12 15:52:21 +08:00
<style scoped>
2024-06-24 11:29:11 +08:00
2024-07-04 21:32:04 +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-06-12 15:52:21 +08:00
.my-use-list-text{
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-06-12 15:52:21 +08:00
.my-use-list image{
2024-06-26 19:23:26 +08:00
width: 70rpx;
height: 70rpx;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-use{
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
}
.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;
}
.my-serve-view{
2024-06-26 19:23:26 +08:00
width: 86%;
margin: 16px auto;
2024-06-12 15:52:21 +08:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.my-use-list{
width: 25%;
margin-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.my-serve-list{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.my-serve-list image{
2024-06-26 19:23:26 +08:00
width: 90rpx;
height: 90rpx;
2024-06-12 15:52:21 +08:00
}
.my-serve-list-text{
color: #6C6C6C;
margin-top: 5px;
2024-06-26 19:23:26 +08:00
font-size: 26rpx;;
2024-06-12 15:52:21 +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-06-25 21:25:46 +08:00
}
2024-06-12 15:52:21 +08:00
.width{
2024-06-25 21:25:46 +08:00
width: 94%;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-serve{
height: 597rpx;
background: #FFFFFF;
border-radius: 21rpx;
padding: 10px;
display: flex;
flex-direction: column;
2024-06-25 21:25:46 +08:00
margin: 0px auto 12px auto;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-serve,.my-serve{
2024-06-25 21:25:46 +08:00
height: 260rpx;
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-06-25 21:25:46 +08:00
}
2024-06-12 15:52:21 +08:00
.my-head-bottom{
2024-06-25 21:25:46 +08:00
width: 86%;
}
2024-06-12 15:52:21 +08:00
.my-head-bottom image{
width: 100%;
height: 100%;
}
.my-head-mian-bottom-list image{
2024-06-25 21:25:46 +08:00
width: 95rpx;
height: 95rpx;
2024-06-12 15:52:21 +08:00
}
.my-head-mian-bottom-list-text{
2024-06-26 19:23:26 +08:00
font-size: 26rpx;
2024-06-25 21:25:46 +08:00
color: #6C6C6C;
2024-06-12 15:52:21 +08:00
}
.my-head-mian-bottom-list{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.my-head-mian-bottom{
2024-06-25 21:25:46 +08:00
width: 86%;
2024-06-12 15:52:21 +08:00
margin: 0 auto;
display: flex;
flex-direction: row;
justify-content: space-between;
2024-07-03 10:52:19 +08:00
padding-bottom: 12px;
margin-top:30rpx;
border-top: 1px #F6F6F6 solid;
padding-top: 30rpx;
2024-06-12 15:52:21 +08:00
}
.my-head-mian-top-yuE{
2024-07-03 19:42:22 +08:00
font-size: 70rpx;
color: #333;
margin-top: 30rpx;
font-weight: bold;
2024-06-12 15:52:21 +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;
line-height: 60rpx;
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-06-12 15:52:21 +08:00
.my-head-mian-top-view-chong{
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
color: #fff;
2024-07-03 10:52:19 +08:00
margin: 5px 10px;
2024-06-12 15:52:21 +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
}
.my-head-mian-top-view-qian{
2024-07-04 22:44:11 +08:00
width: 360rpx;
2024-07-04 10:33:39 +08:00
font-size: 26rpx;
2024-07-03 10:52:19 +08:00
color: #999;
2024-07-03 19:42:22 +08:00
background: linear-gradient(90deg, #019C88, #28BA92, #35C495);
text-align: center;
margin: 0 auto;
2024-07-04 10:33:39 +08:00
border-radius: 0 0 50rpx 50rpx;
2024-07-04 22:44:11 +08:00
height: 55rpx;
line-height: 55rpx;
2024-07-03 19:42:22 +08:00
color: #ffffff;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-head-mian-top-view{
display: flex;
flex-direction: row;
align-items: center;
2024-07-03 10:52:19 +08:00
margin-top: 30rpx;
2024-07-03 19:42:22 +08:00
justify-content: center;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-head-mian-top{
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
}
.my-head-mian{
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
background: #FFFFFF;
border-radius: 21rpx;
}
.my-head-top-id{
2024-07-05 16:58:13 +08:00
width: 26%;
padding: 3rpx 5rpx 6rpx 22rpx;
text-align: center;
2024-07-04 13:47:57 +08:00
background:linear-gradient(to right,#ff996b,#ff9966,#ff5e62);
border-radius: 0 30rpx 30rpx 0 ;
color: #fff;
position: relative;
}
.my-head-top-id span:nth-child(1){
margin-left: 20rpx;
2024-07-05 16:58:13 +08:00
font-size: 18rpx;
}
.my-head-texa{
font-size: 26rpx;
color: #788298;
2024-07-04 13:47:57 +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-07-05 16:58:13 +08:00
left:-20rpx;
2024-07-04 13:47:57 +08:00
top:-10rpx
2024-06-12 15:52:21 +08:00
}
.my-head-top-text{
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-07-04 13:47:57 +08:00
.my-head-top-text span:nth-child(1){
font-size: 32rpx;
font-weight: bold;
}
.my-head-top-text span:nth-child(2){
font-size: 26rpx;
}
2024-06-12 15:52:21 +08:00
.my-head-top-view{
display: flex;
flex-direction: column;
2024-07-04 13:54:07 +08:00
width: 82%;
2024-06-05 19:16:02 +08:00
}
2024-06-12 15:52:21 +08:00
.my-head-top image{
width: 106rpx;
height: 106rpx;
}
.my-head-top{
width: 100%;
margin: 20px 0px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.my-head{
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; */
}
.content {
width: 100%;
height: 100vh;
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;
/* background: #f7f7f7; */
overflow: auto;
}
.div-with-background {
width: 300px; /* 你的容器宽度 */
height: 200px; /* 你的容器高度 */
}
.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-07-03 10:52:19 +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-07-04 21:50:50 +08:00
.text-xl{
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-06-05 19:16:02 +08:00
</style>