Section
配件展示
1 个模板实例,3 个 section 配置,4 类 block。
真实模板变体
Schema
{
"name": "配件展示",
"class": "accessories-showcase-section",
"settings": [
{
"type": "text",
"id": "section_id",
"label": "Section ID",
"default": "accessories-showcase"
},
{
"type": "text",
"id": "feature_section_title",
"label": "功能展示区标题",
"default": "More to come"
},
{
"type": "text",
"id": "accessories_section_title",
"label": "配件产品区标题",
"default": "Accessories You'll Need"
}
],
"blocks": [
{
"type": "feature_large",
"name": "功能展示卡片(上区大卡片)",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "功能图片(建议16:9)"
},
{
"type": "text",
"id": "title",
"label": "功能标题",
"default": "IPX7 Waterproof"
}
]
},
{
"type": "feature_small",
"name": "功能展示卡片(下区小卡片)",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "功能图片(建议4:3)"
},
{
"type": "text",
"id": "title",
"label": "功能标题",
"default": "Magnetic Detachment"
}
]
},
{
"type": "feature_card",
"name": "功能展示卡片",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "功能图片"
},
{
"type": "text",
"id": "title",
"label": "功能标题",
"default": "IPX7 Waterproof"
}
]
},
{
"type": "accessories_card",
"name": "配件产品卡片",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "产品图片"
},
{
"type": "text",
"id": "title",
"label": "产品标题",
"default": "Shaver Stand"
},
{
"type": "textarea",
"id": "description",
"label": "产品描述",
"default": "Keeps your shaver organized"
},
{
"type": "url",
"id": "link",
"label": "产品链接"
},
{
"type": "text",
"id": "button_text",
"label": "按钮文字",
"default": "Buy now"
}
]
}
],
"presets": [
{
"name": "配件展示",
"blocks": [
{
"type": "feature_large",
"settings": {
"title": "IPX7 Waterproof"
}
},
{
"type": "feature_large",
"settings": {
"title": "Compact Easy Carry"
}
},
{
"type": "feature_small",
"settings": {
"title": "Magnetic Detachment"
}
},
{
"type": "feature_small",
"settings": {
"title": "Travel Mode"
}
},
{
"type": "accessories_card",
"settings": {
"title": "Shaver Stand",
"description": "Keeps your shaver organized",
"button_text": "Buy now"
}
},
{
"type": "accessories_card",
"settings": {
"title": "Protective Case",
"description": "Travel-friendly protection",
"button_text": "Buy now"
}
}
]
}
]
}