首页和搜索列表增加下拉刷新的样式

This commit is contained in:
zhl 2019-03-05 15:25:03 +08:00
parent b606bc086a
commit f3f3935096
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -63,7 +63,8 @@
mixins = [base, tips];
config = {
navigationBarTitleText: '搜索',
enablePullDownRefresh: true
enablePullDownRefresh: true,
backgroundTextStyle: 'dark'
};
components = {
toast: Toast,