武田小程序
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.

33 lines
703 B

Page({
data: {
menuButtonInfo: {},
7 months ago
wait: true,
},
onLoad() {},
7 months ago
handleScrollToLower(e) {
if (e.detail.direction === "bottom") {
7 months ago
this.setData({
wait: false,
});
7 months ago
}
},
handleCancel() {
7 months ago
const pages = getCurrentPages(); //获取当前页面js里面的pages里的所有信息。
const prevPage = pages[pages.length - 2];
prevPage.setData({
protool: false,
});
wx.navigateBack();
},
handleOk() {
const pages = getCurrentPages(); //获取当前页面js里面的pages里的所有信息。
const prevPage = pages[pages.length - 2];
prevPage.setData({
protool: true,
});
7 months ago
wx.navigateBack();
},
});
export {};