Skip to content

Commit

Permalink
Merge pull request #264 from hongxiangliu/master
Browse files Browse the repository at this point in the history
#2 #27 第2次实验代码
  • Loading branch information
zengsn authored Nov 6, 2017
2 parents e24ec6b + 2aad535 commit b91e5ad
Show file tree
Hide file tree
Showing 12 changed files with 122 additions and 3 deletions.
23 changes: 22 additions & 1 deletion 1514080901119/app.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"pages":[
"pages/index/index",
"pages/logs/logs"
"pages/logs/logs",
"pages/words/words"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "贝雷书签",
"navigationBarTextStyle":"black"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#3cc5···1f",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "image/icon_component.png",
"selectedIconPath": "image/icon_component_HL.png",
"text": "个人"
},
{
"pagePath": "pages/logs/logs",
"iconPath": "image/icon_API.png",
"selectedIconPath": "image/icon_API_HL.png",
"text": ""
}
]
}
}
Binary file added 1514080901119/image/icon_API.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1514080901119/image/icon_API_HL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1514080901119/image/icon_component.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 1514080901119/image/icon_component_HL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion 1514080901119/pages/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const app = getApp()

Page({
data: {
motto: 'Hello World',
motto: '多读书 多看报 多睡觉',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo')
Expand Down
24 changes: 23 additions & 1 deletion 1514080901119/pages/index/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,26 @@

.usermotto {
margin-top: 200px;
}
}
/*
.index-hd {
padding: 80rpx;
text-align: center;
}
.index-bd {
padding: 0 30rpx 40rpx;
}
.index-ft {
padding-bottom: 20rpx;
text-align: center;
}
.index-logo {
width: 86rpx;
height: 86rpx;
}
.index-desc {
margin-top: 20rpx;
color: #888888;
font-size: 28rpx;
}
*/
66 changes: 66 additions & 0 deletions 1514080901119/pages/words/words.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// pages/words/words.js
Page({

/**
* 页面的初始数据
*/
data: {

},

/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {

},

/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {

},

/**
* 生命周期函数--监听页面显示
*/
onShow: function () {

},

/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {

},

/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {

},

/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {

},

/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {

},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})
1 change: 1 addition & 0 deletions 1514080901119/pages/words/words.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 2 additions & 0 deletions 1514080901119/pages/words/words.wxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!--pages/words/words.wxml-->
<text>{{page}}.wxml</text>
1 change: 1 addition & 0 deletions 1514080901119/pages/words/words.wxss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* pages/words/words.wxss */
6 changes: 6 additions & 0 deletions 1514080901119/weui.wxss

Large diffs are not rendered by default.

0 comments on commit b91e5ad

Please sign in to comment.