Commit 7423136d32874e9c18f4390eb387d4dd29a8a09d

Authored by wangfan
1 parent 8729ab88

nickname

... ... @@ -21,7 +21,15 @@
"pages/book/b_setting",
"pages/book/setting/index",
"pages/book/setting/sms",
"pages/book/setting/sms_buy"
"pages/book/setting/sms_buy",
"cookbook/index"
],
"subpackages": [
{
"root": "cookbook",
"name":"提前点餐包",
"pages": ["pages/index"]
}
],
"window": {
"navigationStyle": "custom",
... ...
// cookbook/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{}
\ No newline at end of file
... ...
<!--cookbook/index.wxml-->
<text>cookbook/index.wxml</text>
... ...
/* cookbook/index.wxss */
\ No newline at end of file
... ...