Browse Source

container组件适配h5

ming 3 years ago
parent
commit
1709a11eb7
1 changed files with 2 additions and 2 deletions
  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;
 	}
 }