PHPackages                             slimkit/plus-small-screen-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. slimkit/plus-small-screen-client

Abandoned → [slimkit/plus](/?search=slimkit%2Fplus)ArchivedProject

slimkit/plus-small-screen-client
================================

📱The Plus(ThinkSNS+) client written with modern web technologies, built with Vue.js.

v4.1.2(7y ago)8318937[16 issues](https://github.com/slimkit/plus-small-screen-client/issues)Apache-2.0Vue

Since Nov 14Pushed 7y ago3 watchersCompare

[ Source](https://github.com/slimkit/plus-small-screen-client)[ Packagist](https://packagist.org/packages/slimkit/plus-small-screen-client)[ RSS](/packages/slimkit-plus-small-screen-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

 [![Plus (ThinkSNS+) Logo](https://github.com/slimkit/plus-small-screen-client/raw/master/public/plus.png)](http://www.thinksns.com)

The Small Screen Client for [Plus(ThinkSNS+)](https://github.com/slimkit/plus)
==============================================================================

[](#the-small-screen-client-for-plusthinksns)

使用现代 Web 技术 [Vue.js](https://github.com/vuejs/vue) 编写的 [Plus(ThinkSNS+)](https://github.com/slimkit/plus) 浏览器单页客户端。

[![GitHub release](https://camo.githubusercontent.com/10430b03f22425d368e2d90c84b96e9d8f9b6ea282342f249d8299a0b938a214/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736c696d6b69742f706c75732d736d616c6c2d73637265656e2d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://github.com/slimkit/plus-small-screen-client/releases)[![Build Status](https://camo.githubusercontent.com/15be2b526e07eee1eb220555865fee7a2b91988bf30ffeb8209d92f1807f3ab3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f736c696d6b69742f706c75732d736d616c6c2d73637265656e2d636c69656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/slimkit/plus-small-screen-client)[![QQ Group](https://camo.githubusercontent.com/cd6a733b5e5d0ff27bbb64507cc392f7dd41c85bcbb9c6280fb37f723d10f350/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f515125323047726f75702d3635313234303738352d7265642e7376673f6c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](//shang.qq.com/wpa/qunwpa?idkey=01b61bdf8a7efc2a40ab4caab2d14793f340e5fe5d09aa0c2c17f3115a579678)

简介
--

[](#简介)

这个浏览器单页客户端是项目使用 Apache-2.0 协议开源，基于 [Vue.js](https://github.com/vuejs/vue) 及 ES+ 等现代 Web 技术进行构建！ 项目具有以下几个特点：

1. 易于分发，你可以将编译后文件分发到任何地方，不需要动态语言的支持。
2. 完全独立，你无需懂的后端程序，只需要调用文件化的 APIs 接口即可开发。
3. 高 App 还原，项目以 ThinkSNS+ 原生客户端为 UI 基准，进行高度还原。
4. 技术简单，我们使用中国接受度非常高的 [Vue.js](https://github.com/vuejs/vue) 进行开发，你可以快速入手。

安装
--

[](#安装)

[Plus (ThinkSNS+) SPA 安装指南](https://slimkit.github.io/plus/guide/installation/install-spa.html)

配置
--

[](#配置)

`.env` 文件配置说明：

```
BASE_URL=/                                             # 我们假设你部署在一个域名下，所以默认 `/`, 例如你部署在子目录下，请设置子目录，必须以 `/` 结尾！
GENERATE_CSS_MAP=true                                  # 是否构建的时候生成 source map

VUE_APP_ENABLE_SERVICE_WORKER=false                    # 是否添加离线支持
VUE_APP_API_HOST=http://127.0.0.1                      # 你的 Plus 程序地址
VUE_APP_API_VERSION=v2                                 # 无需修改，目前支持的值只有 `v2`
VUE_APP_NAME="Plus (ThinkSNS+)"                        # 浏览器显示的程序名称
VUE_APP_KEYWORDS=                                      # 易于搜索引擎搜索的关键词
VUE_APP_DESCRIPTION=                                   # 你的网站描述
VUE_APP_ROUTER_MODE=hash                               # 路由模式，请参考下面的「路由模式」文档
VUE_APP_THEME=src/console/theme.js                     # 主题文件，暂时不支持修改
VUE_APP_EASEMOB_APP_KEY=#                              # 环信 APP KEY
VUE_APP_EASEMOB_API_URL=http://a1.easemob.com          # 环信接口地址
VUE_APP_EASEMOB_ISDEBUG=false                          # 是否开启环信 Debug
VUE_APP_LBS_GAODE_KEY=                                 # 高德地图 GAODE KEY
```

### 路由模式

[](#路由模式)

路由模式支持 `hash` 和 `history` 两种模式，区别如下：

- `hash` 模式：无需后端支持，利用浏览器的「锚」功能进行路由定位。
- `history` 模式：需要后端的路由转发支持，正确设置的情况是所有请求都转发到 `index.html` 文件上

更加详细的描述请看 👉 [API 参考#mode](https://router.vuejs.org/zh/api/#mode)

### 跨域问题

[](#跨域问题)

你如果部署这个客户端到全新的地址中，那么你肯定会遇到跨域资源共享禁止问题，导致这个客户端无法正常工作。 在你安装完成 [Plus(ThinkSNS+)](https://github.com/slimkit/plus) 后，你可以进入 `/admin` 后台管理面板，然后你从左侧菜单点击「系统设置」 然后再从顶栏菜单选择 「安全」。

此时，你会看到一个 「跨域设置」设置，这个时候你应该咨询后端了解跨域资源共享的人，默认情况是允许所有跨域的，如果关闭了允许所有，请在 `Access-Control-Allow-Origin` 将程序的 host 添加进去即可！

开发部署
----

[](#开发部署)

在项目中设置了三个有效命令：

- `serve` 用于开发，修改代码后会自动 Hot Reload
- `build` 用于正式部署的打包，执行完成后会多出一个 `dist/` 目录
- `lint` 用于代码检查和风格修复

License
-------

[](#license)

Plus 代码采用企业定制许可证发布，请参阅完整的[许可证文本](https://github.com/slimkit/plus/blob/master/LICENSE)

Copyright © 2018 Chengdu [ZhiYiChuangXiang](http://zhiyicx.com) Technology Co., Ltd. All rights reserved.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2737d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5564821?v=4)[Seven Du](/maintainers/medz)[@medz](https://github.com/medz)

---

Top Contributors

[![mutoe](https://avatars.githubusercontent.com/u/9391981?v=4)](https://github.com/mutoe "mutoe (1 commits)")

---

Tags

clienth5plussnsspathinksnsvueweb

### Embed Badge

![Health badge](/badges/slimkit-plus-small-screen-client/health.svg)

```
[![Health](https://phpackages.com/badges/slimkit-plus-small-screen-client/health.svg)](https://phpackages.com/packages/slimkit-plus-small-screen-client)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
