From 5bc8ec58408782b6438e7a4672376c1f451e8495 Mon Sep 17 00:00:00 2001 From: wangliang Date: Fri, 9 Sep 2022 17:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=86=E7=A0=81=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/authentication/LoginByID.vue | 10 ++++----- src/views/login/ForgetPassView.vue | 30 +++++++++++++++----------- src/views/login/Register.vue | 17 +++++++++------ 3 files changed, 32 insertions(+), 25 deletions(-) diff --git a/src/views/authentication/LoginByID.vue b/src/views/authentication/LoginByID.vue index e5f9511..ef33dcf 100644 --- a/src/views/authentication/LoginByID.vue +++ b/src/views/authentication/LoginByID.vue @@ -30,8 +30,8 @@ @@ -48,14 +48,14 @@ --> @@ -70,11 +70,11 @@
确认密码 - + @@ -125,6 +125,7 @@ export default class ForgetPassView extends Vue { radio: string = "0" checked: boolean = false; passwordType = "password" + passwordTypeNext = "password" showCode = false; //方法 @@ -138,7 +139,9 @@ export default class ForgetPassView extends Vue { switchPasswordType() { this.passwordType = this.passwordType === 'password' ? 'text' : 'password' } - + switchPasswordTypeNext() { + this.passwordTypeNext = this.passwordTypeNext === 'password' ? 'text' : 'password' + } //手机号 verifyPhone(s:string) { return /^1[3-9]\d{9}$/.test(s) // 返回true或false -- 2.22.0