This commit is contained in:
2022-06-30 16:15:54 +08:00
parent 9e0a4d13c8
commit edd8395e53
4 changed files with 6 additions and 7 deletions

View File

@@ -86,11 +86,12 @@
lists: [],
timeData: {},
type: "1", // 1 加成榜 2推荐榜
page_id:'',
page_id: '',
}
},
onLoad() {
onShow() {
this.getList();
console.log('onshow...')
},
methods: {
@@ -100,7 +101,6 @@
changeType(type) {
if (this.type !== type) {
this.type = type;
this.getList();
}
},
@@ -110,7 +110,7 @@
})
},
getList() {
uni.showLoading({})
let urlRequest = ''
if (this.type === '1') {
urlRequest = week_mul
@@ -122,7 +122,6 @@
this.lists = res.rand;
this.page_id = res.page_id;
this.end_timestamp = res.end_timestamp * 1000;
uni.hideLoading();
}).catch(err => {
uni.showToast({
title: err.message,

BIN
static/tabBar/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 2.6 KiB

File diff suppressed because one or more lines are too long