From fe2617a36f52c16f83e7d3cb19d911bb91a3b79f Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期一, 13 六月 2022 09:00:28 +0800
Subject: [PATCH] 删除固定菜单

---
 src/views/login/components/login-form.vue |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/views/login/components/login-form.vue b/src/views/login/components/login-form.vue
index 2aeede9..3056ab0 100644
--- a/src/views/login/components/login-form.vue
+++ b/src/views/login/components/login-form.vue
@@ -37,11 +37,18 @@
                 </div>
             </el-form>
         </div>
+        <div class="pwd-change-redirect"><el-link :underline="false" type="primary" @click="()=>{ this.$router.push({path:'/pwdChange'})}">忘记密码</el-link></div>
         <div class="login-form-button">
-            <el-button class="login-form-login-button" :loading="logingLoading" :disabled="submitLoading" type="primary" @click.native.prevent="handleSubmit">
+            <el-button class="login-form-login-button" :loading="logingLoading" type="primary" @click.native.prevent="handleSubmit">
                   <span>
                       登录
                   </span>
+            </el-button>
+        </div>
+
+        <div style="padding-top: 20px" class="login-form-button">
+            <el-button class="register-btn"  @click="handleRegister">
+                <span style="color: black">注册</span>
             </el-button>
         </div>
     </div>
@@ -133,6 +140,9 @@
         created(){
         },
         methods: {
+            handleRegister(){
+              this.$router.push({path:'/register'})
+            },
             showLoginPwd() {
                 if (this.loginPasswordType === 'password') {
                     this.loginPasswordType = ''
@@ -178,7 +188,7 @@
     }
     .login-form-title{
         width: 60px;
-        height: 143px;
+        height: 130px;
         font-size: 30px;
         font-family: PingFangSC-Medium, PingFang SC;
         font-weight: 600;
@@ -232,8 +242,20 @@
     }
     .login-form-login-button {
         width: 364px;
-        height: 48px;
+        height: 40px;
         background: #4778FF;
         border-radius: 4px;
     }
+
+    .register-btn{
+        width: 364px;
+        height: 40px;
+        color: white;
+        border-radius: 4px;
+    }
+    .pwd-change-redirect{
+        position: relative;
+        top: 10px;
+        right: 10px;
+    }
 </style>

--
Gitblit v1.9.2