> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/customize-microsite-layouts-and-pages.md).

# 自定义微站布局和页面

微型网站是推荐计划中与参与者互动的重要触点之一。本文将介绍如何使用 *微型网站编辑器* 将现有微型网站自定义为能够体现品牌形象、为最终用户提供良好体验的空间。

如果你还没有 [设置微型网站](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/set-up-a-microsite.md) ，请先完成设置。

1. 在左侧导航菜单中，选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 内容**.
2. 在 *微型网站* 卡片上，选择 **编辑内容**.
   * 此操作会打开微型网站编辑器，并显示 *微型网站* 侧边栏。
3. 使用微型网站编辑器更新品牌形象，或添加新内容，例如布局和页面。

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fu8WZu3QIIhdEbGgIEptB%2FScreenshot%202026-05-18%20at%2010.44.26.png?alt=media&#x26;token=45c65550-6e83-4e79-8372-ec2793c4c913" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
**警告：** 微型网站编辑器不会自动保存更改。请经常保存，以免丢失工作内容。
{% endhint %}

{% stepper %}
{% step %}

## **第 1 步：更改微型网站的品牌设置（可选）**

{% tabs %}
{% tab title="颜色和字体" %}
基础布局包含一个品牌容器组件，用于控制微型网站的字体和品牌颜色。品牌颜色会应用于微型网站的多个部分，包括高亮颜色和按钮颜色。

1. 在 *微型网站* 侧边栏中，选择 **基础布局**.
2. 在左侧的 *当前布局*下，选择 **图层**.
3. 选择 **品牌容器**.
4. 在右侧的 *品牌容器* 菜单中，编辑 **品牌颜色** 和 **品牌字体**.

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-f58dfdd168765b914fd22b232cabd8030450c27f%2F6f54642b7524983137442de4c4ecc2a20984c511b5e26423a5edadc0060f9a45.png?alt=media" alt="" width="223"><figcaption></figcaption></figure></div>

5. 在右上角选择 **保存** 。
   {% endtab %}

{% tab title="网站页眉" %}
你可以添加可点击的页眉图片，将参与者引导至指定页面。请在基础布局中进行设置。

1. 在 *微型网站* 侧边栏中，选择 **基础布局**.
2. 在左侧的 *当前布局* 或 *当前页面*下，选择 **图层**.
3. 在右侧的 *微型网站框架页眉内容* 菜单中，提供一张图片，并根据需要调整其高度和宽度。
4. 设置重定向路径。参与者点击图片后将跳转到此处。
5. 选择 **保存**.
   {% endtab %}
   {% endtabs %}
   {% endstep %}

{% step %}

## **第 2 步：创建布局或页面**

{% tabs %}
{% tab title="添加页面" %}

1. 在 *微型网站* 侧滑菜单中，选择 **微型网站**.
   * 此操作会打开微型站点的结构视图，其中显示所有布局和页面。
2. 选择 **添加页面** 按钮。
3. 也可以使用 **继承的布局** 下拉列表，选择要用作父布局的布局。

{% hint style="info" %}
**示例：** 如果要向站点添加一个所有人都能查看的着陆页（无论其是否已登录为参与者），可以在基本布局中嵌套一个新页面。
{% endhint %}

4. 输入 **页面标题** 或布局名称。
5. 也可以调整页面的 **页面键** 。页面键会根据页面标题自动生成；如有需要，也可以进行更改。
6. 输入页面的 **URL** 。
   * 在名称前添加正斜杠；如果 URL 包含多个单词，请使用连字符，例如： `/company-info`.
7. 在 **允许的用户** 下拉列表中，选择可以访问该页面的用户组。
   * **公开：** 任何人都可以查看。
   * **已验证：** 仅限已登录的参与者。
   * **未验证：** 已登录但尚未验证电子邮件地址的参与者。
8. 在 **禁止访问的用户的重定向页面** 下拉列表中，选择要将无权访问的参与者重定向到的页面。
9. 选择 **添加**.
10. 在页面右上角，选择 **保存**.
    {% endtab %}

{% tab title="添加布局" %}

1. 在 *微型网站* 侧滑菜单中，选择 **微型网站**.
   * 此操作会打开微型站点的结构视图，其中显示所有布局和页面。
2. 选择 **添加布局**.
3. 也可以使用 **继承的布局** 下拉列表，选择要用作父布局的布局。这主要有助于整理站点结构。
4. 输入布局的 **布局名称** 。
5. 也可以调整布局的 **布局键** 。布局键会根据页面标题自动生成；如有需要，也可以进行更改。
6. 选择 **添加**.
7. 在页面右上角，选择 **保存**.
   {% endtab %}
   {% endtabs %}
   {% endstep %}

{% step %}

