Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 3.65 KB

File metadata and controls

77 lines (57 loc) · 3.65 KB

用美观、可配置的徽章与状态卡片,让你的 README 更专业、更高效!


Visitor Badge

创建一个可用于任何网站或 GitHub 个人资料的访客徽章。

ref-repo ref-online-tool

参数

点击显示/关闭参数

名称 类型 必填 默认值 参数描述 更多描述
ref-params
type string true 徽章类型 可选值:visitors(总数)、daily(单日)、combined(前两个组合)。
ref-querys
path string true 统计路径 URL 或 用户名/仓库,用于唯一统计的链接或字符串。
label string 徽章标签
labelColor string #555555 徽章标签背景颜色 支持类型:HEX,例如:#FF0000
countColor string #263759 徽章数字背景颜色 支持类型:HEX,例如:#FF0000
style string default 徽章样式 可选值:defaultflatflat-squareplastic
labelStyle string upper 徽章标签大小写 可选值:upper(大写) lower(小写)。
https://api.visitorbadge.io/api/{type}{?path,label,labelColor,countColor,style,labelStyle}

示例

<!-- xiaohuohumax/readme-widget-hub -->
![访问数](https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fgithub.com%2Fxiaohuohumax%2Freadme-widget-hub&label=VISITORS&countColor=%23f3722c)
访问数