onLoad(options) {
this.page_query = options;
},
onShow() {
const _this = this;
wx.pageScrollTo({
scrollTop: 0,
success: function() {
let pages = getCurrentPages(); //页面栈
let currPage = pages[pages.length - 1]; //当前页面
_this.page_query = currPage.options;
_this.scrollData.mustFixed = false;
_this.initAllData();
}
});
},