From 654713c7ce69ac44d1de9849e261e8cde5f55a63 Mon Sep 17 00:00:00 2001 From: hytwork2017 <997551854@qq.com> Date: Fri, 3 Nov 2017 11:23:24 +0800 Subject: [PATCH] =?UTF-8?q?#2=20#188=20=E7=AC=AC2=E6=AC=A1=E5=AE=9E?= =?UTF-8?q?=E9=AA=8C=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1513071001110/app.wxss | 1 + 1513071001110/pages/index/index.js | 3 ++- 1513071001110/pages/index/index.wxml | 5 +++++ 1513071001110/pages/index/index.wxss | 11 ++++++++--- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/1513071001110/app.wxss b/1513071001110/app.wxss index 06c6fc9c..78455985 100644 --- a/1513071001110/app.wxss +++ b/1513071001110/app.wxss @@ -1,4 +1,5 @@ /**app.wxss**/ +@import 'weui.wxss'; .container { height: 100%; display: flex; diff --git a/1513071001110/pages/index/index.js b/1513071001110/pages/index/index.js index 608a282e..47dcb98e 100644 --- a/1513071001110/pages/index/index.js +++ b/1513071001110/pages/index/index.js @@ -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') @@ -52,3 +52,4 @@ Page({ }) } }) + diff --git a/1513071001110/pages/index/index.wxml b/1513071001110/pages/index/index.wxml index c5d09192..45067931 100644 --- a/1513071001110/pages/index/index.wxml +++ b/1513071001110/pages/index/index.wxml @@ -11,3 +11,8 @@ {{motto}} + + + + + diff --git a/1513071001110/pages/index/index.wxss b/1513071001110/pages/index/index.wxss index ce30de01..8fe0f02e 100644 --- a/1513071001110/pages/index/index.wxss +++ b/1513071001110/pages/index/index.wxss @@ -16,6 +16,11 @@ color: #aaa; } -.usermotto { - margin-top: 200px; -} \ No newline at end of file +.button-sp-area{ + margin: 0 auto; + padding-top: 15px; + width: 60%; +} +.mini-btn{ + margin-right: 5px; +}