From bad2bc143be3f8ddb93a1c9f984127b3ccf43e8f Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 31 三月 2025 17:47:14 +0800
Subject: [PATCH] 11

---
 src/views/login.vue |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/views/login.vue b/src/views/login.vue
index 1699487..af01c3d 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -1,8 +1,7 @@
 <template>
   <div class="login">
     <!-- <div style="padding-top: 130px;"> -->
-      <h2>鍏村钩鍏村寲绀惧尯鏈嶅姟绔�</h2>
-      <h1>鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</h1>
+      <div style="font-weight: 700;font-size: 50px;">鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</div>
     <!-- </div> -->
 
 
@@ -59,7 +58,8 @@
 
     <!--  搴曢儴  -->
     <div class="el-login-footer">
-      <span>Copyright 漏 2022-2023榫欑編缃戠粶 All Rights Reserved.</span>
+      <span>Copyright 漏 2023-2024 All Rights Reserved.</span>
+      <!-- <span>Copyright 漏 2022-2023榫欑編缃戠粶 All Rights Reserved.</span> -->
     </div>
   </div>
 </template>
@@ -87,14 +87,14 @@
       },
       loginRules: {
         username: [
-          { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" }
+          { required: true, trigger: "blur", message: "" }
         ],
         password: [
-          { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" }
+          { required: true, trigger: "blur", message: "" }
         ],
-        code: [{ required: true, trigger: "change", message: "璇疯緭鍏ラ獙璇佺爜" }],
+        code: [{ required: true, trigger: "change", message: "" }],
         mobile: [
-          { required: true, trigger: "change", message: "璇烽�夋嫨" }
+          { required: true, trigger: "change", message: "" }
         ]
       },
       pwdtype: 'password',
@@ -151,8 +151,8 @@
     },
 
     hide() {
-      this.loginForm.username = "10001";
-      this.loginForm.password = "admin123";
+      // this.loginForm.username = "10001";
+      // this.loginForm.password = "admin123";
     },
     changetype() {
       this.pwdtype = this.pwdtype === 'password' ? 'text' : 'password'
@@ -185,7 +185,7 @@
       }
     },
     handleLogin() {
-      if (this.loginForm.username.length < 6) {
+      if (this.loginForm.username.length < 12) {
         this.loginForm.mobile = true;
         this.$router.push({ path: this.redirect || "/" }).catch(() => { });
       } else {
@@ -252,13 +252,14 @@
 <style rel="stylesheet/scss" lang="scss">
 .login {
   display: flex;
-  justify-content: center;
+  justify-content: flex-start;
   align-items: center;
   width: 100%;
   height: 100%;
   // background-image: url("../assets/images/login-background.jpg");
   background-size: cover;
   flex-direction: column;
+  margin-top: 170px;
 }
 
 .card {

--
Gitblit v1.8.0