From 0ef335dce6b9f40f094fa46e08b0888a594fd2e1 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Tue, 19 May 2026 17:38:30 +0800
Subject: [PATCH] 1

---
 src/page/login/register.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index 4582ecf..cb492d6 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -7,7 +7,7 @@
     <div class="logins_content">
       <div class="login_forms">
         <div class="top_forms">
-          <el-input :placeholder="placeholder" size="medium" v-model="phone" maxlength="10" clearable
+          <el-input :placeholder="placeholder" size="medium" v-model="phone" maxlength="13" clearable
             @input="handleInput()">
             <!-- <template slot="prepend">+91</template> -->
           </el-input>
@@ -26,7 +26,7 @@
           <van-checkbox v-model="checked">{{
             $t("我已閱讀並同意")
           }}</van-checkbox>
-          <span @click="gotoxy" style="color: #c4d600">{{
+          <span @click="gotoxy" style="color: #00f0ff">{{
             $t("《用戶服務協議》")
           }}</span>
         </div>
@@ -39,7 +39,7 @@
 
           <!-- <div class="register" @click="$router.push('/login')">
             {{ $t("已有賬號?")
-            }}<span style="color: #c4d600">{{ $t("馬上登錄") }}</span>
+            }}<span style="color: #00f0ff">{{ $t("馬上登錄") }}</span>
           </div> -->
         </div>
       </div>
@@ -99,6 +99,8 @@
     async gook() {
       if (this.phone.length == 0) {
         Notify({ type: "warning", message: this.$t("hj28") });
+      } else if (this.phone.length < 8) {
+        Notify({ type: "warning", message: this.$t("不能小于8位数") });
       } else if (isNull(this.userPassword)) {
         Notify({ type: "warning", message: this.$t("hj30") });
       } else if (isNull(this.rePassword)) {
@@ -140,7 +142,7 @@
 </script>
 
 <style scoped lang="less">
-@green: #c4d600;
+@green: #00f0ff;
 
 .register {
   font-style: normal;

--
Gitblit v1.9.3