From f3f39350966d6b8f05ea2102c2c095b64947f57f Mon Sep 17 00:00:00 2001 From: zhl Date: Tue, 5 Mar 2019 15:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=92=8C=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E4=B8=8B=E6=8B=89=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index.wpy | 6 +++--- src/pages/search.wpy | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/index.wpy b/src/pages/index.wpy index ace3002..db5169a 100644 --- a/src/pages/index.wpy +++ b/src/pages/index.wpy @@ -56,7 +56,8 @@ mixins = [base, tips]; config = { navigationBarTitleText: '游戏大厅', - enablePullDownRefresh: true + enablePullDownRefresh: true, + backgroundTextStyle: 'dark' }; components = { toast: Toast, @@ -103,7 +104,7 @@ onPullDownRefresh() { this.initPageParam(); - this.getRecords(); + this.getAllData(); } onReachBottom() { @@ -120,7 +121,6 @@ async onLoad(options) { let userInfo = this.$parent.getUserInfo(); let self = this; - console.log(userInfo); if (userInfo) { this.nickname = userInfo.nickName; this.avatar = userInfo.avatarUrl; diff --git a/src/pages/search.wpy b/src/pages/search.wpy index 09cdbb9..2196c77 100644 --- a/src/pages/search.wpy +++ b/src/pages/search.wpy @@ -63,7 +63,8 @@ mixins = [base, tips]; config = { navigationBarTitleText: '搜索', - enablePullDownRefresh: true + enablePullDownRefresh: true, + backgroundTextStyle: 'dark' }; components = { toast: Toast,