From 042ab9539dca1f431d71d62ac83e9d9a5abe9352 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Fri, 17 May 2024 18:36:30 +0800
Subject: [PATCH] 增加印度股票以及印度股票账户,打开大宗交易已经新股页面 这里都放出来,增加贷款
---
src/page/login/register.vue | 56 ++------------------------------------------------------
1 files changed, 2 insertions(+), 54 deletions(-)
diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index c3a164c..52bd8b9 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -44,31 +44,6 @@
@input="handleInput()"
>
</el-input>
- <div>
- <el-input
- style="margin-top: 0.46rem"
- :placeholder="$t('请输入邮箱号')"
- size="medium"
- v-model="email"
- @input="handleInput()"
- >
- </el-input>
- <van-button
- :disabled="(email&&!countdown)?false:true"
- type="info"
- class="sendMailCode"
- @click="sendCode"
- >{{ $t("获取验证码") }}</van-button>
- </div>
-
- <el-input
- style="margin-top: 0.46rem"
- :placeholder="$t('hj25')"
- size="medium"
- v-model="mailCode"
- @input="handleInput()"
- >
- </el-input>
</div>
<div
class="radio-con"
@@ -117,6 +92,7 @@
checked: false,
verification: this.$t("hj25"),
loginWay: this.$t("hj26"),
+ loginWay: this.$t("hj26"),
placeholder: this.$t("hj27"),
phone: "",
userName: "",
@@ -124,9 +100,6 @@
userPassword: "",
btnClass: false,
rePassword: "",
- mailCode:"",
- email: '',
- countdown: 0
};
},
mounted() {
@@ -135,26 +108,6 @@
: "";
},
methods: {
- async sendCode(){
- if (!this.email){
- Notify({ type: "warning", message: this.$t("请输入邮箱号") })
- }else {
- // 启动计时器
- this.startCountdown();
- let data = await api.sendMailCode({email: this.email});
- console.log(data)
- }
- },
- startCountdown() {
- this.countdown = 30; // 设置倒计时时间
- const intervalId = setInterval(() => {
- if (this.countdown > 0) {
- this.countdown -= 1;
- } else {
- clearInterval(intervalId);
- }
- }, 1000);
- },
handleInput() {
if (
this.userPassword !== "" &&
@@ -188,10 +141,9 @@
let opts = {
// agentCode:'4023', // SR330001
phone: this.phone,
- yzmCode: this.mailCode,
+ yzmCode: "6666",
userPwd: this.userPassword,
agentCode: this.userName,
- email: this.email
};
let data = await api.register(opts);
if (data.status === 0) {
@@ -489,10 +441,6 @@
}
.agree-model {
- margin-top: 0.2rem;
-}
-
-.sendMailCode{
margin-top: 0.2rem;
}
</style>
--
Gitblit v1.9.3