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
看了下artalk的实现方式,是在数据库user表中有badge_name和badge_color两个字段。
填写对应的,前端是这种结构,但是只能增加一个,要想自定义多个,就需要修改css的方式,通过atk-item atk-nick定位到用户名,然后给对应的加,有些不方便。
<span class="atk-badge" style="background-color: rgb(85, 123, 41);">热心</span>
能否新增一个表badge,里面可以自定义名称和颜色,这样只需在用户表那显示badge id即可。
user表其实也可以考虑增加个颜色
The text was updated successfully, but these errors were encountered:
No branches or pull requests
看了下artalk的实现方式,是在数据库user表中有badge_name和badge_color两个字段。
填写对应的,前端是这种结构,但是只能增加一个,要想自定义多个,就需要修改css的方式,通过atk-item atk-nick定位到用户名,然后给对应的加,有些不方便。
能否新增一个表badge,里面可以自定义名称和颜色,这样只需在用户表那显示badge id即可。
user表其实也可以考虑增加个颜色
The text was updated successfully, but these errors were encountered: