From ce39d10569bedc149a51f1079276035c1c149e0c Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Mon, 4 Apr 2022 14:25:45 +0800 Subject: [PATCH] =?UTF-8?q?payee=E3=80=82js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/payee/index.js | 80 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 pages/payee/index.js diff --git a/pages/payee/index.js b/pages/payee/index.js new file mode 100644 index 0000000..d56a790 --- /dev/null +++ b/pages/payee/index.js @@ -0,0 +1,80 @@ +// pages/payee/index.js +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + list: ['a', 'b', 'c'], + result: ['a', 'b'], + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + onChange(event) { + this.setData({ + result: event.detail, + }); + }, + + toggle(event) { + const { index } = event.currentTarget.dataset; + const checkbox = this.selectComponent(`.checkboxes-${index}`); + checkbox.toggle(); + }, + noop() {}, + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file