From f8e9af35a267b7b9a2bf605187a11536889a6e38 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 20 May 2024 11:00:10 +0800
Subject: [PATCH] 修改:绑定银行卡 多语言
---
src/page/login/register.vue | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 61edde4..ac3015b 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -11,12 +11,13 @@
:placeholder="placeholder"
size="medium"
v-model="phone"
+ maxlength="10"
clearable
@input="handleInput()"
>
+ <template slot="prepend">+91</template>
</el-input>
- <!-- <el-input style="margin-top: 0.46rem;" :placeholder="verification" :size="medium" v-model="code" clearable>
- </el-input> -->
+
<el-input
style="margin-top: 0.46rem"
show-password
@@ -122,18 +123,14 @@
},
async gook() {
- if (isNull(this.phone)) {
+ if (this.phone.length == 0) {
Notify({ type: "warning", message: this.$t("hj28") });
} else if (isNull(this.userPassword)) {
Notify({ type: "warning", message: this.$t("hj30") });
} else if (isNull(this.rePassword)) {
Notify({ type: "warning", message: this.$t("hj31") });
} else {
- if (!/(^[1-9]\d*$)/.test(this.phone)) {
- Notify({ type: "warning", message: this.$t("hj28") });
- } else if (this.phone.toString().length != 10) {
- Notify({ type: "warning", message: this.$t("hj28") });
- } else if (this.userPassword !== this.rePassword) {
+ if (this.userPassword !== this.rePassword) {
this.password = 0;
this.password2 = 0;
Notify({ type: "warning", message: this.$t("hj32") });
@@ -277,7 +274,7 @@
height: 70px;
background-color: rgb(246, 246, 247) !important;
// background: #1e1e1e;
- border-radius: 8px;
+ // border-radius: 8px;
font-size: 0.45rem !important;
border: none;
}
@@ -439,6 +436,11 @@
/deep/.el-input__clear {
font-size: 0.5rem !important;
}
+/deep/ .el-input-group__prepend {
+ border: none !important;
+ border-radius: 0 !important;
+ font-size: 0.45rem !important;
+}
.on .top_btn {
background: #2d8cf0 !important;
--
Gitblit v1.9.3