{"id":13601683,"url":"https://github.com/youngluo/mp-weui","last_synced_at":"2025-10-30T00:38:22.855Z","repository":{"id":57303451,"uuid":"125371540","full_name":"youngluo/mp-weui","owner":"youngluo","description":"mp-weui 是基于 mpvue 和 weui-wxss 的微信小程序 UI 库。","archived":false,"fork":false,"pushed_at":"2018-07-01T14:25:44.000Z","size":551,"stargazers_count":162,"open_issues_count":4,"forks_count":28,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-09T11:25:22.559Z","etag":null,"topics":["mp-weui","mpvue","weui","weui-wxss"],"latest_commit_sha":null,"homepage":"https://youngluo.github.io/mp-weui","language":"Vue","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/youngluo.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-03-15T13:29:53.000Z","updated_at":"2025-01-10T08:58:50.000Z","dependencies_parsed_at":"2022-09-18T20:31:37.291Z","dependency_job_id":null,"html_url":"https://github.com/youngluo/mp-weui","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/youngluo/mp-weui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngluo%2Fmp-weui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngluo%2Fmp-weui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngluo%2Fmp-weui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngluo%2Fmp-weui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youngluo","download_url":"https://codeload.github.com/youngluo/mp-weui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youngluo%2Fmp-weui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281725874,"owners_count":26550920,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["mp-weui","mpvue","weui","weui-wxss"],"created_at":"2024-08-01T18:01:06.278Z","updated_at":"2025-10-30T00:38:22.795Z","avatar_url":"https://github.com/youngluo.png","language":"Vue","funding_links":[],"categories":["框架"],"sub_categories":["目录"],"readme":" # mp-weui\n\n[![npm](https://img.shields.io/npm/v/mp-weui.svg)](https://www.npmjs.com/package/mp-weui)\n[![npm](https://img.shields.io/npm/dm/mp-weui.svg)](https://www.npmjs.com/package/mp-weui)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/youngluo/mp-weui/blob/master/LICENSE)\n\n\u003e mp-weui 是基于 [mpvue](https://github.com/Meituan-Dianping/mpvue) 和 [weui-wxss](https://github.com/Tencent/weui-wxss) 的微信小程序 UI 库。\n\n## 安装\n\n``` bash\nnpm i -S mp-weui\n```\n\n## 使用\n\n``` bash\n# 在 App.vue 中全局引入 css 文件\nimport 'mp-weui/lib/style.css'\n\n# 由于 mpvue component 暂不支持全局注册，暂时只能使用局部注册\nimport MpRadio from 'mp-weui/packages/radio'\n\nexport default {\n  components: {\n    MpRadio\n  }\n}\n```\n\n## 文档\n\n[文档地址](https://youngluo.github.io/mp-weui)\n\n\u003c!-- ## 示例\n\n\u003cimg\n  style=\"display:block;width:100%;max-width:430px;margin:0 auto 60px;\"\n  src=\"https://github.com/youngluo/mp-weui/blob/master/docs/.vuepress/public/code.jpg\"\n  alt=\"小程序码\"\n/\u003e --\u003e\n\n## 开发进度\n\n### 表单\n- [x] Button（小程序原生组件）\n- [x] Checklist\n- [x] Field（待优化）\n- [x] Radio\n- [x] Slider\n- [x] Switch\n- [x] Uploader\n\n### 基础组件\n- [x] Badge\n- [x] Footer\n- [x] Gallery（小程序原生组件）\n- [x] Grid（待优化）\n- [x] Icons（小程序原生组件）\n- [x] List（待优化）\n- [x] Loadmore\n- [x] Panel\n- [x] Preview\n- [x] Progress\n\n### 操作反馈\n- [x] Actionsheet\n- [x] Dialog\n- [x] Msg\n- [x] Picker\n- [x] Toast\n\n### 导航相关\n- [x] Navbar\n- [x] Tabbar（建议采用小程序原生的tabbar，通过设置app.json来实现）\n\n### 搜索相关\n- [x] Searchbar（待优化）\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungluo%2Fmp-weui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoungluo%2Fmp-weui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoungluo%2Fmp-weui/lists"}