From 28c86ad0c4effcdc1619a11e5531e8ea63a0d62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Sat, 9 May 2026 15:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types/profile.d.ts | 3 + src/i18n/locales/en-US/index.ts | 1 + src/i18n/locales/zh-CN/index.ts | 1 + src/views/profile/personalCenter/index.vue | 117 +++++++++++++++++---- 4 files changed, 101 insertions(+), 21 deletions(-) diff --git a/src/api/types/profile.d.ts b/src/api/types/profile.d.ts index 13b3efc..795e63d 100644 --- a/src/api/types/profile.d.ts +++ b/src/api/types/profile.d.ts @@ -16,6 +16,7 @@ export interface EditForm { label: string value: string code: string + countryCode?: string } // 密码表单类型 @@ -35,6 +36,7 @@ export interface EditLangTypeParams { export interface BindMobileParams { mobile: string code: string + mobile_area?: string } // 绑定邮箱参数类型 @@ -53,6 +55,7 @@ export interface UpdatePwdByCaptchaParams { reg_type: number email?: string mobile?: string + mobile_area?: string code: string login_password1: string login_password2: string diff --git a/src/i18n/locales/en-US/index.ts b/src/i18n/locales/en-US/index.ts index f6ba2ba..9154ab6 100644 --- a/src/i18n/locales/en-US/index.ts +++ b/src/i18n/locales/en-US/index.ts @@ -39,6 +39,7 @@ export default { bound: 'Bound', goToBind: 'Go to bind', bind: 'Bind', + rebind: 'Rebind', modify: 'Modify', bindEmail: 'Bind Email', bindMobile: 'Bind Mobile', diff --git a/src/i18n/locales/zh-CN/index.ts b/src/i18n/locales/zh-CN/index.ts index c930a96..a2bf894 100644 --- a/src/i18n/locales/zh-CN/index.ts +++ b/src/i18n/locales/zh-CN/index.ts @@ -39,6 +39,7 @@ export default { bound: '已绑定', goToBind: '去绑定', bind: '绑定', + rebind: '重新绑定', modify: '修改', bindEmail: '绑定邮箱', bindMobile: '绑定手机号', diff --git a/src/views/profile/personalCenter/index.vue b/src/views/profile/personalCenter/index.vue index 9e36fa2..3ab914b 100644 --- a/src/views/profile/personalCenter/index.vue +++ b/src/views/profile/personalCenter/index.vue @@ -29,8 +29,9 @@
{{ t('personalCenter.email') }} {{ userInfo.email || t('personalCenter.notSet') }} -