首页和搜索列表增加下拉刷新的样式
This commit is contained in:
parent
b606bc086a
commit
f3f3935096
@ -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;
|
||||
|
@ -63,7 +63,8 @@
|
||||
mixins = [base, tips];
|
||||
config = {
|
||||
navigationBarTitleText: '搜索',
|
||||
enablePullDownRefresh: true
|
||||
enablePullDownRefresh: true,
|
||||
backgroundTextStyle: 'dark'
|
||||
};
|
||||
components = {
|
||||
toast: Toast,
|
||||
|
Loading…
x
Reference in New Issue
Block a user