Quellcode durchsuchen

错误页面样式

yangc vor 8 Jahren
Ursprung
Commit
a412337466
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. 3 1
      layouts/error.vue
  2. 3 1
      layouts/errorPage.vue

+ 3 - 1
layouts/error.vue

@@ -53,7 +53,9 @@
       }
     }
     &.mobile-page {
-      background: #ebfdff url("/images/404-mobile.png")no-repeat center center;
+      background: #ebfdff url("/images/404-mobile.png")no-repeat;
+      background-size: contain;
+      background-position-y: 3rem;
       position: fixed;
       top: 0;
       bottom: 0;

+ 3 - 1
layouts/errorPage.vue

@@ -53,7 +53,9 @@
       }
     }
     &.mobile-page {
-      background: #ebfdff url("/images/404-mobile.png")no-repeat center center;
+      background: #ebfdff url("/images/404-mobile.png")no-repeat;
+      background-size: contain;
+      background-position-y: 3rem;
       position: fixed;
       top: 0;
       bottom: 0;