This commit is contained in:
唐明明
2022-06-30 16:17:27 +08:00
6 changed files with 1772 additions and 1773 deletions

View File

@@ -85,12 +85,13 @@
end_timestamp: 0,
lists: [],
timeData: {},
type: "1", // 1 加成榜 2推荐榜
page_id:'',
type: "1", // 1 加成榜 2推荐榜
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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long