首页和搜索列表增加下拉刷新的样式
This commit is contained in:
parent
b606bc086a
commit
f3f3935096
@ -56,7 +56,8 @@
|
|||||||
mixins = [base, tips];
|
mixins = [base, tips];
|
||||||
config = {
|
config = {
|
||||||
navigationBarTitleText: '游戏大厅',
|
navigationBarTitleText: '游戏大厅',
|
||||||
enablePullDownRefresh: true
|
enablePullDownRefresh: true,
|
||||||
|
backgroundTextStyle: 'dark'
|
||||||
};
|
};
|
||||||
components = {
|
components = {
|
||||||
toast: Toast,
|
toast: Toast,
|
||||||
@ -103,7 +104,7 @@
|
|||||||
|
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
this.initPageParam();
|
this.initPageParam();
|
||||||
this.getRecords();
|
this.getAllData();
|
||||||
}
|
}
|
||||||
|
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
@ -120,7 +121,6 @@
|
|||||||
async onLoad(options) {
|
async onLoad(options) {
|
||||||
let userInfo = this.$parent.getUserInfo();
|
let userInfo = this.$parent.getUserInfo();
|
||||||
let self = this;
|
let self = this;
|
||||||
console.log(userInfo);
|
|
||||||
if (userInfo) {
|
if (userInfo) {
|
||||||
this.nickname = userInfo.nickName;
|
this.nickname = userInfo.nickName;
|
||||||
this.avatar = userInfo.avatarUrl;
|
this.avatar = userInfo.avatarUrl;
|
||||||
|
@ -63,7 +63,8 @@
|
|||||||
mixins = [base, tips];
|
mixins = [base, tips];
|
||||||
config = {
|
config = {
|
||||||
navigationBarTitleText: '搜索',
|
navigationBarTitleText: '搜索',
|
||||||
enablePullDownRefresh: true
|
enablePullDownRefresh: true,
|
||||||
|
backgroundTextStyle: 'dark'
|
||||||
};
|
};
|
||||||
components = {
|
components = {
|
||||||
toast: Toast,
|
toast: Toast,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user