From f7592e59ec0a4f445143aaa2dc427ead0c0b3737 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Mon, 6 Apr 2026 03:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=96=B0=E5=A2=9E=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/register.vue | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pages/register.vue b/pages/register.vue index d8989b6..c967ab9 100644 --- a/pages/register.vue +++ b/pages/register.vue @@ -10,6 +10,13 @@ + + + + + + + @@ -75,6 +82,10 @@ async handleRegister() { if (this.registerForm.username === "") { this.$modal.msgError("请输入您的账号") + } else if (this.registerForm.phonenumber === "") { + this.$modal.msgError("请输入您的手机号") + }else if (this.registerForm.phonenumber.length !== 11) { + this.$modal.msgError("手机号长度必须为11位") } else if (this.registerForm.password === "") { this.$modal.msgError("请输入您的密码") } else if (this.registerForm.confirmPassword === "") { @@ -186,4 +197,16 @@ } } + /deep/ .is-input-border { + border: 0 !important; + border-radius: 20px; + background: transparent !important; + } + /deep/ .uniui-phone { + margin-left: 8px!important; + } + /deep/ .uni-input-placeholder { + font-size: 14px!important; + color: grey!important; + }