|
|
@ -452,7 +452,7 @@ |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect(); |
|
|
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect(); |
|
|
// 计算导航栏高度用于sticky offset:statusBarHeight + 44px内容区 |
|
|
// 计算导航栏高度用于sticky offset:statusBarHeight + 40px内容区 |
|
|
const info = uni.getSystemInfoSync(); |
|
|
const info = uni.getSystemInfoSync(); |
|
|
this.navBarHeight = info.statusBarHeight + 40; |
|
|
this.navBarHeight = info.statusBarHeight + 40; |
|
|
}, |
|
|
}, |
|
|
|