Kaynağa Gözat

fix: 修改首页样式

MTrun 3 yıl önce
ebeveyn
işleme
c4caff75e4
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      src/views/login/index.vue

+ 3 - 1
src/views/login/index.vue

@@ -171,6 +171,7 @@ $--filter-color-base-login: rgba(51, 55, 61, 0.3);
     justify-content: space-evenly;
     align-items: center;
     margin-top: -$--header-height;
+    padding-top: $--header-height;
     &-carousel {
       width: 50%;
       &-img {
@@ -205,8 +206,9 @@ $--filter-color-base-login: rgba(51, 55, 61, 0.3);
   }
 
   &-footer {
-    text-align: center;
     height: $footer-height;
+    margin-top: -$--header-height;
+    text-align: center;
     line-height: $footer-height;
     color: $--color-text-2;
   }