flat: nav
This commit is contained in:
@@ -28,8 +28,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
// #ifdef MP-WEIXIN
|
||||||
let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
|
let menuButtonInfo = uni.getMenuButtonBoundingClientRect()
|
||||||
const { top, width, height, right } = menuButtonInfo
|
const { top, width, height, right } = menuButtonInfo
|
||||||
|
console.log(top)
|
||||||
const that = this
|
const that = this
|
||||||
uni.getSystemInfo({
|
uni.getSystemInfo({
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
@@ -42,6 +44,7 @@
|
|||||||
that._data.searchWidth= right - width - 30
|
that._data.searchWidth= right - width - 30
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
// #endif
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
back() {
|
back() {
|
||||||
|
|||||||
Reference in New Issue
Block a user