> 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/microsite-editor-explained.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) 以及 [自定义品牌元素和内容](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) ，以调整其布局和页面。

## 打开微型网站编辑器

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. 在 *微型网站* 卡片上，选择 **编辑内容**.

## 编辑器界面

微型网站编辑器由顶部菜单栏、编辑画布、微型网站侧滑面板和组件菜单组成。

<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%2F6kHBNQwam7HkEsoPhH3u%2FCanvas%20(1).png?alt=media&#x26;token=96041e31-6e5e-449a-b018-f94859825093" alt=""><figcaption></figcaption></figure></div>

{% tabs %}
{% tab title="顶部菜单栏" %}
页面顶部的菜单栏可用于撤销操作、查看 HTML 代码以及预览完成后的微型网站。使用桌面、平板电脑或手机图标，查看微型网站在不同屏幕尺寸的设备上的显示效果。
{% endtab %}

{% tab title="画布" %}
画布会显示微型网站的当前内容。您可以选择单个组件进行编辑，也可以添加新组件，并一目了然地查看它们向参与者呈现的效果。将组件拖到画布上的新位置即可调整其顺序。这些组件列在微型网站侧滑面板部分的左侧。

* 选择 **图层** 可查看页面或布局中所有组件的详细视图
* 选择 **模板** 可查看微型网站页面的可用模板。
* 系统会根据您所选的页面、布局、小组件或电子邮件，显示第三个上下文相关菜单

  <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-3de3488148e89adc893ddbf2940d67dedea36a75%2F6564954dd5c2ac36c28fe92e6602750c13ebe01d18f84f6781593d1ec66448f5.jpg?alt=media" alt="" width="122"><figcaption></figcaption></figure></div>

{% endtab %}

{% tab title="微型网站侧滑面板" %}
微型网站侧滑面板是画布左侧可折叠的面板。它以树状结构展示布局和页面之间的继承关系。选择单个布局或页面即可查看内容并进行调整。您也可以在此添加更多页面和布局。

如需进一步调整品牌样式，请选择“微型网站样式”选项。请参阅 [使用内容编辑器自定义小组件和微型网站](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/customize-widgets-and-microsites-with-the-content-editor.md) ，了解可用样式选项的更多信息。
{% endtab %}

{% tab title="组件菜单" %}
组件菜单是画布右侧的面板。使用 *添加* 选项卡可向画布插入新组件，使用 *编辑* 选项卡可调整现有组件。
{% endtab %}
{% endtabs %}

## 微型网站结构

自定义微型网站时，需要了解几个重要的构成要素：布局、页面和组件。

<details>

<summary>布局</summary>

布局充当微型网站的“框架”。您可以在其中放置希望在整个微型网站中反复显示的组件，例如页眉和横幅图片。

布局和页面通过继承结构关联。页面和布局都可以继承其他布局。继承了布局的页面和布局，其内容会被继承布局的内容包裹。

{% hint style="info" %}
**示例：** 如果基础布局包含页眉图片，那么继承该基础布局的所有页面都会在相同位置显示同一张页眉图片。
{% endhint %}

如果您使用自动设置创建微型网站，那么网站默认包含三个布局。

**基础布局**

无论参与者当前位于哪个页面，也无论其是否已登录网站，基础布局中放置的内容都会显示。您可以在此添加希望在整个网站中显示的页眉或页脚。基础布局还包含品牌容器，用于管理全站的颜色和字体。

“ *已登录布局* ”和“ *已登出布局* ”均继承自 *基础布局*.

<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%2F3NHdmPGgjMudnsCGd1Yy%2Fimage.png?alt=media&#x26;token=54feac69-8c46-48be-9f14-32209f3c2539" alt="" width="312"><figcaption></figcaption></figure></div>

**登录后布局**

在 *登录后布局* 中，您可以添加所有已登录参与者无论身处哪个页面都能看到的组件。例如，微型网站的侧边导航菜单就是通过布局中的组件创建的。由于它被添加到布局中，任何继承该布局的页面都会包含这个侧边栏。

<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%2FRFRn1J9JxD4iYpmKIAv0%2Flogged-in-layout.jpg?alt=media&#x26;token=4815b054-264d-46e5-bcc8-88ed3ea5a624" alt="" width="310"><figcaption></figcaption></figure></div>

**未登录布局**

在 *未登录布局* 中，您可以自定义尚未通过身份验证的参与者看到的内容。

<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%2Fzmg9mkIeow7cpu0katqi%2Flogged-out-layout.jpg?alt=media&#x26;token=9bbd561b-237e-43f1-833b-d1076bf9e857" alt="" width="291"><figcaption></figcaption></figure></div>

</details>

<details>

<summary>页面</summary>

您可以在页面中构建网站内容，例如计划说明、推荐和分享信息，以及文本和图片。选择某个布局中的页面，即可打开并编辑其内容。

<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-0a6c026b6fbf6429ea9a8ff3ee2db4f6acfc84fd%2F87f7c50502733db94119262cc22612ef67923c5fc190d8c29938be0f4fd5a34f.jpg?alt=media" alt="" width="318"><figcaption></figcaption></figure></div>

您也可以在页面级别设置可见性，将页面访问权限限制为以下选项之一：

* <mark style="color:$success;">**已验证**</mark>：仅限已登录的参与者。
* <mark style="color:$danger;">**未验证**</mark>：尚未验证电子邮件地址的已登录参与者。
* **公开**：任何人均可查看。

如果您使用自动设置创建了微型网站，那么您的网站会自带多个页面，这些页面继承了 *登录后布局* 和 *登录后布局*.

**登录后布局页面：**

* 活动
* 仪表板
* 编辑个人资料
* 提交潜在客户
* 税务和现金

**未登录布局页面：**

* 电子邮件验证
* 忘记密码
* 登录
* 退出登录
* 页面未找到
* 注册
* 重置密码
* 验证电子邮件

</details>

<details>

<summary>组件</summary>

组件是可以添加到页面和布局中的独立元素，例如主视觉图片或推荐动态，可进一步个性化参与者的微型网站体验。

组件在组件菜单中按组排列。有关组件分组和各个组件的完整列表，请参阅 [小部件和微型网站组件详解](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) 。

<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-75004e7777739ce86600fd0a716eedbd7aa6c52d%2Ff413cd8a60e0c449e8d8a0e0ea0821173134ae92203976190fe299ac2ac079c6.jpg?alt=media" alt="" width="229"><figcaption></figcaption></figure></div>

</details>


---

# 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/microsite-editor-explained.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.
