You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Page({
|
|
|
|
data: {
|
|
|
|
menuButtonInfo: {},
|
|
|
|
wait: true,
|
|
|
|
},
|
|
|
|
onLoad() {},
|
|
|
|
handleScrollToLower(e) {
|
|
|
|
if (e.detail.direction === "bottom") {
|
|
|
|
this.setData({
|
|
|
|
wait: false,
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
|
|
|
handleCancel() {
|
|
|
|
wx.navigateBack();
|
|
|
|
},
|
|
|
|
handleOk() {
|
|
|
|
const pages = getCurrentPages(); //获取当前页面js里面的pages里的所有信息。
|
|
|
|
const prevPage = pages[pages.length - 2];
|
|
|
|
prevPage.setData({
|
|
|
|
protool: true,
|
|
|
|
});
|
|
|
|
this.handleCancel();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
export {};
|