Browse Source

分页下滑bug修改

1004749546@qq.com 4 years ago
parent
commit
77114bebd8
1 changed files with 8 additions and 1 deletions
  1. 8 1
      pages/index/index.vue

+ 8 - 1
pages/index/index.vue

@@ -162,8 +162,14 @@
 </script>
 
 <style lang="scss">
+	page{
+		height: 100%;
+	}
 	.homePage-container {
 		width: 100%;
+		height: 100%;
+		display: flex;
+		flex-direction: column;
 		padding-top: 102rpx;
 		// 筛选菜单
 		.homePage-head{
@@ -212,7 +218,8 @@
 		}
 		//  列表
 		.scroll-con{
-			height: calc(100% - 40);
+			flex: 1;
+			// height: calc(100% - 40);
 			overflow: auto;
 		}
 		//  列表样式