736 lines
19 KiB
Vue
Raw Normal View History

2024-02-19 10:44:33 +08:00
<template>
<view :style="viewColor">
<form>
<view class='personal-data'>
<view class="wrapper" v-if="switchUserInfo.length>0">
<view class="title">管理我的账号</view>
2024-03-02 11:47:03 +08:00
<view class="wrapList">
2024-02-19 10:44:33 +08:00
<view class="item acea-row row-between-wrapper" :class="item.uid === userInfo.uid ? 'on' : ''"
2024-03-02 11:47:03 +08:00
:style="{ 'background-image': `url(${item.uid == userInfo.uid ? domain+'/static/diy/currentAcc'+keyColor+'.png' : '' })` }"
v-for="(item,index) in switchUserInfo" :key="index">
2024-02-19 10:44:33 +08:00
<view class="picTxt acea-row row-between-wrapper">
<block v-if='item.uid === userInfo.uid'>
<view class="pictrue" v-if="!mp_is_new" @click="uploadpic">
<image :src="item.avatar || '/static/images/f.png'"></image>
2024-03-02 11:47:03 +08:00
<view v-if="open_update_info != 0" class="radius"><span
class="iconfont iconfonta icon-jilu-xuanzhong"></span></view>
2024-02-19 10:44:33 +08:00
</view>
2024-03-02 11:47:03 +08:00
<button v-if="mp_is_new && open_update_info != 0" class="avatar-box pictrue"
open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
2024-02-19 10:44:33 +08:00
<image :src="item.avatar || '/static/images/f.png'"></image>
2024-03-02 11:47:03 +08:00
<view class="radius"><span
class="iconfont iconfonta icon-jilu-xuanzhong"></span></view>
2024-02-19 10:44:33 +08:00
</button>
<button v-else-if="mp_is_new && open_update_info == 0" class="avatar-box">
<image :src="item.avatar || '/static/images/f.png'"></image>
</button>
</block>
<view class="pictrue" v-else>
<image :src="item.avatar || '/static/images/f.png'"></image>
2024-03-02 11:47:03 +08:00
<view class="radius" v-if="open_update_info != 0"><span
class="iconfont iconfonta icon-jilu-xuanzhong"></span></view>
2024-02-19 10:44:33 +08:00
</view>
<view class="text">
<view class="name line1">{{ item.nickname }}</view>
</view>
2024-03-02 11:47:03 +08:00
</view>
<view class="currentBnt acea-row row-center-wrapper t-color"
v-if='item.uid === userInfo.uid'>
2024-02-19 10:44:33 +08:00
当前账号
</view>
2024-03-02 11:47:03 +08:00
<view class="bnt t-color acea-row row-center-wrapper" @click='switchAccounts(item,index)'
v-else>
2024-02-19 10:44:33 +08:00
使用账号
</view>
</view>
</view>
</view>
<view class="list" v-else>
2024-03-02 11:47:03 +08:00
<view class='item acea-row row-between-wrapper'>
2024-02-19 10:44:33 +08:00
<view>头像</view>
2024-03-02 11:47:03 +08:00
<view class="pictrue" v-if="!mp_is_new" @click="uploadpic">
2024-02-19 10:44:33 +08:00
<image class="avatar" :src="userInfo.avatar || '/static/images/f.png'"></image>
</view>
<button v-else class="avatar-box" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
<image :src="userInfo.avatar || '/static/images/f.png'"></image>
</button>
</view>
</view>
<view class='list' style="margin-top: 1rpx;">
<view class='item acea-row row-between-wrapper'>
<view>昵称</view>
<view class='input acea-row row-between-wrapper' @click="changeInput">
<input type='text' name='nickname' :value='userInfo.nickname' class='id' disabled>
<text v-if="open_update_info != 0" class='iconfont icon-you'></text>
<text v-else class='iconfont icon-suozi'></text>
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>ID号</view>
<view class='input acea-row row-between-wrapper'>
<input type='text' :value='userInfo.uid' disabled='true' class='id'></input>
<text class='iconfont icon-suozi'></text>
</view>
</view>
<view class='item acea-row row-between-wrapper'>
<view>手机号码</view>
2024-03-02 11:47:03 +08:00
<navigator url="/pages/users/user_phone/index" hover-class="none" class="input"
v-if="!userInfo.phone">
2024-02-19 10:44:33 +08:00
点击绑定手机号<text class="iconfont icon-xiangyou"></text>
</navigator>
2024-03-02 11:47:03 +08:00
<navigator url="/pages/users/user_modify_phone/index" hover-class="none"
class='input acea-row row-between-wrapper' v-else>
2024-02-19 10:44:33 +08:00
<text class='id'>{{userInfo.phone}}</text>
<text class='iconfont icon-you'></text>
</navigator>
</view>
<view class='item acea-row row-between-wrapper'>
<view>登录密码</view>
<view class='input acea-row row-between-wrapper' @click="changePwd">
<text class='id'>修改登录密码</text>
<text class='iconfont icon-you'></text>
</view>
</view>
2024-03-20 17:35:35 +08:00
<view class='item acea-row row-between-wrapper'>
<view>支付提现密码</view>
<view class='input acea-row row-between-wrapper' @click="changePayPwd">
<text class='id'>修改支付提现密码</text>
<text class='iconfont icon-you'></text>
</view>
</view>
2024-03-02 11:47:03 +08:00
<view class='item acea-row row-between-wrapper'>
<view>填写邀请码</view>
<view class='input acea-row row-between-wrapper' @click="showPopup">
<input type='text' placeholder="填写他人邀请码" v-model="promotion_code" disabled='true'
class='id'></input>
<text class='iconfont icon-you'></text>
</view>
<uni-popup ref="popup">
<view class="code-popup">
<text class="title">填写邀请码</text>
<u-input type='text' placeholder="填写他人邀请码" v-model="promotion_code" border="surround"
class='id'></u-input>
<u-button class="code-btn" @click="submitCode">确认</u-button>
</view>
</uni-popup>
</view>
2024-02-19 10:44:33 +08:00
<view class='item acea-row row-between-wrapper'>
<view>地址管理</view>
2024-03-02 11:47:03 +08:00
<navigator url="/pages/users/user_address_list/index" hover-class="none"
class='input acea-row row-between-wrapper'>
2024-02-19 10:44:33 +08:00
<text class='id'>立即前往</text>
<text class='iconfont icon-you'></text>
</navigator>
</view>
<view class='item acea-row row-between-wrapper'>
<view>发票管理</view>
2024-03-02 11:47:03 +08:00
<navigator url="/pages/users/user_invoice_list/index" hover-class="none"
class='input acea-row row-between-wrapper'>
2024-02-19 10:44:33 +08:00
<text class='id'>立即前往</text>
<text class='iconfont icon-you'></text>
</navigator>
</view>
<view class='item acea-row row-between-wrapper'>
<view>详细信息</view>
2024-03-02 11:47:03 +08:00
<navigator url="/pages/users/user_info_form/index" hover-class="none"
class='input acea-row row-between-wrapper'>
2024-02-19 10:44:33 +08:00
<text class='id'>立即前往</text>
<text class='iconfont icon-you'></text>
</navigator>
</view>
<view class='item acea-row row-between-wrapper'>
<view>注销账号</view>
<view class='input acea-row row-between-wrapper' @click="changeCancel">
<text class='id'>账号注销后不能恢复</text>
<text class='iconfont icon-you'></text>
</view>
</view>
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
<!--#ifdef APP-PLUS-->
2024-03-02 11:47:03 +08:00
<view class='item acea-row row-between-wrapper' @click="$u.throttle(getVerion, 1500)">
2024-02-19 10:44:33 +08:00
<view>当前版本</view>
<view class='input acea-row row-between-wrapper'>
<input type='text' :value='version' disabled='true' class='id'></input>
2024-03-02 11:47:03 +08:00
<text class='iconfont icon-you'></text>
2024-02-19 10:44:33 +08:00
</view>
</view>
<!--#endif-->
</view>
<!-- #ifdef H5 -->
2024-04-03 17:43:35 +08:00
<view class="logOut acea-row row-center-wrapper" @click="outLogin">退出登录
2024-03-02 11:47:03 +08:00
</view>
2024-02-19 10:44:33 +08:00
<!-- #endif -->
<!-- #ifdef MP || APP-PLUS -->
<view class="logOut acea-row row-center-wrapper" @click="outLogin">退出登录</view>
2024-03-02 11:47:03 +08:00
<!-- #endif -->
2024-02-19 10:44:33 +08:00
<view class="foot-bar"></view>
</view>
</form>
</view>
</template>
<script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import {
getUserInfo,
userEdit,
getLogout,
userAcc,
editAvatar,
2024-03-02 11:47:03 +08:00
updateInfo,
bindPromotionCode
2024-02-19 10:44:33 +08:00
} from '@/api/user.js';
2024-03-02 11:47:03 +08:00
import {
switchH5Login,
getAppVersion
} from '@/api/api.js';
import {
mapGetters
} from "vuex";
import {
configMap
} from '@/utils';
2024-02-19 10:44:33 +08:00
import dayjs from "@/plugin/dayjs/dayjs.min.js";
import Cache from '@/utils/cache';
2024-03-02 11:47:03 +08:00
import {
HTTP_REQUEST_URL
} from '@/config/app';
import {
toLogin
} from '@/libs/login.js';
2024-02-19 10:44:33 +08:00
export default {
components: {},
data() {
return {
2024-03-02 11:47:03 +08:00
promotion_code: '', //邀请码
2024-02-19 10:44:33 +08:00
domain: HTTP_REQUEST_URL,
userInfo: {},
loginType: 'h5',
userIndex: 0,
switchUserInfo: [],
headBg: '../static/images/currentAcc',
mp_is_new: this.$Cache.get('MP_VERSION_ISNEW') || false,
version: ''
};
},
2024-03-02 11:47:03 +08:00
computed: configMap({
open_update_info: 0
}, mapGetters(['isLogin', 'viewColor', 'keyColor'])),
2024-02-19 10:44:33 +08:00
onLoad() {
if (this.isLogin) {
this.getUserInfo();
} else {
toLogin()
}
//#ifdef APP-PLUS
this.appVersionConfig()
//#endif
},
2024-03-02 11:47:03 +08:00
methods: {
2024-02-19 10:44:33 +08:00
toggle(type) {
this.type = type
// open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
this.$refs.popup.open(type)
},
/**
* 上传图片文件
*
*/
2024-03-29 16:47:08 +08:00
uploadpic: async function() {
// #ifdef APP-PLUS
let result = await this.$store.dispatch("permission/requestPermissions",
'CAMERA')
if (result !== 1) return;
result = await this.$store.dispatch("permission/requestPermissions",
'READ_EXTERNAL_STORAGE')
if (result !== 1) return;
// #endif
2024-02-19 10:44:33 +08:00
let that = this;
2024-03-02 11:47:03 +08:00
if (that.open_update_info == 0) {
2024-02-19 10:44:33 +08:00
return;
}
that.$util.uploadImageOne('upload/image', function(res) {
let userInfo = that.switchUserInfo[that.userIndex];
if (userInfo !== undefined) {
userInfo.avatar = res.data.path;
}
that.switchUserInfo[that.userIndex] = userInfo;
2024-03-02 11:47:03 +08:00
editAvatar({
avatar: res.data.path
}).then((res) => {
2024-02-19 10:44:33 +08:00
that.$util.Tips({
2024-03-02 11:47:03 +08:00
title: res.message,
2024-02-19 10:44:33 +08:00
})
2024-03-02 11:47:03 +08:00
})
});
},
2024-02-19 10:44:33 +08:00
// 修改昵称
2024-03-02 11:47:03 +08:00
changeInput() {
if (this.open_update_info == 0) {
2024-02-19 10:44:33 +08:00
return;
}
uni.navigateTo({
url: '/pages/users/user_nickname/index',
})
2024-03-02 11:47:03 +08:00
},
2024-02-19 10:44:33 +08:00
// 微信头像获取
onChooseAvatar(e) {
2024-03-02 11:47:03 +08:00
const {
avatarUrl
} = e.detail
2024-02-19 10:44:33 +08:00
this.$util.uploadImgs('upload/image', avatarUrl, (res) => {
this.userInfo.avatar = res.data.path
2024-03-02 11:47:03 +08:00
editAvatar({
avatar: res.data.path
}).then((res) => {
2024-02-19 10:44:33 +08:00
that.$util.Tips({
2024-03-02 11:47:03 +08:00
title: res.message,
2024-02-19 10:44:33 +08:00
})
})
}, (err) => {
console.log(err)
})
},
// #ifdef APP-PLUS
appVersionConfig() {
2024-02-26 13:35:08 +08:00
let that = this;
2024-03-02 11:47:03 +08:00
console.log('app:' + plus.runtime.appid)
2024-02-19 10:44:33 +08:00
plus.runtime.getProperty(plus.runtime.appid, (info) => {
this.version = info.version;
2024-03-02 11:47:03 +08:00
console.log('当前版本:' + info.version)
});
2024-02-19 10:44:33 +08:00
},
//#endif
switchAccounts: function(item, index) {
let userInfo = this.switchUserInfo[index],
that = this;
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
that.userIndex = index;
if (that.switchUserInfo.length <= 1) return true;
if (userInfo === undefined) return that.$util.Tips({
title: '切换的账号不存在'
});
uni.showLoading({
title: '正在切换中'
});
switchH5Login({
uid: item.uid
}).then(({
data
}) => {
uni.hideLoading();
let newTime = Math.round(new Date() / 1000);
that.$store.commit("LOGIN", {
'token': data.token,
'time': data.exp,
});
that.$store.commit("SETUID", data.user.uid);
that.$store.commit('UPDATE_USERINFO', data.user);
that.getUserInfo();
}).catch(err => {
uni.hideLoading();
return that.$util.Tips({
title: err
});
})
},
/**
* 退出登录
*
*/
outLogin: function() {
2024-03-02 11:47:03 +08:00
let that = this;
2024-02-19 10:44:33 +08:00
if (that.loginType == 'h5') {
uni.showModal({
title: '提示',
content: '确认退出登录?',
success: function(res) {
2024-04-10 16:54:18 +08:00
uni.setStorageSync('tabbar_sale_type', 1);
2024-02-19 10:44:33 +08:00
if (res.confirm) {
getLogout()
.then(res => {
that.$store.commit("LOGOUT");
uni.reLaunch({
url: '/pages/index/index',
});
})
.catch(err => {
console.log(err);
});
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
}
},
// 获取用户列表
userAcc() {
userAcc().then(res => {
let that = this
let switchUserInfo = res.data || [];
for (let i = 0; i < switchUserInfo.length; i++) {
if (switchUserInfo[i].uid == that.userInfo.uid) that.userIndex = i;
// 切割h5用户user_type状态h5、routine小程序、wechat公众号只有h5未注册手机号时h5才可和小程序或是公众号数据想通
//#ifdef H5
if (
!that.$wechat.isWeixin() &&
switchUserInfo[i].user_type != "h5" &&
switchUserInfo[i].phone === ""
)
2024-03-02 11:47:03 +08:00
switchUserInfo.splice(i, 1);
2024-02-19 10:44:33 +08:00
//#endif
}
that.$set(that, "switchUserInfo", switchUserInfo);
})
},
/**修改密码*/
2024-03-02 11:47:03 +08:00
changePwd() {
2024-02-19 10:44:33 +08:00
let that = this;
2024-03-02 11:47:03 +08:00
if (that.userInfo.phone) {
2024-02-19 10:44:33 +08:00
uni.navigateTo({
2024-03-20 17:35:35 +08:00
url: `/pages/users/user_modify_pwd/index?type=loginPwd`
2024-02-19 10:44:33 +08:00
})
2024-03-02 11:47:03 +08:00
} else {
2024-02-19 10:44:33 +08:00
that.$util.Tips({
title: '请先绑定手机号'
});
}
},
2024-03-20 17:35:35 +08:00
// 修改支付提现密码
changePayPwd() {
let that = this;
if (that.userInfo.phone) {
uni.navigateTo({
url: `/pages/users/user_modify_pwd/index?type=payPwd`
})
} else {
that.$util.Tips({
title: '请先绑定手机号'
});
}
},
2024-03-02 11:47:03 +08:00
showPopup() {
if (this.promotion_code) return Toast('已经填写过了');
this.$refs.popup.open();
},
2024-02-19 10:44:33 +08:00
//注销账号
2024-03-02 11:47:03 +08:00
changeCancel() {
2024-02-19 10:44:33 +08:00
uni.navigateTo({
2024-03-02 11:47:03 +08:00
url: '/pages/users/user_about/index?from=' + 'the_cancellation_msg'
2024-02-19 10:44:33 +08:00
})
},
/**
* 获取用户详情
*/
getUserInfo: function() {
let that = this;
getUserInfo().then(res => {
that.$set(that, 'userInfo', res.data);
2024-03-02 11:47:03 +08:00
this.promotion_code = this.userInfo.promotion_code;
if (res.data.phone) {
2024-02-19 10:44:33 +08:00
that.userAcc();
}
});
2024-03-02 11:47:03 +08:00
},
/**
* 获取版本信息
*/
getVerion() {
this.$store.dispatch('INIT_CONFIG', true);
},
// 填写邀请码
submitCode() {
if (!this.promotion_code) return;
bindPromotionCode({
promotion_code: this.promotion_code
}).then(res => {
this.$refs.popup.close();
this.$nextTick(() => {
Toast('修改成功');
})
}).catch(err => {
console.log(err);
})
2024-02-19 10:44:33 +08:00
}
}
}
</script>
<style scoped lang="scss">
2024-03-02 11:47:03 +08:00
html {
-webkit-text-size-adjust: none;
2024-02-19 10:44:33 +08:00
}
2024-03-02 11:47:03 +08:00
.radius {
2024-02-19 10:44:33 +08:00
background-color: white;
width: 35rpx;
height: 35rpx;
border-radius: 50%;
border: 1px solid rgb(187, 43, 5);
line-height: 25rpx;
text-align: center;
position: absolute;
right: 0;
bottom: 0;
}
2024-03-02 11:47:03 +08:00
.iconfonta {
2024-02-19 10:44:33 +08:00
border-radius: 50%;
font-size: 20rpx;
color: red;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
}
2024-03-02 11:47:03 +08:00
.btnb {
2024-02-19 10:44:33 +08:00
border-radius: 0;
height: 100rpx;
line-height: 100rpx;
}
2024-03-02 11:47:03 +08:00
.btna {
2024-02-19 10:44:33 +08:00
height: 100rpx;
line-height: 100rpx;
border-radius: 10rpx 10rpx 0 0;
}
2024-03-02 11:47:03 +08:00
.btnc {
2024-02-19 10:44:33 +08:00
height: 130rpx;
line-height: 130rpx;
border-radius: 0;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data {
padding-bottom: calc(0rpx+ constant(safe-area-inset-bottom)); ///兼容 IOS<11.2/
padding-bottom: calc(0rpx + env(safe-area-inset-bottom)); ///兼容 IOS<11.2/
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper {
margin: 10rpx 0;
background-color: #fff;
padding: 36rpx 30rpx 13rpx 30rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .title {
margin-bottom: 30rpx;
font-size: 32rpx;
color: #282828;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item {
width: 690rpx;
height: 160rpx;
background-color: #f8f8f8;
border-radius: 20rpx;
margin-bottom: 22rpx;
padding: 0 30rpx;
position: relative;
border: 2rpx solid #f8f8f8;
box-sizing: border-box;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.t-color {
color: var(--view-theme);
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item.on {
border-color: var(--view-theme);
border-radius: 20rpx;
background-size: 100% 100%;
background-color: var(--view-minorColor);
background-repeat: no-repeat;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt {
width: 445rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt .pictrue {
width: 96rpx;
height: 96rpx;
position: relative;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt .pictrue image {
width: 100%;
height: 100%;
border-radius: 50%;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt .text {
width: 325rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt .text .name {
width: 100%;
font-size: 30rpx;
color: #282828;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .picTxt .text .phone {
font-size: 24rpx;
color: #999;
margin-top: 10rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .bnt {
font-size: 24rpx;
background-color: #fff;
border-radius: 27rpx;
width: 140rpx;
height: 54rpx;
border: 2rpx solid var(--view-theme);
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .wrapper .wrapList .item .currentBnt {
position: absolute;
right: 0;
top: 0;
font-size: 26rpx;
background-color: var(--view-minorColor);
width: 140rpx;
height: 48rpx;
border-radius: 0 20rpx 0 20rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list {
margin-top: 15rpx;
background-color: #fff;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item {
padding-right: 30rpx;
height: 110rpx;
border-bottom: 1px solid #f2f2f2;
margin-left: 30rpx;
font-size: 32rpx;
color: #282828;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .phone {
width: 160rpx;
height: 56rpx;
font-size: 24rpx;
color: #fff;
line-height: 56rpx;
border-radius: 32rpx
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .pictrue {
width: 88rpx;
height: 88rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .pictrue image {
width: 100%;
height: 100%;
border-radius: 50%;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .input {
min-width: 415rpx;
text-align: right;
color: #868686;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .input .id {
width: 365rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .list .item .input .iconfont {
font-size: 35rpx;
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .modifyBnt {
font-size: 32rpx;
color: #fff;
width: 690rpx;
height: 90rpx;
border-radius: 50rpx;
text-align: center;
line-height: 90rpx;
margin: 76rpx auto 0 auto;
background: var(--view-theme);
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.personal-data .logOut {
font-size: 32rpx;
text-align: center;
width: 690rpx;
height: 90rpx;
border-radius: 45rpx;
margin: 80rpx auto 0 auto;
color: var(--view-theme);
background-color: #ffffff;
border: 1px solid var(--view-theme);
}
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
.avatar-box {
width: 96rpx;
height: 96rpx;
background: transparent;
2024-03-02 11:47:03 +08:00
2024-02-19 10:44:33 +08:00
image {
width: 100%;
height: 100%;
border-radius: 50%;
}
}
2024-03-02 11:47:03 +08:00
.personal-data .list .item .input {
min-width: 415rpx;
text-align: right;
color: #868686;
}
.personal-data .list .item .input .id {
width: 365rpx;
}
.personal-data .list .item .input .iconfont {
font-size: 35rpx;
}
.code-popup {
width: 600rpx;
height: 300rpx;
background-color: #fff;
border-radius: 28rpx;
padding: 28rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
/deep/.u-border {
border-color: transparent !important;
}
.title {
text-align: center;
}
.code-btn {
background-color: $theme-color;
border-radius: 40rpx;
color: #fff;
}
}
</style>