We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H5
浏览器版本: Chrome 版本 92.0.4515.159(正式版本) (64 位) 使用框架: React
1.taro init myapp 2.选择默认,我测试了默认模板和taro-hook这两个模板 3.设置tabBar的selectColor和backgroundColor无效
selectColor和backgroundColor设置有效
无效,默认显示.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon, .weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i, .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label { color: #09bb07; }和.weui-tabbar { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; position: absolute; z-index: 500; bottom: 0; width: 100%; background-color: #f7f7fa; }
Taro CLI 3.3.15 environment info: System: OS: Windows 10 Binaries: Node: 14.4.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.4 - C:\Users\localhost\AppData\Roaming\npm\yarn.CMD npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered:
未能复现到该问题,可以提供完整的demo看看🤔
也可以自助排查,3.3.15以下的版本不支持该操作,请检查所有依赖是否升级到 3.3.15+
Sorry, something went wrong.
@ZakaryCode #10736 我和这条issues一样的
原来是配置哦,以为是API,下一个版本修复咯~
重复 issue 先关了
No branches or pull requests
相关平台
H5
浏览器版本: Chrome 版本 92.0.4515.159(正式版本) (64 位)
使用框架: React
复现步骤
1.taro init myapp
2.选择默认,我测试了默认模板和taro-hook这两个模板
3.设置tabBar的selectColor和backgroundColor无效
期望结果
selectColor和backgroundColor设置有效
实际结果
无效,默认显示.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon, .weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i, .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label {
color: #09bb07;
}和.weui-tabbar {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: absolute;
z-index: 500;
bottom: 0;
width: 100%;
background-color: #f7f7fa;
}
环境信息
The text was updated successfully, but these errors were encountered: