Skip to content
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

Rate component adds some attributes #5080

Closed
1 task done
wsxe9988 opened this issue Dec 26, 2021 · 2 comments
Closed
1 task done

Rate component adds some attributes #5080

wsxe9988 opened this issue Dec 26, 2021 · 2 comments

Comments

@wsxe9988
Copy link

wsxe9988 commented Dec 26, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

增加colors属性
icon 的颜色。 若传入数组,共有 3 个元素,为 3 个分段所对应的颜色;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的颜色
void-color属性 未选中 icon 的颜色
disabled-void-color | 只读时未选中 icon 的颜色
icons | 图标组件 若传入数组,共有 3 个元素,为 3 个分段所对应的类名;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的类名
show-score | 是否显示当前分数, 是否显示当前分数, show-score 和 show-text 不能同时为真
text-color | 辅助文字的颜色
low-threshold | 低分和中等分数的界限值, 值本身被划分在低分中 |

high-threshold | 高分和中等分数的界限值, 值本身被划分在高分中

What does the proposed API look like?

增加colors属性
icon 的颜色。 若传入数组,共有 3 个元素,为 3 个分段所对应的颜色;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的颜色
void-color属性 未选中 icon 的颜色
disabled-void-color | 只读时未选中 icon 的颜色
icons | 图标组件 若传入数组,共有 3 个元素,为 3 个分段所对应的类名;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的类名
show-score | 是否显示当前分数, 是否显示当前分数, show-score 和 show-text 不能同时为真
text-color | 辅助文字的颜色
low-threshold | 低分和中等分数的界限值, 值本身被划分在低分中 |

high-threshold | 高分和中等分数的界限值, 值本身被划分在高分中

@github-actions github-actions bot changed the title Rate组件 增加一些属性 Rate component adds some attributes Dec 26, 2021
@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

github-actions bot commented Mar 5, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants