...
This commit is contained in:
@@ -85,12 +85,13 @@
|
|||||||
end_timestamp: 0,
|
end_timestamp: 0,
|
||||||
lists: [],
|
lists: [],
|
||||||
timeData: {},
|
timeData: {},
|
||||||
type: "1", // 1 加成榜 2推荐榜
|
type: "1", // 1 加成榜 2推荐榜
|
||||||
page_id:'',
|
page_id: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onShow() {
|
||||||
this.getList();
|
this.getList();
|
||||||
|
console.log('onshow...')
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
@@ -100,7 +101,6 @@
|
|||||||
changeType(type) {
|
changeType(type) {
|
||||||
if (this.type !== type) {
|
if (this.type !== type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
||||||
this.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
uni.showLoading({})
|
|
||||||
let urlRequest = ''
|
let urlRequest = ''
|
||||||
if (this.type === '1') {
|
if (this.type === '1') {
|
||||||
urlRequest = week_mul
|
urlRequest = week_mul
|
||||||
@@ -122,7 +122,6 @@
|
|||||||
this.lists = res.rand;
|
this.lists = res.rand;
|
||||||
this.page_id = res.page_id;
|
this.page_id = res.page_id;
|
||||||
this.end_timestamp = res.end_timestamp * 1000;
|
this.end_timestamp = res.end_timestamp * 1000;
|
||||||
uni.hideLoading();
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: err.message,
|
title: err.message,
|
||||||
|
|||||||
BIN
static/tabBar/.DS_Store
vendored
Normal file
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 |
2
unpackage/dist/dev/app-plus/app-service.js
vendored
2
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user