Skip to content

[bug]Tabbar组件默认unactive-color值错误 #1779

New issue

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

Closed
Lyc0430 opened this issue Oct 25, 2022 · 2 comments
Closed

[bug]Tabbar组件默认unactive-color值错误 #1779

Lyc0430 opened this issue Oct 25, 2022 · 2 comments
Assignees

Comments

@Lyc0430
Copy link

Lyc0430 commented Oct 25, 2022

问题描述

在使用示例创建基础tabbar时,默认显示错误
如图1
如图2

最小可复现仓库

请创建最小可复现代码,并上传到你的 GitHub 仓库

https://github.com/Lyc0430/nut-tabbar-issue

预期的行为和实际行为

预期行为:非激活时icon显示黑色

实际行为:在未更改情况下,非激活时颜色和激活时颜色一致(红色)。目前可以通过unactive-color属性自行将其修改为正常黑色

复现步骤,具体代码

1.创建项目,引入全局nutui
2.根据示例创建tabbar
3.tabbar默认颜色为全红色,未区分激活和未激活状态颜色

ps.这个版本bug有点离谱啊...

相关环境信息

  • 操作系统:mac
  • Node 版本:16.15.1
  • NutUI 版本: 3.2.4
  • Vue 版本:3.2.13
  • 引用方式: npm
@Drjingfubo
Copy link
Contributor

抱歉哈 3.2.4这个版本因为增加了一个主题变量,新增了个样式,导致这里未选中颜色有问题,相关同学已经在跟进问题了

@Drjingfubo Drjingfubo self-assigned this Oct 25, 2022
richard1015 pushed a commit that referenced this issue Oct 25, 2022
* 修改企业业务主题问题

* fix: fix tabbar defalut unactive-color #1779

Co-authored-by: yangjinjun3 <[email protected]>
@szg2008 szg2008 closed this as completed Oct 25, 2022
@Drjingfubo
Copy link
Contributor

使用3.2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants