Selaa lähdekoodia

form-item bottom距离

wangtao 2 vuotta sitten
vanhempi
commit
2ffa0a877f
3 muutettua tiedostoa jossa 8 lisäystä ja 5 poistoa
  1. 3 0
      src/App.vue
  2. 2 2
      src/views/index.vue
  3. 3 3
      src/views/login.vue

+ 3 - 0
src/App.vue

@@ -154,5 +154,8 @@ export default  {
 .el-form-item__label{
   padding:0 12px 0 0 !important;
 }
+.el-form-item{
+  margin-bottom:20px;
+}
 </style>
 

+ 2 - 2
src/views/index.vue

@@ -415,7 +415,7 @@ export default {
     }
     .card_right{
       .card_right1{
-        height:calc(35.5vh - 20px);
+        height:calc(35.5vh - 0px);
         #total-squares {
           margin: 2vh auto 0;
           text-align: center;
@@ -432,7 +432,7 @@ export default {
         }
       }
       .card_right2{
-        height:calc(100vh - 35.5vh - 100px);
+        height:calc(100vh - 35.5vh - 120px);
       }
     }
   }

+ 3 - 3
src/views/login.vue

@@ -286,7 +286,7 @@ export default {
   border-radius: 6px;
   background: #ffffff;
   width: 456px;
-  padding: 48px;
+  padding: 48px 48px 38px;
   .el-input {
     height: 40px;
     font-size: 16px !important;
@@ -309,7 +309,7 @@ export default {
   width: 30%;
   height: 36px;
   display: inline-block;
-  margin: 10px 0 0 10px !important;
+  margin: 0px 0 0 10px !important;
   img {
     vertical-align: middle;
     height: 36px;
@@ -319,7 +319,7 @@ export default {
 .shuaxin {
   font-size: 20px;
   float: right;
-  margin-top: 10px;
+  margin-top: 0px;
   cursor: pointer;
 }
 .xuanz {