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.
32 lines
703 B
32 lines
703 B
Page({ |
|
data: { |
|
menuButtonInfo: {}, |
|
wait: true, |
|
}, |
|
onLoad() {}, |
|
handleScrollToLower(e) { |
|
if (e.detail.direction === "bottom") { |
|
this.setData({ |
|
wait: false, |
|
}); |
|
} |
|
}, |
|
handleCancel() { |
|
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, |
|
}); |
|
wx.navigateBack(); |
|
}, |
|
}); |
|
|
|
export {};
|
|
|