-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
F-reactFramework - ReactFramework - ReactT-weappTarget - 编译到微信小程序Target - 编译到微信小程序V-3Version - 3.xVersion - 3.x
Description
相关平台
微信小程序
复现仓库
https://github.com/keyboard2005/custom-tabbar-vue3.git
小程序基础库: 3.5.2
使用框架: vue3
复现步骤
开启自定义导航后 设置高度100vh即可 没办法设置安全区域 获取不到精确的自定义任务栏的高度 什么环境变量啊 之类的获取到的都是错误的
期望结果
希望能和原版tabbar一样自动计算 100vh也不会包含到tabbar
实际结果
自定义tabbar遮挡住了我的内容 并且我没办法获取到精准的值设位置我的内容高度
环境信息
Debugger attached.
👽 Taro v4.0.4
Taro CLI 4.0.4 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 16.20.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.2 - ~\AppData\Roaming\npm\npm.CMD
npmPackages:
@tarojs/cli: 4.0.4 => 4.0.4
@tarojs/components: 4.0.4 => 4.0.4
@tarojs/helper: 4.0.4 => 4.0.4
@tarojs/plugin-framework-vue3: 4.0.4 => 4.0.4
@tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
@tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
@tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
@tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
@tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
@tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
@tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
@tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
@tarojs/runtime: 4.0.4 => 4.0.4
@tarojs/shared: 4.0.4 => 4.0.4
@tarojs/taro: 4.0.4 => 4.0.4
@tarojs/vite-runner: 4.0.4 => 4.0.4
babel-preset-taro: 4.0.4 => 4.0.4
eslint-config-taro: 4.0.4 => 4.0.4
Waiting for the debugger to disconnect...
Metadata
Metadata
Assignees
Labels
F-reactFramework - ReactFramework - ReactT-weappTarget - 编译到微信小程序Target - 编译到微信小程序V-3Version - 3.xVersion - 3.x
Type
Projects
Status
Done