This commit is contained in:
zxy
2024-03-08 19:51:34 +08:00

View File

@@ -28,8 +28,10 @@
}
},
created() {
// #ifdef MP-WEIXIN
let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
const { top, width, height, right } = menuButtonInfo
console.log(top)
const that = this
uni.getSystemInfo({
success: function (res) {
@@ -42,6 +44,7 @@
that._data.searchWidth= right - width - 30
}
})
// #endif
},
methods: {
back() {