Browse Source

登录页面背景更改 登录主题更改

lichao 3 years ago
parent
commit
de19408c72
1 changed files with 8 additions and 5 deletions
  1. 8 5
      src/views/login/index.vue

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

@@ -41,7 +41,7 @@
         <el-button
           :loading="loading"
           size="medium"
-          style="width:100%;border-radius: 200px"
+          style="width:100%;border-radius: 200px;background-color: #2A328E;color: #fff"
           @click.native.prevent="handleLogin"
         >
           <span v-if="!loading">登 录</span>
@@ -174,22 +174,25 @@ export default {
   align-items: center;
   width: 100%;
   height: 100%;
-  background-color: #2c3e50;
+  //background-color: #2c3e50;
   position: absolute;
-  background-image: url("https://www.dmu.com.cn/images/banner/banner41.jpg?v=2");
+  //background-image: url("https://www.dmu.com.cn/images/banner/banner41.jpg?v=2");
+  background: url("../../assets/banner/BANNER_Z1.jpg") no-repeat center center;
   background-size: cover;
 }
 .title {
   margin: 0px auto 30px auto;
   text-align: center;
   font-size: 30px;
-  color: #FFFFFF;
+  //color: #FFFFFF;
+  color: #2A328E;
 }
 
 .login-form {
   border-radius: 6px;
   //background: none;
-  background-color: rgba(0,0,0,0.1);
+  //background-color: rgba(0,0,0,0.1);
+  background-color: rgba(255,255,255,0.7);
   width: 400px;
   padding: 25px 25px 5px 25px;
   .el-input {