Commit e46291a5 by 程智春

下拉刷新回弹

parent d0be0c73
......@@ -196,13 +196,12 @@ export default {
}
// 获取页面数据
if (this.mpApp.globalData.pageList) {
that.init(this.mpApp.globalData.pageList);
that.init(this.mpApp.globalData.pageList);
} else {
this.mpApp.pageCallBack = function (params) {
that.init(params);
};
}
......@@ -256,6 +255,8 @@ export default {
this.pageInfo = pageList.filter((item) => item.pageCode == 1)[0];
this.pageData = JSON.parse(this.pageInfo.pageData);
console.log("36", this.pageData);
wx.stopPullDownRefresh()
},
scrolls(el){
if(this.$mp.page && this.$mp.page.selectComponent(".goodsListItem")){
......@@ -278,6 +279,8 @@ export default {
console.log('onPullDownRefresh')
app.getShopInfo(extConfig);
app.getThemePage(extConfig);
}
};
</script>
......
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