{"id":33001909,"url":"https://github.com/phonycode/wuss-weapp","last_synced_at":"2026-01-14T13:03:32.363Z","repository":{"id":57400247,"uuid":"146823665","full_name":"phonycode/wuss-weapp","owner":"phonycode","description":":whale:wuss-weapp 一款高质量，组件齐全，高自定义的微信小程序UI组件库","archived":false,"fork":false,"pushed_at":"2020-05-25T03:01:35.000Z","size":28841,"stargazers_count":356,"open_issues_count":6,"forks_count":66,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-12-20T21:41:28.667Z","etag":null,"topics":["calendar","components","ui","weapp","wechat","weixin","wuss","wuss-weapp","wxml","wxss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phonycode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-31T01:05:34.000Z","updated_at":"2025-12-14T05:04:36.000Z","dependencies_parsed_at":"2022-09-15T17:00:27.891Z","dependency_job_id":null,"html_url":"https://github.com/phonycode/wuss-weapp","commit_stats":null,"previous_names":["phonycode/wuss"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/phonycode/wuss-weapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonycode%2Fwuss-weapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonycode%2Fwuss-weapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonycode%2Fwuss-weapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonycode%2Fwuss-weapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phonycode","download_url":"https://codeload.github.com/phonycode/wuss-weapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phonycode%2Fwuss-weapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["calendar","components","ui","weapp","wechat","weixin","wuss","wuss-weapp","wxml","wxss"],"created_at":"2025-11-13T14:00:24.545Z","updated_at":"2026-01-14T13:03:32.219Z","avatar_url":"https://github.com/phonycode.png","language":"JavaScript","funding_links":[],"categories":["组件","Mobile UI Components"],"sub_categories":["Wechat"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"logo\" src=\"https://raw.githubusercontent.com/phonycode/wuss-weapp/master/assets/logo.png\" width=\"120\" style=\"margin-bottom: 10px;\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eWuss Weapp\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e一款高质量，组件齐全，高自定义的微信小程序 UI 组件库\u003c/h3\u003e\n\n### 文档\n\n[https://phonycode.github.io/wuss-weapp](https://phonycode.github.io/wuss-weapp)\n\n### Wuss Weapp 官方交流群\n\nQQ 群号 787275772\n\n## 扫码体验\n\n使用微信扫一扫体验小程序组件示例\n\n\u003cimg width=\"200\" src=\"https://raw.githubusercontent.com/phonycode/wuss-weapp/master/assets/qrcode.jpg\"\u003e\n\n## 演示图片\n\n\u003cimg width=\"450\" src=\"https://raw.githubusercontent.com/phonycode/wuss-weapp/master/assets/home.jpg\"\u003e\n\n## 快速上手\n\n在开始使用 Wuss Weapp 之前，你需要先阅读 [微信小程序自定义组件](https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/) 的相关文档。\n\n### 如何使用\n\n#### 方法一 [推荐] (通过npm安装依赖并在小程序构建npm模块)\n\n1. 通过使用shell命令或git定位到当前小程序开发目录，然后使用npm或者yarn安装依赖。\n\n```shell\nnpm init \u0026\u0026 npm install --production wuss-weapp\n```\n\n或者\n\n```shell\nyarn init \u0026\u0026 yarn add --production wuss-weapp\n```\n\n2. 当依赖安装完成后即可在微信小程序开发者工具里点击 [工具] =\u003e [构建npm]，此时若出现弹窗则记得吧 “使用npm模块” 勾上，若无弹窗则待构建完成后在详情里面手动勾上 “使用npm模块”。\n\n\n3. 构建完成后即可添加需要的组件。在页面的 json 中配置：\n\n```json\n\"usingComponents\": {\n  \"w-button\": \"wuss-weapp/w-button/index\",\n  \"w-toast\": \"wuss-weapp/w-toast/index\",\n  \"w-alert\": \"wuss-weapp/w-alert/index\"\n}\n```\n\n4. 在 wxml 中使用组件：\n\n```html\n\u003cw-button type=\"info\" bind:onClick=\"buttonClick\"\u003e这是一个按钮\u003c/w-button\u003e\n\u003cw-toast id=\"wuss-toast\" /\u003e\n\u003cw-alert id=\"wuss-alert\" /\u003e\n```\n\n5. 在JavaScript中使用:\n\n```javascript\nimport { Alert, Toast } from 'wuss-weapp';\n\nAlert({\n  title: '提示',\n  content: 'wuss weapp is good',\n});\n\nToast.show({\n  message: 'wuss小程序UI库',\n});\n\n```\n\n#### 方法二(通过clone当前项目的dist拷贝到自己项目中使用)\n\n1. 到 [GitHub](https://github.com/phonycode/wuss-weapp) 下载 Wuss Weapp 的代码，将 `dist` 目录拷贝到自己的项目中。然后按照如下的方式使用组件，以 Button 为例，其它组件在对应的文档页查看：\n\n3. 添加需要的组件。在页面的 json 中配置（路径根据自己项目位置配置）：\n\n```json\n\"usingComponents\": {\n  \"w-button\": \"/dist/w-button/index\"\n}\n```\n\n2. 在 wxml 中使用组件：\n\n```html\n\u003cw-button type=\"info\" bind:onClick=\"buttonClick\"\u003e这是一个按钮\u003c/w-button\u003e\n```\n\n### 预览所有组件\n\n我们内置了所有组件的示例，您可以扫描上方的的小程序码体验，或按以下方式在微信开发者工具中查看：\n\n```shell\ngit clone https://github.com/phonycode/wuss-weapp.git\n```\n\n然后，直接将项目在微信开发者工具中打开即可。\n\n\n## 贡献\n\n有任何意见或建议都欢迎提 issue，提 issue 之前请先阅读是否已经有相关 issue 或者如果有相关但是已经关闭 issue 只是还未更新的版本，请不要在此 issue 下方回复，如果更新版本后依然存在 请提新出的 issue，感谢\n\n## LICENSE\n\n[MIT](https://github.com/phonycode/wuss-weapp/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphonycode%2Fwuss-weapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphonycode%2Fwuss-weapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphonycode%2Fwuss-weapp/lists"}