Section
显微精密剃须对比
2 个模板实例,11 个 section 配置,1 类 block。
真实模板变体
Schema
{
"name": "显微精密剃须对比",
"tag": "section",
"class": "section",
"settings": [
{
"type": "text",
"id": "section_id",
"label": "Section ID",
"default": "microscopic-precision-shave"
},
{
"type": "header",
"content": "内容设置"
},
{
"type": "text",
"id": "heading",
"label": "区块标题",
"default": "Microscopic Precision Shave"
},
{
"type": "richtext",
"id": "description",
"label": "区块描述",
"default": "<p>At 200× magnification, P3 Pro shows better results than electric shavers in the same price range, and provides a cleaner cut than traditional razors.</p>"
},
{
"type": "header",
"content": "主产品设置"
},
{
"type": "image_picker",
"id": "main_product_image",
"label": "主产品图片",
"info": "建议尺寸:750x500px 或更高分辨率"
},
{
"type": "text",
"id": "main_product_title",
"label": "主产品标题",
"default": "T1 Pro"
},
{
"type": "text",
"id": "main_product_label",
"label": "主产品标签",
"default": "*Beard hair magnified at 200x.",
"info": "显示在图片右下角的小标签"
},
{
"type": "header",
"content": "样式设置"
},
{
"type": "color",
"id": "background_color",
"label": "背景颜色",
"default": "#f8f9fa"
},
{
"type": "color",
"id": "text_color",
"label": "文字颜色",
"default": "#2c3e50"
}
],
"blocks": [
{
"type": "comparison_product",
"name": "对比产品",
"limit": 2,
"settings": [
{
"type": "image_picker",
"id": "product_image",
"label": "产品图片",
"info": "建议尺寸:400x300px 或更高分辨率"
},
{
"type": "text",
"id": "product_title",
"label": "产品标题",
"default": "Traditional Shavers"
}
]
}
],
"presets": [
{
"name": "显微精密剃须对比",
"blocks": [
{
"type": "comparison_product",
"settings": {
"product_title": "Traditional Shaver"
}
},
{
"type": "comparison_product",
"settings": {
"product_title": "Similarly Priced Shavers"
}
}
]
}
]
}