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/i18n/en.json b/src/i18n/en.json index 57625c1..8039945 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 4961623..ca0ca8a 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 fdef232..f11c8ef 100644 --- a/src/views/profile/certification.vue +++ b/src/views/profile/certification.vue @@ -241,7 +241,11 @@

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

- + +
+
{{$t('common.c12')}}:
+
{{detail.remark}}
+
+ +
+
+
{{$t('common.c13')}}
+
+
{{$t('common.c13')}}
+ +
+
+
+ + + @@ -132,6 +146,7 @@ import LoginPwd from "./login-pwd"; import EmailVerify from "./email-verify"; import GoogleVerify from "./google-verify"; import ChangeVerification from "./change-verification"; +import WithdrawalsPwd from "./withdrawals-pwd"; import Setting from "../../api/setting"; export default { @@ -141,7 +156,8 @@ export default { EmailVerify, GoogleVerify, LoginPwd, - ChangeVerification + ChangeVerification, + WithdrawalsPwd }, data() { return { @@ -152,6 +168,7 @@ export default { emailShow: false, googleShow: false, verification: false, + WithdrawalsShow: false, // 变更校验开关的对象 changeVerificationObj: { status: '', 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 3c3c325..2554360 100644 --- a/src/views/signUp/index.vue +++ b/src/views/signUp/index.vue @@ -64,6 +64,13 @@ +
{{$t('common.c13')}}
+
+ + + +
+
{{$t('homeNewText.ee6')}}
@@ -199,7 +206,8 @@ export default { country_id: "", // 区号id phone: "", parentCode: "", - gc_code: "" + gc_code: "", + withdrawal_psw:"" }, isAgree: false, @@ -309,6 +317,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 +546,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 a8caf10..48fa128 100644 --- a/src/views/wallet/exchange-assets.vue +++ b/src/views/wallet/exchange-assets.vue @@ -440,8 +440,8 @@ {{$t('login.password')}}
-
@@ -542,7 +542,8 @@ addressType: 2, // 默认提币类型 1 为 omni; 2 为 erc20, code_type: 1, code: '', - emailcode: '' + emailcode: '', + withdrawal_psw:'', }, withdrawFee: { @@ -797,14 +798,21 @@ }); 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, }); - return; } if (this.getEmailCodeLock) { return