|
@ -292,14 +292,14 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad() { |
|
|
onLoad() { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
// 后台文章id 4,副标题(subtitle)和地址(address)切换 |
|
|
// 后台文章id 4,副标题(subtitle)和地址(address)切换 |
|
|
this.Post({ |
|
|
this.Post({ |
|
|
id: 4 |
|
|
id: 4 |
|
|
},'/api/article/getArticleById').then(res => { |
|
|
},'/api/article/getArticleById').then(res => { |
|
|
this.isShow = res.data.subtitle == 1 ? true : false |
|
|
// this.isShow = res.data.subtitle == 1 ? true : false |
|
|
|
|
|
this.isShow = res.data.address == 1 ? true : false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
onReady() { |
|
|
onReady() { |
|
@ -307,6 +307,7 @@ |
|
|
this.getWinnowList() |
|
|
this.getWinnowList() |
|
|
this.getCalendarList() |
|
|
this.getCalendarList() |
|
|
this.changeType(0) |
|
|
this.changeType(0) |
|
|
|
|
|
this.getLocation() |
|
|
}, |
|
|
}, |
|
|
onReachBottom() { |
|
|
onReachBottom() { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|