uniapp获取底部导航tabbar的高度(H5)
javascript
<view :style="'bottom:' + tabBarHeight + 'px;'">
</view>
tabBarHeight: 0, // 底部tabBar高度, h5
// #ifdef H5
getTabBarHeight(){
const systemInfo = uni.getSystemInfoSync()
this.tabBarHeight = systemInfo.windowBottom
},
// #endif