This commit is contained in:
xingyy 2023-09-26 16:17:28 +08:00
parent 757a8dd466
commit 7217e97f2c
2 changed files with 9 additions and 2 deletions

View File

@ -42,8 +42,11 @@ export default {
elementBottom:'' elementBottom:''
} }
}, },
mounted(){ onShow(){
this.getData() this.getData()
},
mounted(){
this.getDistanceFromTopToPageBottom('.content3') this.getDistanceFromTopToPageBottom('.content3')
}, },

View File

@ -111,7 +111,7 @@ export default {
}, },
components: {UImage, tabbar}, components: {UImage, tabbar},
mounted() { mounted() {
this.getData()
uni.getSystemInfo({ uni.getSystemInfo({
success: (res) => { success: (res) => {
this.windowWidth = res.windowWidth this.windowWidth = res.windowWidth
@ -119,6 +119,10 @@ export default {
}) })
this.getDistanceFromTopToPageBottom('.content3') this.getDistanceFromTopToPageBottom('.content3')
}, },
onShow(){
this.getData()
},
computed: {}, computed: {},
methods: { methods: {
popForward() { popForward() {