Quellcode durchsuchen

container组件适配h5

ming vor 3 Jahren
Ursprung
Commit
1709a11eb7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      components/fs-container/fs-container.vue

+ 2 - 2
components/fs-container/fs-container.vue

@@ -36,7 +36,7 @@
 .fs-container{
 	&-header{
 		position: fixed;
-		top: 0;
+		top: var(--window-top);
 		left: 0;
 		right: 0;
 		z-index: 100;
@@ -46,7 +46,7 @@
 		position: fixed;
 		left: 0;
 		right: 0;
-		bottom: 0;
+		bottom: var(--window-bottom);
 		z-index: 100;
 	}
 }