From b9603964ce15f40bcea680a7375941183d3fe62a Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Mon, 18 Aug 2025 10:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8F=90=E5=B8=81=E5=AF=86?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/setting.js | 3 ++ src/components/CommonFooter.vue | 2 +- src/i18n/en.json | 6 +++- src/i18n/tw.json | 6 +++- src/views/profile/certification.vue | 6 +++- src/views/setting/index.vue | 19 ++++++++++- src/views/setting/withdrawals-pwd.vue | 47 +++++++++++++++++++++++++++ src/views/signUp/index.vue | 22 +++++++++++-- src/views/wallet/exchange-assets.vue | 20 +++++++++--- 9 files changed, 118 insertions(+), 13 deletions(-) create mode 100644 src/views/setting/withdrawals-pwd.vue diff --git a/src/api/setting.js b/src/api/setting.js index 2eaabc5..0a9b695 100644 --- a/src/api/setting.js +++ b/src/api/setting.js @@ -65,6 +65,9 @@ class Setting { static setOrResetPaypwd(data) { return server.post(`/user/setOrResetPaypwd`, data); } + static withdrawalPassword(data) { + return server.post(`/user/withdrawalPassword`, data); + } /** * 设置或重置登录密码 * @param {object} data diff --git a/src/components/CommonFooter.vue b/src/components/CommonFooter.vue index 9d43328..18c8274 100644 --- a/src/components/CommonFooter.vue +++ b/src/components/CommonFooter.vue @@ -497,7 +497,7 @@ export default { background-color: #F1F7FD; border-top: none; color: #000; - position:relative; + // position:relative; .cszone{ width:48px; diff --git a/src/i18n/en.json b/src/i18n/en.json index 53c39a7..b9631da 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -184,7 +184,11 @@ "footerTips2": "Legal Notice: The website is operated by {name}", "footerTips3": "Risk Tip: Digital asset trading may cause your principal loss, please make sure you fully understand the risks.", "footerTips4": "Restricted Areas: Unable to provide services to residents of specific countries / regions, such as Israel and the Islamic Republic of China", - "learn": "Learn" + "learn": "Learn", + "c12": "Rejection Information", + "c13": "Withdrawal password", + "c14": "Please fill in the withdrawal password", + "c15": "Reset withdrawal password" }, "exchange": { "search": "Search", diff --git a/src/i18n/tw.json b/src/i18n/tw.json index b352fcd..e1c07ef 100644 --- a/src/i18n/tw.json +++ b/src/i18n/tw.json @@ -185,7 +185,11 @@ "footerTips2": "法律聲明:該網站由{name}公司運營", "footerTips3": "風險提示:數位資產交易有可能導致您的本金損失,請確保您充分理解其中的風險", "footerTips4": "受限地區:無法為特定國家/地區的居民提供服務,例如:以色列和伊斯蘭共和國", - "learn": "學習" + "learn": "學院", + "c12": "駁回信息", + "c13": "提款密碼", + "c14": "請填写提款密碼", + "c15": "重置提款密碼" }, "exchange": { "search": "蒐索", diff --git a/src/views/profile/certification.vue b/src/views/profile/certification.vue index 2c3fd01..c350ed9 100644 --- a/src/views/profile/certification.vue +++ b/src/views/profile/certification.vue @@ -242,7 +242,11 @@

{{detail.status_text_lang}}!{{$t('profile.resetApply')}}

- + +
+
{{$t('common.c12')}}:
+
{{detail.remark}}
+
+ +
+
+
{{$t('common.c13')}}
+
+
{{$t('common.c13')}}
+ +
+
+
+ + + @@ -129,6 +143,7 @@ import SmsVerify from "./sms-verify"; import TransPwd from "./trans-pwd"; import LoginPwd from "./login-pwd"; +import WithdrawalsPwd from "./withdrawals-pwd"; import EmailVerify from "./email-verify"; import GoogleVerify from "./google-verify"; import ChangeVerification from "./change-verification"; @@ -141,12 +156,14 @@ export default { EmailVerify, GoogleVerify, LoginPwd, - ChangeVerification + ChangeVerification, + WithdrawalsPwd }, data() { return { detail: {}, loginShow: false, + WithdrawalsShow: false, smsShow: false, transShow: false, emailShow: false, diff --git a/src/views/setting/withdrawals-pwd.vue b/src/views/setting/withdrawals-pwd.vue new file mode 100644 index 0000000..ddafb1b --- /dev/null +++ b/src/views/setting/withdrawals-pwd.vue @@ -0,0 +1,47 @@ + + + + + \ No newline at end of file diff --git a/src/views/signUp/index.vue b/src/views/signUp/index.vue index eabe20f..8dc6194 100644 --- a/src/views/signUp/index.vue +++ b/src/views/signUp/index.vue @@ -63,7 +63,11 @@ - +
+ + + +
{{$t('homeNewText.ee6')}}
@@ -199,7 +203,8 @@ export default { country_id: "", // 区号id phone: "", parentCode: "", - gc_code: "" + gc_code: "", + withdrawal_psw:"" }, isAgree: false, @@ -309,6 +314,16 @@ export default { ); return; } + if(this.withdrawal_psw==""){ + this.$message( + { + type: "warning", + message: this.$t("common.c14") + "!" + }, + 1000 + ); + return; + } // 滑块安全性验证 // if (this.user.parentCode) { @@ -528,7 +543,8 @@ export default { password: this.user.password, password_confirmation: this.user.password, code: this.codes.join(""), - invite_code: this.user.parentCode + invite_code: this.user.parentCode, + withdrawal_psw:this.user.withdrawal_psw }; // 分离参数 diff --git a/src/views/wallet/exchange-assets.vue b/src/views/wallet/exchange-assets.vue index 57acc3d..cafaa61 100644 --- a/src/views/wallet/exchange-assets.vue +++ b/src/views/wallet/exchange-assets.vue @@ -440,8 +440,8 @@ {{$t('login.password')}}
-
@@ -538,7 +538,8 @@ coin_id: "", amount: "", address: "", - password: "", + // password: "", + withdrawal_psw:'', addressType: 2, // 默认提币类型 1 为 omni; 2 为 erc20, code_type: 1, code: '', @@ -819,10 +820,19 @@ }); return; } - if (!this.withdraw.password) { + // if (!this.withdraw.password) { + // this.$message({ + // // message: this.$t('login.password'), + // message: this.$t('common.enterPwd'), + // type: "warn", + // duration: 2000, + // }); + // return; + // } + if (!this.withdraw.withdrawal_psw) { this.$message({ // message: this.$t('login.password'), - message: this.$t('common.enterPwd'), + message: this.$t('common.c14'), type: "warn", duration: 2000, });