Commit 9f6658cb by 高淑倩

优化

parent b71d9518
{ {
"pages": [ "pages": [
"pages/userCenter/userCenter", "pages/userCenter/userCenter",
"pages/home/home",
"pages/mySpend/mySpend", "pages/mySpend/mySpend",
"pages/memberOfOwn/memberOfOwn", "pages/memberOfOwn/memberOfOwn",
"pages/memberRules/memberRules", "pages/memberRules/memberRules",
...@@ -21,7 +20,6 @@ ...@@ -21,7 +20,6 @@
"pages/my_1/my", "pages/my_1/my",
"pages/wantToBuyDetail/wantToBuyDetail", "pages/wantToBuyDetail/wantToBuyDetail",
"pages/myShare/myShare", "pages/myShare/myShare",
"pages/user-center/user-center",
"pages/productDetail/productDetail", "pages/productDetail/productDetail",
"pages/confirmOrder/confirmOrder", "pages/confirmOrder/confirmOrder",
"pages/myAddress/myAddress", "pages/myAddress/myAddress",
......
// pages/home/home.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 0
})
}
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/home/home.wxml-->
<text>pages/home/home.wxml</text>
/* pages/home/home.wxss */
\ No newline at end of file
// pages/user-center/user-center.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
{
"usingComponents": {}
}
\ No newline at end of file
<!--pages/user-center/user-center.wxml-->
<text>pages/user-center/user-center.wxml</text>
/* pages/user-center/user-center.wxss */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment