diff --git a/src/api/profile.js b/src/api/profile.js index d9d3d71..6a3f25b 100644 --- a/src/api/profile.js +++ b/src/api/profile.js @@ -33,9 +33,16 @@ class Profile { * @param {string} data.back_img //证件照反面 * @param {string} data.hand_img //手持证件照 */ - static topAuth(data) { - return server.post(`/user/topAuth`, data); + static newAuth(data) { + return server.post(`/user/newAuth`, data); } + + /** + * 合并认证 + **/ + static topAuth(data) { + return server.post(`/user/topAuth`, data); + } /** * 登录记录 diff --git a/src/components/CommonHeader.vue b/src/components/CommonHeader.vue index 2bdac65..ad23d69 100644 --- a/src/components/CommonHeader.vue +++ b/src/components/CommonHeader.vue @@ -181,8 +181,10 @@

- {{ userInfo.user_auth_level_text || signed.user_auth_level_text }} - + + ,{{ $t('common.goTo') }}

diff --git a/src/components/SecondaryNav.vue b/src/components/SecondaryNav.vue index 45aed31..fb04eb4 100644 --- a/src/components/SecondaryNav.vue +++ b/src/components/SecondaryNav.vue @@ -62,10 +62,15 @@ export default { this.itemList = [{ url: `/profile/index`, label: this.$t('common.accountInformation'), - }, { - url: `/profile/certification`, - label: this.$t('common.auth') - }, + }, + // { + // url: `/profile/certification`, + // label: this.$t('common.auth') + // }, + { + url: `/profile/mergecertification`, + label: this.$t('common.auth') + }, // { // url: `/profile/invite`, // label: this.$t('common.invitationReward') diff --git a/src/i18n/tw.json b/src/i18n/tw.json index 719907f..66a49b0 100644 --- a/src/i18n/tw.json +++ b/src/i18n/tw.json @@ -786,7 +786,13 @@ "clickToVerify1": "已完成", "tips1": "初級認證:要選取現金,您需要完成高級認證。", "tips2": "高級認證:最高5000USDT 24小時提款限額。 如需更多取款金額,請聯系客服", - "tips3":"恭喜您,高級認證已通過!" + "tips3": "恭喜您,高級認證已通過!", + "certificationapplication": "認證申請", + "submitcertification": "提交認證", + "submittedforcertification": "已提交認證", + "certificationpassed": "恭喜您,認證已通過!", + "withdrawal1": "提幣需要通過實名認證", + "withdrawal2": "提幣達到了平台的風控限制,需要實名認證" }, "setting": { "smsVer": "簡訊驗證", diff --git a/src/router/profile.js b/src/router/profile.js index 7598e46..f28c093 100644 --- a/src/router/profile.js +++ b/src/router/profile.js @@ -2,6 +2,7 @@ import Profile from '@/views/profile'; import ResetPwd from '@/views/profile/reset-pwd'; import Certification from '@/views/profile/certification'; +import Mergecertification from '@/views/profile/mergecertification'; import Invite from '@/views/profile/invite'; import LoginHistory from '@/views/profile/login-history'; @@ -19,6 +20,11 @@ export default [ name: "certification", path: "/profile/certification", // 实名认证 component: Certification + }, + { + name: "mergecertification", + path: "/profile/mergecertification", // 合并实名认证 + component: Mergecertification }, { name: "invite", diff --git a/src/views/profile/mergecertification.vue b/src/views/profile/mergecertification.vue new file mode 100644 index 0000000..77a5054 --- /dev/null +++ b/src/views/profile/mergecertification.vue @@ -0,0 +1,315 @@ + + + + + \ No newline at end of file diff --git a/src/views/wallet/exchange-assets.vue b/src/views/wallet/exchange-assets.vue index 6c1b77c..5d4c027 100644 --- a/src/views/wallet/exchange-assets.vue +++ b/src/views/wallet/exchange-assets.vue @@ -16,7 +16,7 @@
-
{{ userInfo.email }}
+
{{ userInfo.email }}
{{ userInfo.user_auth_level_text }}
@@ -656,17 +656,17 @@ export default { // 进入充值 enterDeposite(item) { - if(this.userInfo.user_auth_level!=0){ + // if(this.userInfo.user_auth_level!=0){ this.depositeCoin = item.coin_name; this.deposite.coin_id = item.coin_id; // 初始化充值地址 this.getDepositeAdress(); this.bool = true; $("#deposite").modal("show"); - }else{ - // this.$message.error(this.$t("wallet.auth")) - this.$router.push("/profile/certification") - } + // }else{ + // // this.$message.error(this.$t("wallet.auth")) + // this.$router.push("/profile/certification") + // } }, //获取充值地址 getRechargeAdd(){