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,