Commit 4e78c6cf by 程默

fix home

parent 6ba41b45
......@@ -241,12 +241,10 @@ export default {
wx.stopPullDownRefresh()
},
scrolls(el){
this.setFooterShow(el);
// 优化
// this.setFooterShow(el);
if(this.$mp.page && this.$mp.page.selectComponent(".goodsListItem")){
this.$mp.page.selectComponent(".goodsListItem").getScroll(el);
}
// 优化
if (this.pageData) {
for (let i = 0; i < this.pageData.length; i++) {
const element = this.pageData[i]
......@@ -255,7 +253,10 @@ export default {
com && com.getScroll(el);
}
}
}
},
setFooterShow(el){
let afterScrollTop = el.scrollTop;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment