HelloGitHub-Team / geese

采用 Next.js 构建的开源爱好者社区。An open-source enthusiast community built with Next.js.
https://hellogithub.com
Apache License 2.0
282 stars 66 forks source link

用户等级 #75

Closed 521xueweihan closed 1 year ago

521xueweihan commented 1 year ago

背景

显示用户等级以及还需多少贡献值等级

需求

样式:

Image

图片仅供参考,实现效果以你的想法为准。

位置:

PC 端右侧用户头像下面的 Lv1 右边:

Image

移动端 还没想好放在哪,你看着来。实在没地儿放,就算了。

级别对应的贡献值:

接口

需要登录状态下访问,可找我拿 token。

地址:https://local.api.hellogithub.com/docs#/user/user_me_v1_user_me__get

响应参数:

注意:Max 级别对应的 level 为:Max,next_level_score 为 None

github-actions[bot] commented 1 year ago

Branch i75-用户等级 created!

RJM1996 commented 1 year ago
image

等级展示需求已提交