Browse Source

container组件适配h5

ming 3 năm trước cách đây
mục cha
commit
1709a11eb7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
 	}
 }