{"id":19509799,"url":"https://github.com/dcloudio/uni-template-login","last_synced_at":"2025-06-30T10:34:23.203Z","repository":{"id":45707220,"uuid":"158066578","full_name":"dcloudio/uni-template-login","owner":"dcloudio","description":"基于uni-app框架的登录模板","archived":false,"fork":false,"pushed_at":"2022-07-15T06:51:26.000Z","size":677,"stargazers_count":240,"open_issues_count":7,"forks_count":110,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-02-25T22:46:50.892Z","etag":null,"topics":["login","login-page","register","template"],"latest_commit_sha":null,"homepage":"","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/dcloudio.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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-11-18T09:09:03.000Z","updated_at":"2025-02-17T12:34:03.000Z","dependencies_parsed_at":"2022-08-27T07:52:02.166Z","dependency_job_id":null,"html_url":"https://github.com/dcloudio/uni-template-login","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dcloudio/uni-template-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcloudio%2Funi-template-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcloudio%2Funi-template-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcloudio%2Funi-template-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcloudio%2Funi-template-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcloudio","download_url":"https://codeload.github.com/dcloudio/uni-template-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcloudio%2Funi-template-login/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262756437,"owners_count":23359522,"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":["login","login-page","register","template"],"created_at":"2024-11-10T23:13:24.238Z","updated_at":"2025-06-30T10:34:23.122Z","avatar_url":"https://github.com/dcloudio.png","language":"Vue","readme":"\n**注意：该项目已暂停维护，推荐使用功能更完善的[uni-starter](https://gitcode.net/dcloud/uni-starter)**\n\n\n# uni-template-login\n\n基于 uni-app \u0026 uniCloud 的前后一体登录模板\n\n## 快速体验\n\n手机扫码体验：\n\n![](https://img.cdn.aliyun.dcloud.net.cn/uni-app/uni-template-login-qr.png)\n\n## 本地运行\n\n1. 将项目拖入[HBuilderX](http://www.dcloud.io/hbuilderx.html)\n2. 创建服务空间，详情参考[uniCloud 快速上手](https://uniapp.dcloud.net.cn/uniCloud/quickstart)\n3. 上传 common 下的公用模块、在云函数 user-center 内安装 uni-id 模块并上传，[公用模块参考文档](https://uniapp.dcloud.io/uniCloud/cf-common)\n4. 在 cloudfunctions 目录下的`db_init.json`右键初始化云数据库\n5. 运行到 HBuilderX 内置浏览器体验\n6. 如果运行到小程序，注意在小程序后台配置域名白名单，[详见](https://uniapp.dcloud.net.cn/uniCloud/quickstart?id=%e5%b0%8f%e7%a8%8b%e5%ba%8f%e4%b8%ad%e4%bd%bf%e7%94%a8unicloud%e7%9a%84%e7%99%bd%e5%90%8d%e5%8d%95%e9%85%8d%e7%bd%ae)\n\n## 特点\n\n- 前端基于uni-app实现，支持所有平台\n- 服务端基于 uniCloud 实现，用户管理基于 [uni-id](https://uniapp.dcloud.net.cn/uniCloud/uni-id) 实现\n- 使用 vuex 管理登录状态\n- 支持账号密码、手机号验证等多种登录模式\n- 支持裂变，可以邀请用户注册\n","funding_links":[],"categories":["跨平台多端应用前端框架uni-app一站式开发资源汇总 ![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)"],"sub_categories":["uni-app开源组件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcloudio%2Funi-template-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcloudio%2Funi-template-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcloudio%2Funi-template-login/lists"}