2025-03-14 16:55:12 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="contents">
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="navbar">{{$t('mine.title')}}</view>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<view class="content">
|
|
|
|
|
|
<view class="contop">
|
|
|
|
|
|
<view class="">
|
|
|
|
|
|
<!-- <image class="userimg" :src="userinfo.avatar" mode=""></image> -->
|
|
|
|
|
|
<image class="userimg" src="/static/image/mine/user.png" mode=""></image>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="right" @click="changinfo">
|
|
|
|
|
|
<view class="">
|
|
|
|
|
|
<text>迪士尼公主</text>
|
|
|
|
|
|
<image src="/static/image/mine/edit.png" mode=""></image>
|
|
|
|
|
|
</view>
|
2025-03-14 17:32:45 +08:00
|
|
|
|
<view class="mineid">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
ID:080427
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="bottomCon">
|
2025-03-14 17:32:45 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/mine/massege')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon1.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.msg')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<view class="">
|
|
|
|
|
|
<u-badge :value="9" type="error" style="display: inline-block;"></u-badge>
|
|
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/mine/resetPwd')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon2.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.cpassword')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="show=true">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon3.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.contact')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/mine/feedback')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon4.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.feedback')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/mine/about')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon5.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.about')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/mine/logoff')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon6.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.logoff')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<view class="sonContent" @click="navTo('/pages/login/index')">
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<image class="son-img-bg" src="/static/image/mine/icon7.png"></image>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<span>{{$t('mine.logout')}}</span>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
<uni-icons type="right" size="18"></uni-icons>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
</view>
|
2025-03-15 15:46:16 +08:00
|
|
|
|
<!-- 联系客服弹框 -->
|
|
|
|
|
|
<u-popup :show="show" :closeOnClickOverlay="false" :round="20" mode="center">
|
|
|
|
|
|
<view class="popupcontent">
|
|
|
|
|
|
<image class="log1" src="/static/image/mine/kefu.png"></image>
|
|
|
|
|
|
<view class="title">{{$t('mine.kfphone')}}</view>
|
|
|
|
|
|
<view class="calls">13545678952</view>
|
|
|
|
|
|
<button class="btn" @click="callPhone()">{{$t('call')}}</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</u-popup>
|
2025-03-14 16:55:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import { request,showToast } from '@/api/apiT.js'
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
userinfo:'',
|
|
|
|
|
|
show: false
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad() {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
onShow() {
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
changinfo(){
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: '/pages/mine/changinfo'
|
|
|
|
|
|
});
|
2025-03-14 17:32:45 +08:00
|
|
|
|
},
|
|
|
|
|
|
navTo(url) {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: url
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
2025-03-15 15:46:16 +08:00
|
|
|
|
// 拨打电话
|
|
|
|
|
|
callPhone(phoneNumber) {
|
|
|
|
|
|
this.show = false;
|
|
|
|
|
|
if (!phoneNumber) {
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: '请输入电话号码',
|
|
|
|
|
|
icon: 'none',
|
|
|
|
|
|
});
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
uni.makePhoneCall({
|
|
|
|
|
|
phoneNumber: phoneNumber,
|
|
|
|
|
|
success: () => {
|
|
|
|
|
|
console.log('拨打电话成功');
|
|
|
|
|
|
},
|
|
|
|
|
|
fail: (err) => {
|
|
|
|
|
|
console.log('拨打电话失败', err);
|
|
|
|
|
|
},
|
|
|
|
|
|
});
|
|
|
|
|
|
},
|
2025-03-14 16:55:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
2025-03-14 17:32:45 +08:00
|
|
|
|
uni-page-body {
|
|
|
|
|
|
background-color: #F6F6F6 !important;
|
|
|
|
|
|
}
|
2025-03-14 16:55:12 +08:00
|
|
|
|
.u-badge--not-dot{
|
|
|
|
|
|
padding: 5px 8px;
|
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.contents{
|
|
|
|
|
|
background-image: url("/static/image/mine/bg.png");
|
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
}
|
|
|
|
|
|
.navbar{
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
line-height: 50px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.content{
|
|
|
|
|
|
padding:20px 15px 15px;
|
|
|
|
|
|
.contop{
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin: 25px 0px 50px;
|
|
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
.right{
|
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
|
image{
|
|
|
|
|
|
width: 32rpx;
|
|
|
|
|
|
height:32rpx;
|
2025-03-14 17:32:45 +08:00
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
view{
|
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.mineid{
|
|
|
|
|
|
font-size: 24rpx;
|
2025-03-14 16:55:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.slot-image {
|
|
|
|
|
|
/* #ifndef APP-NVUE */
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
/* #endif */
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.userimg{
|
|
|
|
|
|
width: 60px;
|
|
|
|
|
|
height: 60px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
}
|
|
|
|
|
|
.timg{
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 220rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.bottomCon {
|
|
|
|
|
|
margin-top: 40rpx;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
// padding: 0 24rpx 20rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
// border-radius: 22rpx;
|
|
|
|
|
|
// background: #FFFFFF;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
.sonTitle {
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
border-bottom: 2rpx solid #F3F3F3;
|
|
|
|
|
|
}
|
|
|
|
|
|
.sonContent1{
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 22rpx;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
padding: 32rpx 28rpx;
|
|
|
|
|
|
color: #515151;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.sonContent {
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 22rpx;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
// border-bottom: 2rpx solid #F3F3F3;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
padding: 32rpx 28rpx;
|
|
|
|
|
|
color: #000;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
.son-img-bg {
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 50%;
|
|
|
|
|
|
margin-top: -20rpx;
|
|
|
|
|
|
left: 12;
|
|
|
|
|
|
}
|
|
|
|
|
|
span {
|
|
|
|
|
|
margin-left: 68rpx;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-15 15:46:16 +08:00
|
|
|
|
.popupcontent{
|
|
|
|
|
|
padding: 20px 30px;
|
|
|
|
|
|
background: linear-gradient(to bottom, #B1C8FF, #ffffff);
|
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
color: #333333;
|
|
|
|
|
|
.title{
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.calls{
|
|
|
|
|
|
color: #3471FF;
|
|
|
|
|
|
font-size: 40rpx;
|
|
|
|
|
|
margin: 10px 0px;
|
|
|
|
|
|
}
|
|
|
|
|
|
image{
|
|
|
|
|
|
width: 360rpx;
|
|
|
|
|
|
height:360rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.btn{
|
|
|
|
|
|
background: linear-gradient(to right, #3471FF, #6776FF);
|
|
|
|
|
|
color: white;
|
|
|
|
|
|
border-radius: 50px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: 30px;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-03-14 16:55:12 +08:00
|
|
|
|
</style>
|