## **第 3 步：应用模板**

如果不想从头开始，可以将模板应用于新的布局或页面。

1. 在 *微站点* 侧滑面板中，使用结构视图选择要应用模板的布局或页面。
2. 在左侧的 *当前布局* 或 *当前页面*下方，选择 **模板**.
3. 浏览可用模板，然后在要使用的模板卡片上选择 **应用模板** 。

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FmANLKNh0KRWXP8G7Abj6%2FScreenshot%202026-05-18%20at%2010.40.44.png?alt=media&#x26;token=6fec0d57-89af-4cbc-8e23-2fe243a13882" alt="" width="267"><figcaption></figcaption></figure></div>

4. 在页面右上角，选择 **保存**.
   {% endstep %}

{% step %}

## **步骤 4：编辑微站点侧边栏**

如果希望已登录的参与者能够通过微站点的侧边栏导航菜单访问某个页面，建议执行此操作。以下步骤将说明如何操作；如果你想在其他布局中添加侧边栏项目，也可以根据需要调整这些步骤。

1. 在 *微站点* 侧滑面板中，从结构视图选择 **已登录布局** 。
   * 选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-90673bb8db696bdefe7b207cfc07c46caf1d43f1%2Fce7a994978f06dd84cc6a31b890071502b4831990afd8fdd73f73c6d2e203660.png?alt=media) **\[退出图标]** 以关闭侧滑面板并访问编辑画布。
2. 在右侧的 *添加* 菜单中，展开 *微站点组件* 类别，然后选择 **侧边栏项目**.

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-87da46ebfa6e69752ed1c574a17d0036746d311d%2F125bfdb46d75238f2772523663950b1311a17055d85a39bca25033bc56a45d5e.jpg?alt=media" alt=""><figcaption></figcaption></figure></div>

3. 在编辑画布中，将 *侧边栏项目* 组件拖到有效位置。可用位置会以 **添加到侧边栏内容** 提示标示。
   * 在较小的屏幕上，选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-71ccc0ed9e3023e12691656e4a063341060fe3bd%2F69bc484dc36b22c013f4fde7e0360a7ae9b8d39164beff2b6fabc9ea6d0efb1d.svg?alt=media) **\[汉堡菜单]** 以访问 **添加到侧边栏内容** 按钮。
4. 在右侧的 *编辑* 菜单中，选择 **图标** 和 **标签** 来表示该页面。
5. 在 **导航路径** 下拉列表中，选择用户应跳转到的页面 URL 路径。
6. 在页面右上角，选择 **保存**.
   {% endstep %}

{% step %}

## **步骤 5：预览并保存**

{% tabs %}
{% tab title="预览你的微型网站" %}
你可以预览微型网站在参与者面前的显示效果。

1. 在顶部菜单栏中，切换 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-9a50309ee9d0e10094bf68c9b9ae1999dbec4f48%2F7cf9c6c1f6544aa358de22e77201e216647a70ab22c854c02334f51f45892424.svg?alt=media) **\[桌面]**, ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-02123f07d293035e9e37f19e086187c0e90e7dd0%2F1b889798dd233ebb71c2adcc44be0e2887772538ce7c6357d7ef1ea246c0e564.svg?alt=media) **\[平板电脑]** 或 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-04b329f4eb244c77b35e32d9988afc78f428a88f%2Fe05ee6fbf869c562df0a7fbc8a38b177082975c06ddf6adcda9d4c00bd0e43ac.svg?alt=media) **\[手机]** 以查看微型网站在各类设备上的显示效果。
2. 要进入预览模式，请从顶部菜单栏中选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-190c6a03e6a68d67509d00452b10fd803bee5c87%2F57c7cba09bd1b97dd75b7c245e517c8d1ca0469d7c57bdc13ee6e427b75a860a.svg?alt=media) **\[查看]** 。
3. 要返回编辑界面，请从顶部菜单栏中选择 ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-60e9ace573178da411cb3be9c6f3b0f4b7e5b524%2F4094fadf599e544cfc618c18eb22087defdb9be38a580cd0041a242a88294e1e.svg?alt=media) **\[编辑]** 。
   {% endtab %}

{% tab title="保存微型网站" %}
微型网站编辑器不会自动保存你的更改。请经常保存，以免丢失工作成果。

1. 完成所有相关更改后，请选择右上角的 **保存** 。
2. 保存后，更改会立即显示在微型网站的线上版本中。
   {% endtab %}
   {% endtabs %}
   {% endstep %}
   {% endstepper %}

如需进一步了解微型网站和小组件的组件相关内容，请参阅我们的文章： [小组件和微型网站组件详解](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-and-microsite-components-explained.md) 。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/customize-microsite-layouts-and-pages.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
