# 主题配置

想要个性化 Zero Teme ，主要通过编辑网站根目录下的 `config.json` 文件。下面解释文件中各个配置项的含义。(网站客服、标签页名称需要配置 `index.html`)

{% hint style="info" %}
未说明的配置项均为 显示文字的内容 或 点击跳转的链接。
{% endhint %}

### license

Zero Theme 的授权令牌，购买后将您的令牌填写到此处。

### api\_base

填写需要使用的后台地址。需要携带 `https://` 前缀 以及 `/api/v1` 后缀。

### v2board\_version

填写后端的版本信息，请填写以下内容之一：`1.7.1`、`1.7.2`、`1.7.3`、`1.7.4`、`xboard`、`wyxboard`。

### brand\_name

填写网站名称。

### logo\_img

填写网站Logo的url地址。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/ti-huan-logo.md)

### locales

填写网站国际化配置。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/guo-ji-hua-zhi-chi.md)

### default\_locale

填写网站默认的语言，必须填写`locales`配置项中的`value`值。

### register\_email\_white\_list

填写前端注册时可用使用的 Email 后缀。(**这里的限制独立于后端配置的限制**)

### bg\_imgs

填写主题使用的背景图片。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/ti-huan-bei-jing-tu-pian.md)

### repeat\_popup

配置控制台仪表盘是否重复弹窗，填写`true`/`false`。当开启时每次进入仪表盘界面都会弹窗，而不是第一次进入时弹窗。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/tan-chuang-gong-gao.md)

### carousel

配置是否开启仪表盘公告轮播图。填写`true`/`false`。

### client\_download

填写客户端下载的图标、颜色、地址。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/ke-hu-duan-pei-zhi.md)

### home

配置落地页的页首、页脚、文字内容与跳转链接，大部分为文字内容和链接。请参考显示效果自行修改。页首和页脚的跳转链接只会显示前4个。配置产品列表上的旗帜见[落地页旗帜配置](/v2boar-zero-theme/shi-yong-jiao-cheng/luo-di-ye-qi-zhi-pei-zhi.md)。

### auth.type\_text

填写登录界面打字机动画文字内容。

### telegram\_modal

填写点击绑定Telegram弹出窗口的内容，支持`html`格式。`a`标签携带 `class="arco-link"`，显示效果更佳。

### telegram\_group\_modal

填写点击加入Telegram群组弹出窗口的内容，支持`html`格式。`a`标签携带 `class="arco-link"`，显示效果更佳。

### node

填写节点界面的旗帜配置。[详细介绍](/v2boar-zero-theme/shi-yong-jiao-cheng/jie-dian-qi-zhi-pei-zhi.md)

### expired\_notice

整数，代表提前过期时间N天显示续费提示。(V2.0.4)

### traffic\_warning\_percent

0到1之间的小数, 示例：0.2代表流量低于总流量的20%显示重置流量提示。(V2.0.4)

### land\_page

true/false, 代表是否开启主题自带的落地页。(V2.0.6)

### node\_dot

自定义主题自带落地页世界地图上的呼吸灯，格式参考默认配置。(V2.0.8)

### cf\_site\_key

ccloudflare 人机验证sitekey, 该功能需要修改后端代码。(V2.0.12)

### ticket\_need\_sub

true/false 工单相关元素是否需要订阅后才显示。(v2.1.0)

### default\_theme

auto/dark/light 默认主题配置。(v2.1.0)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://linkis-organization.gitbook.io/v2boar-zero-theme/shi-yong-jiao-cheng/zhu-ti-pei-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
