Showing
5 changed files
with
79 additions
and
1 deletions
| @@ -21,7 +21,15 @@ | @@ -21,7 +21,15 @@ | ||
| 21 | "pages/book/b_setting", | 21 | "pages/book/b_setting", |
| 22 | "pages/book/setting/index", | 22 | "pages/book/setting/index", |
| 23 | "pages/book/setting/sms", | 23 | "pages/book/setting/sms", |
| 24 | - "pages/book/setting/sms_buy" | 24 | + "pages/book/setting/sms_buy", |
| 25 | + "cookbook/index" | ||
| 26 | + ], | ||
| 27 | + "subpackages": [ | ||
| 28 | + { | ||
| 29 | + "root": "cookbook", | ||
| 30 | + "name":"提前点餐包", | ||
| 31 | + "pages": ["pages/index"] | ||
| 32 | + } | ||
| 25 | ], | 33 | ], |
| 26 | "window": { | 34 | "window": { |
| 27 | "navigationStyle": "custom", | 35 | "navigationStyle": "custom", |
cookbook/pages/index.js
0 → 100644
| 1 | +// cookbook/index.js | ||
| 2 | +Page({ | ||
| 3 | + | ||
| 4 | + /** | ||
| 5 | + * 页面的初始数据 | ||
| 6 | + */ | ||
| 7 | + data: { | ||
| 8 | + | ||
| 9 | + }, | ||
| 10 | + | ||
| 11 | + /** | ||
| 12 | + * 生命周期函数--监听页面加载 | ||
| 13 | + */ | ||
| 14 | + onLoad: function (options) { | ||
| 15 | + | ||
| 16 | + }, | ||
| 17 | + | ||
| 18 | + /** | ||
| 19 | + * 生命周期函数--监听页面初次渲染完成 | ||
| 20 | + */ | ||
| 21 | + onReady: function () { | ||
| 22 | + | ||
| 23 | + }, | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * 生命周期函数--监听页面显示 | ||
| 27 | + */ | ||
| 28 | + onShow: function () { | ||
| 29 | + | ||
| 30 | + }, | ||
| 31 | + | ||
| 32 | + /** | ||
| 33 | + * 生命周期函数--监听页面隐藏 | ||
| 34 | + */ | ||
| 35 | + onHide: function () { | ||
| 36 | + | ||
| 37 | + }, | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * 生命周期函数--监听页面卸载 | ||
| 41 | + */ | ||
| 42 | + onUnload: function () { | ||
| 43 | + | ||
| 44 | + }, | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
| 48 | + */ | ||
| 49 | + onPullDownRefresh: function () { | ||
| 50 | + | ||
| 51 | + }, | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * 页面上拉触底事件的处理函数 | ||
| 55 | + */ | ||
| 56 | + onReachBottom: function () { | ||
| 57 | + | ||
| 58 | + }, | ||
| 59 | + | ||
| 60 | + /** | ||
| 61 | + * 用户点击右上角分享 | ||
| 62 | + */ | ||
| 63 | + onShareAppMessage: function () { | ||
| 64 | + | ||
| 65 | + } | ||
| 66 | +}) |
cookbook/pages/index.json
0 → 100644
| 1 | +{} |
cookbook/pages/index.wxml
0 → 100644
cookbook/pages/index.wxss
0 → 100644
| 1 | +/* cookbook/index.wxss */ |
-
Please register or login to post a comment