{"id":21465744,"url":"https://github.com/jsaaron/uniappvanticon","last_synced_at":"2026-01-04T11:11:32.269Z","repository":{"id":76910731,"uuid":"206679388","full_name":"JsAaron/uniappVantIcon","owner":"JsAaron","description":"基于uni-app框架的Vant图标库","archived":false,"fork":false,"pushed_at":"2019-09-03T03:51:23.000Z","size":38,"stargazers_count":4,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T15:19:26.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JsAaron.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-06T00:21:08.000Z","updated_at":"2023-08-22T21:53:12.000Z","dependencies_parsed_at":"2023-02-27T04:15:38.667Z","dependency_job_id":null,"html_url":"https://github.com/JsAaron/uniappVantIcon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2FuniappVantIcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2FuniappVantIcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2FuniappVantIcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JsAaron%2FuniappVantIcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JsAaron","download_url":"https://codeload.github.com/JsAaron/uniappVantIcon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-23T08:11:51.061Z","updated_at":"2026-01-04T11:11:32.242Z","avatar_url":"https://github.com/JsAaron.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"### Icon 图标\r\n\r\n用于展示 icon，组件名：``uni-icon``，代码块： uIcon。\r\n\r\n**使用方式：**\r\n\r\n在 ``script`` 中引用组件 \r\n\r\n```javascript\r\nimport uniIcon from \"@/components/uni-icon/uni-icon.vue\"\r\nexport default {\r\n    components: {uniIcon}\r\n}\r\n```\r\n\r\n在 ``template`` 中使用组件\r\n\r\n```html\r\n\u003cuni-icon type=\"contact\" size=\"30\"\u003e\u003c/uni-icon\u003e\r\n```\r\n\r\n**Icon 属性说明：**\r\n\r\n|属性名\t\t|类型|默认值\t|说明|\r\n|---|----|---|---|\r\n|type\t|String\t|-|图标图案，参考下表|\r\n|color\t|String\t|-|图标颜色\t|\r\n|size\t|Number\t|24|图标大小|\r\n|@click\t|EventHandle|-|点击 Icon 触发事件|\r\n\r\n**type 类型：**\r\n\r\n图标效果参考：[https://youzan.github.io/vant/mobile.html?hide_nav=1\u0026weapp=1#/zh-CN/icon](https://youzan.github.io/vant/mobile.html?hide_nav=1\u0026weapp=1#/zh-CN/icon)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Funiappvanticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsaaron%2Funiappvanticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsaaron%2Funiappvanticon/lists"}