---
title: "sections"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-structure/sections'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-structure/sections.md'
---
# sections

`sections` 目录中包含了主题所有的组件。组件是页面模版搭建的核心元素，用于定义页面模块的结构和功能。商家可以在主题编辑器中自由添加、删除、移动、或编辑组件内容。

---


## 目录结构 {#kk3Ir}
在 `sections` 目录下，每个组件必须有一个目录，且该目录下有一个与目录名同名的 `.html` 文件。

组件可以由三种文件类型组成，支持 `.html`  `.css` 和 `.js` 文件后缀格式。

+ **.html**（必须）：用于定义 section 的 HTML 布局。
+ **.css**（可选）：用于定义 section 的样式。
+ **.js**（可选）：用于定义 section 的行为交互。

```html
sections
├── announcement-bar
│   ├── announcement-bar.css
│   ├── announcement-bar.js
│   └── announcement-bar.html
├── blog
│   ├── blog.css
│   └── blog.html
```

---


## 创建组件{#JNDWB}
每个组件的 `.html` 文件中，通常包含两个部分：

+ **HTML**：用于定义组件的布局。
+ **schema**：用于定义组件的配置，此配置将在主题编辑器中展示为商家可自定义的配置。

如下以精选商品（`featured-collection`）为例，展示创建一个组件的步骤。


### 1. 添加组件文件{#JmCAg}
在 `sections` 目录下新建一个 `featured-collection` 的目录，再新建一个同名的 `.html` 文件。

```html
sections
└── featured-collection
    └── featured-collection.html
```


