{"id":13938002,"url":"https://github.com/slimkit/plus-small-screen-client","last_synced_at":"2026-01-13T22:07:04.490Z","repository":{"id":57053313,"uuid":"82756889","full_name":"slimkit/plus-small-screen-client","owner":"slimkit","description":"本库已经合并进入 https://github.com/slimkit/plus 中，仅提供 2.1 及以前版本下载使用！","archived":true,"fork":false,"pushed_at":"2018-11-15T08:58:16.000Z","size":15675,"stargazers_count":82,"open_issues_count":16,"forks_count":37,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-11-08T17:29:30.909Z","etag":null,"topics":["client","h5","plus","sns","spa","thinksns","vue","web"],"latest_commit_sha":null,"homepage":"https://github.com/slimkit/plus","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slimkit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-22T03:34:56.000Z","updated_at":"2025-08-14T20:18:56.000Z","dependencies_parsed_at":"2022-08-24T04:11:35.060Z","dependency_job_id":null,"html_url":"https://github.com/slimkit/plus-small-screen-client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/slimkit/plus-small-screen-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimkit%2Fplus-small-screen-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimkit%2Fplus-small-screen-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimkit%2Fplus-small-screen-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimkit%2Fplus-small-screen-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slimkit","download_url":"https://codeload.github.com/slimkit/plus-small-screen-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimkit%2Fplus-small-screen-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28402192,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: 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":["client","h5","plus","sns","spa","thinksns","vue","web"],"created_at":"2024-08-07T23:04:09.783Z","updated_at":"2026-01-13T22:07:04.473Z","avatar_url":"https://github.com/slimkit.png","language":"Vue","readme":"\u003cp align=\"center\"\u003e\n\t\u003ca href=\"http://www.thinksns.com\" rel=\"noopener\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/slimkit/plus-small-screen-client/raw/master/public/plus.png\" alt=\"Plus (ThinkSNS+) Logo\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eThe Small Screen Client for \u003ca href=\"https://github.com/slimkit/plus\"\u003ePlus(ThinkSNS+)\u003c/a\u003e\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n使用现代 Web 技术 [Vue.js](https://github.com/vuejs/vue) 编写的 [Plus(ThinkSNS+)](https://github.com/slimkit/plus) 浏览器单页客户端。\n\n\n[![GitHub release](https://img.shields.io/github/release/slimkit/plus-small-screen-client.svg?style=flat-square)](https://github.com/slimkit/plus-small-screen-client/releases)\n[![Build Status](https://img.shields.io/travis/com/slimkit/plus-small-screen-client/master.svg?style=flat-square)](https://travis-ci.com/slimkit/plus-small-screen-client)\n[![QQ Group](https://img.shields.io/badge/QQ%20Group-651240785-red.svg?longCache=true\u0026style=flat-square)](//shang.qq.com/wpa/qunwpa?idkey=01b61bdf8a7efc2a40ab4caab2d14793f340e5fe5d09aa0c2c17f3115a579678)\n\n\u003c/div\u003e\n\n## 简介\n\n这个浏览器单页客户端是项目使用 Apache-2.0 协议开源，基于 [Vue.js](https://github.com/vuejs/vue) 及 ES+ 等现代 Web 技术进行构建！\n项目具有以下几个特点：\n\n1. 易于分发，你可以将编译后文件分发到任何地方，不需要动态语言的支持。\n2. 完全独立，你无需懂的后端程序，只需要调用文件化的 APIs 接口即可开发。\n3. 高 App 还原，项目以 ThinkSNS+ 原生客户端为 UI 基准，进行高度还原。\n4. 技术简单，我们使用中国接受度非常高的 [Vue.js](https://github.com/vuejs/vue) 进行开发，你可以快速入手。\n\n## 安装\n\n[Plus (ThinkSNS+) SPA 安装指南](https://slimkit.github.io/plus/guide/installation/install-spa.html)\n\n## 配置\n\n`.env` 文件配置说明：\n\n```yaml\nBASE_URL=/                                             # 我们假设你部署在一个域名下，所以默认 `/`, 例如你部署在子目录下，请设置子目录，必须以 `/` 结尾！\nGENERATE_CSS_MAP=true                                  # 是否构建的时候生成 source map\n\nVUE_APP_ENABLE_SERVICE_WORKER=false                    # 是否添加离线支持\nVUE_APP_API_HOST=http://127.0.0.1                      # 你的 Plus 程序地址\nVUE_APP_API_VERSION=v2                                 # 无需修改，目前支持的值只有 `v2`\nVUE_APP_NAME=\"Plus (ThinkSNS+)\"                        # 浏览器显示的程序名称\nVUE_APP_KEYWORDS=                                      # 易于搜索引擎搜索的关键词\nVUE_APP_DESCRIPTION=                                   # 你的网站描述\nVUE_APP_ROUTER_MODE=hash                               # 路由模式，请参考下面的「路由模式」文档\nVUE_APP_THEME=src/console/theme.js                     # 主题文件，暂时不支持修改\nVUE_APP_EASEMOB_APP_KEY=#                              # 环信 APP KEY\nVUE_APP_EASEMOB_API_URL=http://a1.easemob.com          # 环信接口地址\nVUE_APP_EASEMOB_ISDEBUG=false                          # 是否开启环信 Debug\nVUE_APP_LBS_GAODE_KEY=                                 # 高德地图 GAODE KEY\n```\n\n### 路由模式\n\n路由模式支持 `hash` 和 `history` 两种模式，区别如下：\n\n- `hash` 模式：无需后端支持，利用浏览器的「锚」功能进行路由定位。\n- `history` 模式：需要后端的路由转发支持，正确设置的情况是所有请求都转发到 `index.html` 文件上\n\n更加详细的描述请看 👉 [API 参考#mode](https://router.vuejs.org/zh/api/#mode)\n\n### 跨域问题\n\n你如果部署这个客户端到全新的地址中，那么你肯定会遇到跨域资源共享禁止问题，导致这个客户端无法正常工作。\n在你安装完成 [Plus(ThinkSNS+)](https://github.com/slimkit/plus) 后，你可以进入 `/admin` 后台管理面板，然后你从左侧菜单点击「系统设置」\n然后再从顶栏菜单选择 「安全」。\n\n此时，你会看到一个 「跨域设置」设置，这个时候你应该咨询后端了解跨域资源共享的人，默认情况是允许所有跨域的，如果关闭了允许所有，请在 `Access-Control-Allow-Origin` 将程序的 host 添加进去即可！\n\n## 开发部署\n\n在项目中设置了三个有效命令：\n\n- `serve` 用于开发，修改代码后会自动 Hot Reload\n- `build` 用于正式部署的打包，执行完成后会多出一个 `dist/` 目录\n- `lint`  用于代码检查和风格修复\n\n## License\n\nPlus 代码采用企业定制许可证发布，请参阅完整的[许可证文本](https://github.com/slimkit/plus/blob/master/LICENSE)\n\nCopyright © 2018 Chengdu [ZhiYiChuangXiang](http://zhiyicx.com) Technology Co., Ltd. All rights reserved.\n","funding_links":[],"categories":["Vue"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimkit%2Fplus-small-screen-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslimkit%2Fplus-small-screen-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimkit%2Fplus-small-screen-client/lists"}