Explorar o código

container组件适配h5

ming %!s(int64=3) %!d(string=hai) anos
pai
achega
1709a11eb7
Modificáronse 1 ficheiros con 2 adicións e 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;
 	}
 }