1004749546@qq.com 4 年 前
コミット
c4f98b5523
1 ファイル変更10 行追加2 行削除
  1. 10 2
      pages/userCenter/ldDetailed.vue

+ 10 - 2
pages/userCenter/ldDetailed.vue

@@ -48,7 +48,7 @@
 			return {
 				listdata: [],
 				pageNo: 1,  //  当前页码
-				pageSize: 20,  //  每页条数
+				pageSize: 10,  //  每页条数
 				total: 0,  //  数据总条数
 				noDataText: '暂无数据',  //  列表请求状态提示语
 				status: 'loadmore',  //  加载中状态
@@ -143,6 +143,7 @@
 			},
 			// scroll-view到底部加载更多
 			onreachBottom() {
+				console.log(111111)
 				if(this.listdata.length < this.total){
 					this.pageNo += 1
 					this.searchHandle()
@@ -163,6 +164,8 @@
 	.ldDetailed-container{
 		width: 100%;
 		height: 100%;
+		display: flex;
+		flex-direction: column;
 		.nodata{
 			margin: 50upx 0;
 		}
@@ -172,10 +175,15 @@
 			.u-dropdown__menu__item{
 				background-color: #fff!important;
 			}
+			
+		}
+		> u-dropdown{
+			flex: none !important;
 		}
 		//  列表
 		.scroll-con{
-			height: calc(100% - 40);
+			// height: calc(100% - 40);
+			flex: 1;
 			overflow: auto;
 		}
 		//  列表样式