From 584860d11b454774b60c71b63d221b5481c0f3bd Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Wed, 29 Apr 2026 14:21:48 +0800
Subject: [PATCH] 更新为3.29

---
 src/page/login/register.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/page/login/register.vue b/src/page/login/register.vue
index f798786..cb492d6 100644
--- a/src/page/login/register.vue
+++ b/src/page/login/register.vue
@@ -7,9 +7,9 @@
     <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>
+            <!-- <template slot="prepend">+91</template> -->
           </el-input>
 
           <el-input style="margin-top: 0.46rem" show-password :placeholder="$t('hj19')" size="medium"
@@ -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