### 2. 定义组件 schema 配置{#lEbtM}
在 `featured-collection.html` 文件下添加 [schema](#HWiNw)。

```html
<!-- sections/featured-collection/featured-collection.html -->

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ]
}
{{/schema}}

```


### 3. 渲染组件 schema 配置{#yN3Yq}
使用组件 schema 配置，需要在 HTML 中通过 `section.settings` 获取配置。

通过 [collection 控件](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-and-editor-interaction/editor-controls.md#hwIJ6) 获取商家选中分类的标题。

获取组件配置的 id 为 `collection`。

以下例子说明了如何获取商家配置分类的标题：

```html
<!-- sections/featured-collection/featured-collection.html -->

<section>
  title: {{section.settings.collection.title}}
</section>

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ]
}
{{/schema}}

```

输出：

```html
<section>
  title: /collections/foo
</section>
```

> **提示**
>
> [schema](#HWiNw) 只用于声明组件配置，它不会输出内容。

---


## 创建私有区块{#F0kAU}
在组件中支持使用区块，可以把功能模块拆分成区块，然后在组件进行组装。

> **提示**
>
> 更多与区块相关的内容请参阅 [blocks](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-structure/blocks.md)。


### 1. 添加私有区块文件{#r6XuC}
组件的私有区块必须存放在组件的 blocks 目录下。

在 `sections/featured-collection` 目录中，创建私有 `blocks` 目录：

```html
sections
└── featured-collection
    ├── featured-collection.html
    └── blocks
        ├── heading.html          # 标题区块
        └── product-list.html     # 商品列表区块
```


### 2. 定义区块 HTML 布局{#L36Wm}
在 `heading.html` 内使用 [props](https://developer.shopline.com/zh-hans-cn/docs/sline/object/props.md)  object 获取在组件传入的 `text` 字段：

> **提示**
>
> props 下的所有字段都是由区块内部定义的需要外部传入的参数，比如 text 字段，表明使用此区块时，需要传入 text 字段的参数。


```html
<!-- sections/featured-collection/blocks/heading.html -->

<div class="heading">
  <div>{{props.text}}</div>
</div>
```

在 `product-list.html` 文件中：

1. 使用 [props](https://developer.shopline.com/zh-hans-cn/docs/sline/object/props.md)  object 获取在组件中传入的 `collection` 字段。
2. 使用 [get_product_pagination](https://developer.shopline.com/zh-hans-cn/docs/sline/filter/get-product-pagination.md) filter 获取商品分页数据。
3. 使用 [for](https://developer.shopline.com/zh-hans-cn/docs/sline/tag/for.md)  tag 渲染商品的内容。

```html
<!-- sections/featured-collection/blocks/product-list.html -->

{{#var products_pagination = props.collection | get_product_pagination(4) /}}
{{#var products = products_pagination.list /}}
<ul>
  {{#for product in products}}
    <li>
      <div>{{product.title}}</div>
    </li>
  {{/for}}
</ul>
```


### 3. 渲染区块{#G5zf4}
创建完区块后，即可以在组件中引入使用。

在 HTML  的 div 标签里面使用 [blocks](https://developer.shopline.com/zh-hans-cn/docs/sline/tag/blocks.md)  tag 和 [block](https://developer.shopline.com/zh-hans-cn/docs/sline/tag/block.md)  tag 渲染区块。

在 schema 字段添加所需要的 `blocks` 字段：

```html
<div>
  {{#blocks}}
    {{#if forblock.type == "$heading"}}
      <!-- 给 heading block 传入 section.settings.collection.title -->
      {{#block text=section.settings.collection.title /}}
    {{#else if forblock.type == "$product-list" /}}
      <!-- 给 product-list block 传入 section.settings.collection -->
      {{#block collection=section.settings.collection/}}
    {{/if}}
  {{/blocks}}
</div>

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ],
  "blocks": [
    {
      "type": "$heading",
      "limit": 1
    },
    {
      "type": "$product-list",
      "limit": 1
    }
  ]
}
{{/schema}}
```

---


## 组件集{#v1BKI}
组件集是相关组件的集合，用于组合要渲染的组件及其相关配置。组件集由 `sections` 下的 `.json` 文件表示，组件集类型文件必须存放在组件的根目录下。目录结构样例如下：

```html
sections
├── header-group.json
└── footer-group.json
```

以下是一个组件集的 JSON 数据规范：

```html
{
  name: <SectionGroupName>,
  type: <SectionGroupType>,
  sections: {
    <SectionID>: {
      "type": <SectionType>,
      "disabled": <SectionDisabled>,
      "settings": {
        <SettingID>: <SettingValue>
      },
      "blocks": {
        <BlockID>: {
          "type": <BlockType>,
          "settings": {
            <SettingID>: <SettingValue>
          },
          "blocks": {
            <BlockID>: {
              "type": <BlockType>,
              "settings": {
                <SettingID>: <SettingValue>
              }
            }
          }
        }
      },
      "block_order": <BlockOrder>
    }
  },
  "order": <SectionOrder>
}
```


### schema 字段{#fkAOe}
| 字段 | 数据类型 | 是否必填 | 描述 |
| --- | --- | --- | --- |
| \<SectionGroupName> | String | 是 | 组件集的名称。 |
| \<SectionGroupType> | String | 是 | 组件集的类型，枚举值为：<br/>• `header`：应用在页头的组件集类型。<br/>• `footer`：应用在页脚的组件集类型。 |
| \<SectionID> | String | 是 | 用于识别组件的全局唯一随机 hash 字符串。 |
| \<SectionType> | String | 是 | 组件文件名。 |
| \<SectionDisabled> | Boolean | 否 | 组件显示或隐藏。<br/>• `true`：隐藏。<br/>• `false`（默认）：显示。<br/> |
| \<BlockID> | String | 否 | 用于识别区块的全局唯一随机 hash 字符串。 |
| \<BlockType> | String | 否 | 区块的 HTML 文件名。 |
| \<BlockOrder> | String[] | 否 | \<BlockID> 列表，决定区块的渲染顺序。 |
| \<SectionOrder> | String[] | 否 | \<SectionID> 列表，决定组件的渲染顺序。 |
| \<SettingID> | String | 否 | 配置项 ID，其在 [schema](#HWiNw) 中自定义。 |
| \<SettingValue> | String | 否 | 配置项值，由商家自定义。 |


以下是一个 `header-group.json` 的例子：

```html
{
  "name": "Header Group",
  "type": "header",
  "sections": {
    "announcement-bar": {
      "type": "announcement-bar",
      "blocks": {
        "announcement-bar__item1": {
          "type": "$item"
        }
      },
      "block_order": ["announcement-bar__item1"]
    },
    "header": {
      "type": "header"
    }
  },
  "order": ["announcement-bar", "header"]
}

```


### 组件集的使用{#iVIhI}
使用组件集的方式是通过 [sections](https://developer.shopline.com/zh-hans-cn/docs/sline/tag/sections.md)  tag 引入，以下是在 `layout/theme.html` 引入 `header-group.json` 的例子：

```html
<!DOCTYPE html>
<html lang="{{request.locale.iso_code}}">
  <head>
    ...
  </head>
  <body>
    ...
    {{#sections "header-group" /}}
    ...
  </body>
</html>
```

在主题编辑器内，可以在此组件集内添加、删除和排序组件。

> **提示**
>
> 一般情况下，`sections` 目录下只有 `header-group.json` 和 `footer-group.json`。
> 
> `header-group.json` 表示应用在页头的组件集，`footer-group.json` 表示应用在页脚的组件集。


---


## 固定组件{#b9bnC}
固定组件，是指不可通过主题编辑器添加、删除、移动，只能修改组件配置的组件。一般适用于固定且不想被商家移除的页面模块，如页头、页脚。必须在 [布局文件](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-structure/layout.md?_highlight=布局&_highlight=文件) 中引用固定组件。


### 固定组件的使用{#i0KCe}
你可以通过 [section](https://developer.shopline.com/zh-hans-cn/docs/sline/tag/section.md)  tag 引用固定组件，并且该引用代码，必须放在布局文件中。

以下是 Bottle 主题中，店铺密码页使用了固定组件的代码示例：

```html
<!-- layout/password.html -->

<!DOCTYPE html>
<html>
<head>
  {{#content "header" /}}
</head>
<body class="password-page">
  {{#section "main-password-header" /}}	<!-- 引用固定组件 main-password-header -->

  ...
  {{#content "layout" /}}
  ...

  {{#section "main-password-footer" /}}	<!-- 引用固定组件 main-password-footer -->

  {{#content "footer" /}}
</body>
</html>
```

---


## 异步组件渲染{#eZR0U}
你可以使用异步组件渲染能力，通过 AJAX 请求获取到指定的组件 HTML 片段，然后动态替换页面元素来更新页面内容，而无需加载整个页面。

详情请参阅 [异步组件渲染 API](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/section-rendering-api.md?lang=zh-hans-cn)。

---


## schema{#HWiNw}
组件可以通过 schema 配置声明组件的各种属性，例如组件名称。

`schema` 由以下属性组成：

+ [name](#rA50l)
+ [class](#S9g2T)
+ [tag](#Yui6z)
+ [settings](#FwRZ1)
+ [blocks](#PzFEc)
+ [max_blocks](#GnwIG)
+ [limit](#txqP3)
+ [presets](#gEtJW)
+ [icon](#eJfLd)

> **提示**
>
> schema 只用于声明组件配置，不会在页面中输出内容。

### name{#rA50l}
`name` 属性决定了此组件默认在主题编辑器中显示的组件标题。

输入以下的 schema：

```html
{{#schema}}
{
  "name": "轮播图"
}
{{/schema}}
```

在主题编辑器中呈现组件名：

![](https://s2cdn.myshopline.com/slfs/op-new/175203225734147/1740642489516-d27b9d3e-f7f2-420c-bb77-ef462920eb8e.png)




### class{#S9g2T}
在主题页面渲染一个组件时，组件会被包裹在一个 HTML 元素中，并且带有 `shopline-section` 的 class 属性，你可以使用 class 属性追加定义这个 HTML 元素的 class 值，例如：

```html
{{#schema}}
{
  "name": "Slideshow",
  "class": "slideshow"
}
{{/schema}}
```

输出以下 HTML：

```html
<section id="shopline-section-[id]" class="shopline-section slideshow">
  // ...
</section>
```



### tag{#Yui6z}
在主题页面渲染一个组件时，组件会被包裹在一个 HTML 元素中，默认的 HTML 元素是 `div`。你可以使用 tag 属性改变这个 HTML 元素，例如：

```html
{{#schema}}
{
  "name": "Slideshow",
  "tag": "section"
}
{{/schema}}
```

输出以下 HTML：
```html
<section id="shopline-section-[id]" class="shopline-section slideshow">
  // ...
</section>
```

在区块的 schema 中，把 tag 值设置为空字符串，则可以取消包裹层。此时必须手动添加 `{{{shopline_attributes }}}` 属性，来为主题编辑器的检查器功能提供具体位置。若保留包裹层，则会自动添加此属性，无需手动处理。例如：
```html
{{#schema}}
{
  "name": "Slideshow-item-block",
  "tag": ""
}
{{/schema}}
```

### settings{#FwRZ1}

> **提示**
>
> `settings` 的内容请参阅 [控件配置](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/theme-and-editor-interaction/editor-controls.md)。

你可以创建组件的特定配置项来允许商家在主题编辑器自定义组件：

> **注意**
>
> 每个 `settings` 中的 `id` 必须在当前组件内唯一。

```html
{{#schema}}
{
  "name": "富文本",
  "settings": [
    {
      "type": "richtext",
      "id": "title",
      "label": "标题",
      "default": "请输入内容"
    }
  ]
}
{{/schema}}
```

![](https://s2cdn.myshopline.com/slfs/op-new/175203243727569/1743675171862-c6698408-6116-464c-98c5-ba73d2ae6ba5.png)



#### 访问组件的配置{#S7gQ1}
组件的配置可以通过 [section.settings](https://developer.shopline.com/zh-hans-cn/docs/sline/object/section.md?_highlight=section&_highlight=settings) 访问：

```html
<div>{{ section.settings.title }}</div>

{{#schema}}
{
  "name": "Slideshow",
  "settings": [
    {
      "type": "richtext",
      "id": "title",
      "label": "Title",
      "default": "Rich text"
    }
  ]
}
{{/schema}}
```


### blocks{#PzFEc}
你可以为一个组件创建可复用的区块，区块可以在一个组件内添加、删除和排序。

`blocks` 字段具有以下属性：

| 属性 | 值类型 | 是否必填 | 描述 |
| --- | --- | --- | --- |
| type | string | 是 | 区块的类型。根据区块的不同，该值有如下区别：<br/><br/>• **公有区块**：区块对应的 HTML 文件名。例如，公有区块的文件名为 `blocks/heading.html`，那么 `type` 的值为 `heading`。<br/>• **私有区块**：区块对应的 HTML 文件名，以 $符号开始。例如，私有区块的文件名为 `sections/blog/blocks/articles.html`，那么 `type` 的值为 `$articles`。<br/>• [App Block](https://developer.shopline.com/zh-hans-cn/docs/online-store-3-0-themes/integrate-apps-with-themes/theme-app-extension/structure.md#omBjg)：值固定为 `@app`，表示是可以添加 App Block 的区块。 |
| limit | number | 否 | 可以使用该类型的区块的数量。 |


```html
{{#schema}}
{
  "name": "Slideshow",
  "blocks": [
    {
      "type": "heading-with-link/heading-with-link",
      "limit": 1
    },
    {
      "type": "product-list/list",
      "limit": 1
    }
  ]
}
{{/schema}}
```


### max_blocks{#GnwIG}
`max_blocks` 属性表示此组件可以在主题编辑器中添加区块的最大数量。例如：

```html
{{#schema}}
{
  "name": "Slideshow",
	"max_blocks": 5
}
{{/schema}}
```

### limit{#txqP3}
`limit` 属性用于限制同一类型组件或区块的可添加数量。当 `limit` 配置在组件 `schema` 中时，表示该组件在同一个页面模板中最多可添加的数量。例如：
```html
{{#schema}}
{
  "name": "描述",
  "limit": 1
}
{{/schema}}
```

以上配置表示：该组件在同一个页面模板中最多只能添加 1 个。
同样地，limit 也可以配置在 blocks 中，用于限制某一种区块在当前组件内最多可添加的数量。例如：
```html
{{#schema}}
{
  "name": "内容容器",
  "blocks": [
    {
      "type": "$heading",
      "limit": 1
    },
    {
      "type": "$subheading",
      "limit": 1
    }
  ]
}
{{/schema}}
```
以上配置表示：在该组件内，`$heading` 类型区块最多只能添加 1 个，`$subheading` 类型区块最多也只能添加 1 个。

### presets{#gEtJW}
`presets` 属性用于定义在主题编辑器中，点击添加组件时，该组件的预设配置。

该属性是一个数组，数组中的元素数量代表此组件的预设配置数量。每个组件应至少包含一份预设配置。

当商家在主题编辑器中添加组件时，所选中组件的预设配置将会被添加到相应的 `JSON Template` 中。

> **注意**
>
> 如果没有显式声明 `presets` 属性，则在主题编辑器中添加组件时，无法添加这个组件。

`presets` 的每项有以下属性：

| 属性 | 描述 | 是否必填 |
| --- | --- | --- |
| name | 预设名称，将显示在主题编辑器的添加组件的名称上。 | 是 |
| settings | 预设的配置，以对象的形式在存储预设值。 | 否 |
| category | 预设的分类，将在主题编辑器添加组件的时候的将该预设分组。 | 否 |
| blocks | 预设的 `blocks`，用于在主题编辑器添加此组件的时候，默认添加的区块以及其配置。<br/>每个区块都拥有两个字段：<br/>• `type`：区块的 HTML 文件名。例如：heading.html<br/>• `settings`：区块的预设配置。与组件的预设配置形式一致 | 否 |


下面是一个组件中包括预设的例子：

```html
{{#schema}}
{
  "name": "Slideshow",
  "settings": [
    {
      "type": "text",
      "id": "title",
      "label": "Title"
    }
  ],
  "presets": [
  	{
      "name": "Image slideshow",
    	"settings": {
      	"title": "Image"
      },
      "blocks": [
        {
          "type": "$image",
          "settings": {
            "text": "image item"
          }
        }
      ]
    }
  ]
}
{{/schema}}
```


### icon{#eJfLd}
`icon` 用于展示此组件在主题编辑器中拖拽区展示的图标，以下是可用的枚举值：

| 枚举值 | 展示的图标 |
| --- | --- |
| footer | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678461326100/1740474646568-34019d7f-be67-4a02-94f2-c78f245ea582.png) |
| header | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678463382622/1740474696550-552030fb-5047-435a-a92a-fd703da7527f.png) |
| testimonials | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678465160601/1740474754470-fde6b2c0-ddd8-421c-a6ae-7279291a3858.png) |
| orderPlacement | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678466715481/1740474789100-6b1be585-bf44-4854-8829-9474539c5366.png) |
| products | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678468092025/1740474844449-536f8d71-a967-4545-a7bc-478a7aaf4dfd.png) |
| collection | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678469384206/1740474887893-a819dafd-528a-4bc2-934c-3a79ace1d300.png) |
| collectionList | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678471042265/1740474936190-56832e04-b5e4-417c-8309-93ad410c4d5f.png) |
| productThumbnail | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678472387942/1740475047421-1614bf49-0120-42dc-9837-59928c6f99ed.png) |
| filter | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721759898/1740475070266-3cc732f5-357e-4f59-9022-a7812eb07d56.png) |
| featuredProduct | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721425976/1740475093919-be1da201-1943-476c-9425-c25b146e6ead.png) |
| productHighlightWithCover | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721893736/1740475109851-877423ce-8914-4b33-94fe-34a44eb87c28.png) |
| content | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721952609/1740475128640-a64d953a-50e8-41a5-ae40-649dca78ccfd.png) |
| image | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721029720/1740475152335-904a369c-16d6-4fa9-b811-39d62402d425.png) |
| slideshow | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721873241/1740475189365-62d2b9a1-e7f0-4536-817a-95b352c5063a.png) |
| heroImageWithTextBox | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721629231/1740475210018-c3508c53-caa8-49e8-b7fe-c19bcae5a0a5.png) |
| textWithImage | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721522133/1740475235209-46815199-137e-4917-bb42-ee79f1455413.png) |
| textColumnsWithIcons | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721211794/1740475260701-13c15b36-09dd-4c6a-8897-1d9d12788e31.png) |
| video | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721417389/1740475276775-fd198837-1b51-44af-80fe-2531de34c497.png) |
| logoList | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721034770/1740475318338-360567b7-152e-4d4e-8f0a-b7238589adc5.png) |
| imageTextGrid | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721995423/1740475334147-ada8a4fb-b046-4538-b5b2-c9bf829ffc16.png) |
| timeline | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721758357/1740475350323-efb5a9e2-17ca-4e9e-8b9c-11689ec727e1.png) |
| campaignPromotion | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721726153/1740475365554-e40728ab-64ea-4c46-a327-d898c86503c2.png) |
| footerPromotion | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721541319/1740475381362-d3b298f2-9ffd-40dc-9a8b-28180c11d017.png) |
| announcementBar | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721016446/1740475401859-0b047553-703e-4ba1-b6ad-ae77dbb7b3b7.png) |
| discountBanner | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721798119/1740475494784-ea7b6f2d-55be-4b53-9248-74dc3ec7bd76.png) |
| email | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721669042/1740475508210-d3783f81-a96f-4a89-b56e-28883eb32ac1.png) |
| navigation | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721994400/1740475545134-f6bda8e9-2a44-4995-9dd6-2b34ffb607d4.png) |
| frequentlyAskedQuestions | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678720929203/1740475583743-01b9c86b-5f18-457c-93ee-b812ebda061f.png) |
| code | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721756581/1740475598861-b9fc788b-55b0-477a-8985-7787aee090b3.png) |
| brandList | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721625527/1740475619204-dc8f70ab-784e-4410-87c0-bc94883ba4e9.png) |
| sideColumnFilter | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721793893/1740475634531-12a7c57e-443c-4896-b709-b33aaaf25869.png) |
| socialMedia | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721929500/1740475648105-34744300-e395-4caf-8c5e-9e796dc62959.png) |
| sideColumn | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721886435/1740475726494-7fd16750-ccc6-4667-a703-1189cb69fe4f.png) |
| inquiryForm | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721868137/1740475739374-ce6de4e4-cf62-44a0-8702-285a17803ef8.png) |
| externalLink | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721531117/1740475763210-741b55aa-1f92-469c-8024-0067aaff0970.png) |
| generalSection | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721550546/1740475780373-660febe6-d2d6-4d83-985c-242422518619.png) |
| company | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721732415/1740475792743-cfe29065-fe37-48b7-b982-1cf38dc59492.png) |
| marketSelector | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721720308/1740475804617-6edd0318-e15e-42a4-ae20-a8967222b35f.png) |
| cardComponent | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721438501/1740475820670-17985d5c-f877-44bb-80d5-9bfabf4aab49.png) |
| blog | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721890158/1740475833077-8358be8c-477c-42eb-9c45-2f74361f8dd6.png) |
| title | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721812621/1740475845210-cddc1126-22e5-42e5-9c9e-d6a90909b43d.png) |
| button | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721920221/1740475858050-db90ac5f-3a37-4edf-9f24-c60e8e412f8e.png) |
| general | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721418698/1740475883310-b1eceeb7-e165-4ad7-b870-b9ab41e183cc.png) |
| checkoutPage | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721827062/1740475898205-e715dd7b-db5f-49bb-a882-ca3b91ce7fb3.png) |
| homePage | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721717534/1740475910126-c2f3362d-24af-4142-8d61-841f68b207fb.png) |
| additionalPages | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721632436/1740475920989-7741ac07-e041-47de-90ba-f19a8a9cd72c.png) |
| shoppingCart | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721974552/1740475936647-ab3be5da-dd50-472a-b1a9-04e72b8c6cc2.png) |
| loyaltyPoints | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721999326/1740475953917-78f4973e-76be-4392-9674-d1477ee85f6b.png) |
| toggleSwitch | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721448877/1740475966547-61bdf00e-7c83-4286-bb93-e1c7d17560df.png) |
| starRating | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721833093/1740475978439-710304cb-76a5-4b44-ae8e-68fa0b9fc18d.png) |
| date | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721979517/1740475991196-ee8416f7-1d9f-45a4-94ad-b98aba885390.png) |
| measurement | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721616191/1740476002344-cb202324-0927-40eb-90b1-8a5cc399f072.png) |
| dataReference | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721784019/1740476013939-6c7cee67-0f64-4ff4-a2c9-d06fecb929d0.png) |
| colorPicker | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721852737/1740476025865-3412f22f-a0be-4378-8ff7-2b10b0d653c7.png) |
| fileUpload | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721635543/1740476042962-5dfdbd40-ebd3-41dd-9c1a-3c82340b7d5c.png) |
| number | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721823336/1740476054335-43ea185c-ed69-45b3-a04d-74ad1034865a.png) |
| addCustomField | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721913489/1740476068009-40e8b90e-b2ad-412b-888a-00ff88fcc8fd.png) |
| linkCustomField | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721944635/1740476077461-d66d5b66-1a02-4a7a-ae5a-b738c870bf1e.png) |
| customer | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721989576/1740476093325-a16aadf4-3247-45b9-9200-0dbb5d20cce2.png) |
| currency | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721889947/1740476106749-7800ebda-d867-44ca-bc38-6a56881054dc.png) |
| productSku | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721698785/1740476117626-356a26bf-74ac-497b-ba31-46e9f74d79fb.png) |
| vector | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721878881/1740476129691-3efbf61f-16f3-4530-88c7-599bc899d61f.png) |
| addButton | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721811427/1740476140360-aa8c9596-7fa0-44d9-b016-766a78e585ba.png) |
| divider | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721782611/1740476157151-81779a6b-899e-494c-89e9-2534c9e7a469.png) |
| socialMedia | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721732728/1740476173857-1eb3c492-d780-4d06-8354-9e8b1e1418e4.png) |
| gallery | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721455455/1740476188382-d431f187-e0f1-43da-a17a-9ff7eb774a03.png) |
| discountTag | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721912185/1740476202922-ced0c743-cba5-4c8d-8f74-2aa9ecf382d0.png) |
| orderNotes | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721829762/1740476222699-d515fbc5-84b3-4a71-ae5d-5caaac98ffe8.png) |
| addToCart | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721916533/1740476235606-a37b9921-a962-4641-8980-d7b0398997f5.png) |
| abandonedCart | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721620790/1740476247330-410cb05c-7b2f-49b9-ab50-808d18e1c2e8.png) |
| favoriteStar | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721825947/1740476260291-061aad05-0edd-4879-8ebe-d8598c15ac7e.png) |
| storeIcon | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721811809/1740476271787-5601d2e1-6313-4a51-8cc4-23c3deb1692b.png) |
| groupIcon | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721557660/1740476285094-26c45cac-b785-4bf0-ae82-aa929eaccf3c.png) |
| dropdownSelect | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721890846/1740476298664-7aa7e43b-647c-4682-ba3f-2d30c2cc5f54.png) |
| upgradeOption | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721835191/1740476311791-73acaa24-ae47-484f-b8fa-c3f3a0ed3728.png) |
| cartTotal | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721776709/1740476328781-71a81486-1db5-4938-bea1-ed2d4bea6f57.png) |
| giftCard | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678722096873/1740476341185-140c457c-90a4-40d6-babc-98f5d1e6cde4.png) |
| userLevel | ![](https://cdn.myshopline.com/sl/slfs/sl-new/174678721951616/1740476357193-95c15e50-79f2-4ab8-8a8f-7ab668d08def.png) |

图标展示的位置：

![](https://cdn.myshopline.com/sl/slfs/sl-new/174678726450874/1743675714817-1c87210b-7f9c-4df3-9cf9-8f9482241bfa.png)


