-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Page({ | ||
data:{ | ||
String1 | ||
}, | ||
onLoad:function(options){ | ||
// 生命周期函数--监听页面加载 | ||
String2 | ||
}, | ||
onReady:function(){ | ||
// 生命周期函数--监听页面初次渲染完成 | ||
String3 | ||
}, | ||
onShow:function(){ | ||
// 生命周期函数--监听页面显示 | ||
String4 | ||
}, | ||
onHide:function(){ | ||
// 生命周期函数--监听页面隐藏 | ||
String5 | ||
}, | ||
onUnload:function(){ | ||
// 生命周期函数--监听页面卸载 | ||
String6 | ||
}, | ||
onPullDownRefresh: function() { | ||
// 页面相关事件处理函数--监听用户下拉动作 | ||
String7 | ||
}, | ||
onReachBottom: function() { | ||
// 页面上拉触底事件的处理函数 | ||
String8 | ||
}, | ||
onShareAppMessage: function() { | ||
// 用户点击右上角分享 | ||
return { | ||
title: 'title', // 分享标题 | ||
desc: 'desc', // 分享描述 | ||
path: 'path' // 分享路径 | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"navigationBarTitleText": "data" | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,5 @@ Page({ | |
}, | ||
onHide:function(){ | ||
// 页面隐藏 | ||
}, | ||
onUnload:function(){ | ||
// 页面关闭 | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
{ | ||
"navigationBarTitleText":"flex布局" | ||
"navigationBarTitleText":"flex布局", | ||
"navigationBarBackgroundColor": "#000000", | ||
"navigationBarTextStyle":"white", | ||
"backgroundTextStyle":"dark", | ||
"enablePullDownRefresh":"true" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters