Explorar el Código

container组件适配h5

ming hace 3 años
padre
commit
1709a11eb7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;
 	}
 }