From cd907938795edf7fd0d14566d6c4d2777b0fc951 Mon Sep 17 00:00:00 2001 From: chenxuhui Date: Mon, 19 Nov 2018 18:29:02 +0800 Subject: [PATCH] add --- app.json | 3 +- pages/myCars/myCars.js | 66 ++++++++++++++++++++++++++++++++++++++++ pages/myCars/myCars.json | 1 + pages/myCars/myCars.wxml | 2 ++ pages/myCars/myCars.wxss | 1 + 5 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 pages/myCars/myCars.js create mode 100644 pages/myCars/myCars.json create mode 100644 pages/myCars/myCars.wxml create mode 100644 pages/myCars/myCars.wxss diff --git a/app.json b/app.json index eb5372a..4d47d77 100644 --- a/app.json +++ b/app.json @@ -4,7 +4,8 @@ "pages/message/message", "pages/mine/mine", "pages/orderList/orderList", - "pages/orderList/orderDetail/orderDetail" + "pages/orderList/orderDetail/orderDetail", + "pages/myCars/myCars" ], "window": { "backgroundTextStyle": "light", diff --git a/pages/myCars/myCars.js b/pages/myCars/myCars.js new file mode 100644 index 0000000..e8e90aa --- /dev/null +++ b/pages/myCars/myCars.js @@ -0,0 +1,66 @@ +// pages/myCars/myCars.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 diff --git a/pages/myCars/myCars.json b/pages/myCars/myCars.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/pages/myCars/myCars.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/pages/myCars/myCars.wxml b/pages/myCars/myCars.wxml new file mode 100644 index 0000000..d78c7c9 --- /dev/null +++ b/pages/myCars/myCars.wxml @@ -0,0 +1,2 @@ + +pages/myCars/myCars.wxml diff --git a/pages/myCars/myCars.wxss b/pages/myCars/myCars.wxss new file mode 100644 index 0000000..cff501b --- /dev/null +++ b/pages/myCars/myCars.wxss @@ -0,0 +1 @@ +/* pages/myCars/myCars.wxss */ \ No newline at end of file