Browse Source

更新了登录页

duanxiaoduan 1 year ago
parent
commit
38c04afb0b
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/login/index.vue

+ 5 - 5
src/views/login/index.vue

@@ -7,8 +7,8 @@
       <div class="login">
         <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" auto-complete="on" label-position="left" >
           <div class="title-container">
-            <h3 class="title">设备管理系统</h3>
-            <b>Equipment Management System</b>
+            <h3 class="title">万象设备管理系统</h3>
+            <b>WanXiang Equipment Management System</b>
             <hr>
           </div>
           <el-form-item prop="username">
@@ -27,7 +27,7 @@
               <svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
             </span>
           </el-form-item>
-          <el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;background:#009688;" @click.native.prevent="handleLogin" >登录</el-button>
+          <el-button :loading="loading" type="primary" style="width:100%;margin-bottom:30px;background:#50b5ff;" @click.native.prevent="handleLogin" >登录</el-button>
         </el-form>
       </div>
     </div>
@@ -232,7 +232,7 @@ $light_gray: #000;
     }
 
     .show-pwd { position: absolute; right: 10px; top: 7px; font-size: 16px; color: $dark_gray; cursor: pointer; user-select: none; }
-    hr { color: #ccc; }
+    hr { color: #ccc; margin: 20px 0; }
   }
 }
 .content{
@@ -282,7 +282,7 @@ $light_gray: #000;
     background: url("../../assets/images/login-r.jpg") no-repeat;
     background-size:cover;
   }
-  .login-form { position: relative; width: 520px; max-width: 100%; overflow: hidden; }
+  .login-form { position: relative; width: 320px; max-width: 100%; overflow: hidden; }
 }
 
 </style>