Skip to content

Commit

Permalink
hzuapps#2 hzuapps#188 第2次实验代码
Browse files Browse the repository at this point in the history
  • Loading branch information
hytwork2017 committed Nov 3, 2017
1 parent 97e387e commit 654713c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions 1513071001110/app.wxss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/**app.wxss**/
@import 'weui.wxss';
.container {
height: 100%;
display: flex;
Expand Down
3 changes: 2 additions & 1 deletion 1513071001110/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: 'My Anecdote',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo')
Expand Down Expand Up @@ -52,3 +52,4 @@ Page({
})
}
})

5 changes: 5 additions & 0 deletions 1513071001110/pages/index/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@
<text class="user-motto">{{motto}}</text>
</view>
</view>
<view class="page">
<view class="page__bd page__bd_spacing">
<button class="weui-btn" type="primary">修改示例</button>
</view>
</view>
11 changes: 8 additions & 3 deletions 1513071001110/pages/index/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
color: #aaa;
}

.usermotto {
margin-top: 200px;
}
.button-sp-area{
margin: 0 auto;
padding-top: 15px;
width: 60%;
}
.mini-btn{
margin-right: 5px;
}

0 comments on commit 654713c

Please sign in to comment.