merge
This commit is contained in:
@@ -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
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
3530
unpackage/dist/dev/app-plus/app-service.js
vendored
3530
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user