邓洁 : 取消下拉刷新
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
// this.pageNum=1
|
||||
// }
|
||||
this.getShopList(q, "refresh")
|
||||
|
||||
|
||||
// }
|
||||
},
|
||||
onReachBottom() {
|
||||
@@ -62,7 +62,7 @@
|
||||
this.pageNum++
|
||||
this.getShopList()
|
||||
console.log("触底加载");
|
||||
}else if (this.shopListLength == 0) {
|
||||
} else if (this.shopListLength == 0) {
|
||||
this.pageNum = 1
|
||||
}
|
||||
},
|
||||
@@ -95,6 +95,7 @@
|
||||
console.log('查询');
|
||||
this.shopInfoList = [...this.shopInfoList, ...res.data.data]
|
||||
}
|
||||
uni.stopPullDownRefresh()
|
||||
console.log(this.shopInfoList);
|
||||
})
|
||||
},
|
||||
@@ -117,13 +118,15 @@
|
||||
page {
|
||||
background-color: #F8F8F8;
|
||||
}
|
||||
.showNull {
|
||||
|
||||
.showNull {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100rpx;
|
||||
color: darkgray;
|
||||
}
|
||||
|
||||
.marginLR10 {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user