Browse Source

【修改】登录页

莫绍宝 3 năm trước cách đây
mục cha
commit
e1e5335847
2 tập tin đã thay đổi với 11 bổ sung14 xóa
  1. 10 13
      src/views/login/index.vue
  2. 1 1
      src/views/setting/role.vue

+ 10 - 13
src/views/login/index.vue

@@ -422,7 +422,7 @@ $back: #333;
       color: $back;
       height: 47px;
       caret-color: $back;
-      // border-bottom: 1px solid #eaeaea;
+      border-bottom: none !important;
       &:-webkit-autofill {
         box-shadow: 0 0 0px 1000px $cursor inset !important;
         -webkit-text-fill-color: $back !important;
@@ -477,6 +477,9 @@ $back: #333;
       top: 50%;
       transform: translate(-50%, -50%);
     }
+    .el-checkbox {
+      margin: 0 !important;
+    }
   }
   /* 可以设置不同的进入和离开动画 */
   /* 设置持续时间和动画函数 */
@@ -496,7 +499,7 @@ $back: #333;
     flex-direction: column;
     justify-content: center;
     align-items: center;
-    margin-top: 35px;
+    margin-top: 30px;
     text-align: center;
     text-align-last: center;
     &-item-tip {
@@ -540,22 +543,17 @@ $light_gray: #eee;
   flex-direction: column;
   justify-content: center;
   align-items: center;
-  padding: 0 30px;
+  margin: 0 30px;
   cursor: pointer;
   font-size: 24px;
   color: #666666;
+  line-height: 40px;
+  border-bottom: 3px solid #FFFFFF;
 }
 .acitve {
   font-weight: bold;
   color: #4684f4;
-}
-.acitve::after {
-  display: block;
-  content: "";
-  margin-top: 7.5px;
-  width: 115px;
-  height: 3px;
-  background-color: #4684f4;
+  border-bottom: 3px solid #4684f4;
 }
 .flexBox {
   display: flex;
@@ -570,7 +568,7 @@ $light_gray: #eee;
   height: 50px;
   margin-bottom: 20px;
   background: #ffffff;
-  border: 1px solid #e6e6e6;
+  border: 1px solid #e6e6e6 !important;
   border-radius: 4px;
 }
 .input-box:last-child {
@@ -631,7 +629,6 @@ $light_gray: #eee;
         letter-spacing: 4px;
         text-align: center;
         margin-bottom: 35px;
-        padding: 10px 0 0 0;
       }
     }
   }

+ 1 - 1
src/views/setting/role.vue

@@ -66,7 +66,7 @@
       <el-tree
         :data="menuRoleList"
         show-checkbox
-        :check-strictly="false"
+        :check-strictly="true"
         :default-expand-all="true"
         node-key="moduleId"
         ref="tree"