jiazhipeng 5 months ago
parent
commit
3df693dc5e
  1. 5
      pages/index/index.vue
  2. 2
      subPackages/webPage/webPage.vue

5
pages/index/index.vue

@ -292,14 +292,14 @@
}
},
onLoad() {
},
onShow() {
// id 4,(subtitle)(address)
this.Post({
id: 4
},'/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() {
@ -307,6 +307,7 @@
this.getWinnowList()
this.getCalendarList()
this.changeType(0)
this.getLocation()
},
onReachBottom() {
setTimeout(() => {

2
subPackages/webPage/webPage.vue

@ -111,6 +111,7 @@ export default {
console.log(fullUrl);
this.url = fullUrl
} else {
uni.getLocation({
success: data => {
uni.setStorageSync('location', {
@ -129,6 +130,7 @@ export default {
this.url = fullUrl
}
})
}
}

Loading…
Cancel
Save