Section
CNC 精工工艺
2 个模板实例,15 个 section 配置,3 类 block。
真实模板变体
Schema
{
"name": "CNC 精工工艺",
"settings": [
{
"type": "text",
"id": "section_id",
"label": "Section ID",
"default": "cnc-machining-time"
},
{
"type": "text",
"id": "main_title",
"label": "主标题",
"default": "由一整块铝精雕而成,CNC 一体机身。"
},
{
"type": "image_picker",
"id": "background_image",
"label": "背景图片/视频封面",
"info": "用作视频封面或者当没有视频时的图片"
},
{
"type": "header",
"content": "视频设置"
},
{
"type": "video",
"id": "hero_video",
"label": "主视频文件",
"info": "从Shopify素材库选择视频文件"
},
{
"type": "video",
"id": "hero_video_mobile",
"label": "移动端视频文件",
"info": "移动端专用视频;未配置时将回退到主视频"
},
{
"type": "checkbox",
"id": "autoplay_video",
"label": "自动播放视频",
"default": false,
"info": "页面加载时自动播放视频(静音状态)"
},
{
"type": "richtext",
"id": "description_1",
"label": "描述文本 1",
"default": "<p>为了完美无瑕的机械美感,我们采用了旗舰手机级别的高精度工序,这是电动剃须刀领域<strong>罕见地使用从内到外的 CNC 工艺,这使 P3 Pro 不仅极具美感,还更经久耐用。</strong></p>"
},
{
"type": "richtext",
"id": "description_2",
"label": "描述文本 2",
"default": "<p><strong>CNC 工艺应用在机身外壳与面盖、刀头外壳与面盖、主机压板、按钮,甚至螺丝都是由 CNC 工艺精雕细琢而成。</strong></p>"
},
{
"type": "text",
"id": "stats_title",
"label": "对比统计标题",
"default": "工艺难度,一目了然。"
},
{
"type": "range",
"id": "section_padding_top",
"min": 0,
"max": 200,
"step": 10,
"default": 80,
"label": "顶部间距 (px)"
},
{
"type": "range",
"id": "section_padding_bottom",
"min": 0,
"max": 200,
"step": 10,
"default": 80,
"label": "底部间距 (px)"
},
{
"type": "checkbox",
"id": "show_progress_section",
"label": "显示进度条部分",
"default": true
},
{
"type": "text",
"id": "progress_title",
"label": "进度条标题",
"default": "CNC Machining Time"
},
{
"type": "select",
"id": "background_theme",
"label": "背景主题",
"options": [
{
"value": "light",
"label": "浅色主题"
},
{
"value": "dark",
"label": "深色主题"
}
],
"default": "light"
}
],
"blocks": [
{
"type": "main_stat",
"name": "主要统计",
"settings": [
{
"type": "text",
"id": "stat_label",
"label": "统计标签",
"default": "CNC 精工制造"
},
{
"type": "text",
"id": "stat_value",
"label": "统计数值",
"default": "9000"
},
{
"type": "text",
"id": "stat_unit",
"label": "单位",
"default": "秒精雕细琢"
},
{
"type": "text",
"id": "footnote",
"label": "脚注",
"info": "可选的脚注说明"
}
]
},
{
"type": "comparison_stat",
"name": "对比统计",
"settings": [
{
"type": "text",
"id": "stat_label",
"label": "统计标签",
"default": "注塑工艺"
},
{
"type": "text",
"id": "stat_value",
"label": "统计数值",
"default": "6000"
},
{
"type": "text",
"id": "stat_unit",
"label": "单位",
"default": "件/天"
},
{
"type": "checkbox",
"id": "highlight",
"label": "高亮显示",
"default": false,
"info": "启用金属渐变效果"
},
{
"type": "text",
"id": "footnote",
"label": "脚注",
"info": "可选的脚注说明"
}
]
},
{
"type": "machining_item",
"name": "加工项目",
"settings": [
{
"type": "text",
"id": "product_name",
"label": "产品名称",
"default": "Laifen P3 Pro Body"
},
{
"type": "number",
"id": "machining_time",
"label": "加工时间",
"default": 9000
},
{
"type": "select",
"id": "time_unit",
"label": "时间单位",
"options": [
{
"value": "s",
"label": "秒 (s)"
},
{
"value": "min",
"label": "分钟 (min)"
},
{
"value": "h",
"label": "小时 (h)"
}
],
"default": "s"
},
{
"type": "range",
"id": "progress_percentage",
"min": 0,
"max": 100,
"step": 1,
"default": 100,
"label": "进度条百分比"
}
]
}
],
"presets": [
{
"name": "CNC 精工工艺",
"settings": {
"main_title": "Unrivaled CNC Craftsmanship",
"description_1": "<p>Crafted with CNC precision for a refined, ergonomic grip that feels natural and premium in hand.</p>",
"description_2": "",
"background_image": "",
"hero_video": "",
"autoplay_video": false,
"stats_title": "Complex Craftsmanship",
"show_progress_section": true,
"progress_title": "CNC Machining Time",
"background_theme": "light"
},
"blocks": [
{
"type": "main_stat",
"settings": {
"stat_label": "CNC Machining Time",
"stat_value": "8000",
"stat_unit": "s",
"footnote": ""
}
},
{
"type": "main_stat",
"settings": {
"stat_label": "Precision Machining",
"stat_value": "0.01",
"stat_unit": "mm",
"footnote": ""
}
},
{
"type": "comparison_stat",
"settings": {
"stat_label": "Injection Molding:",
"stat_value": "6,000",
"stat_unit": "Pieces Daily",
"highlight": false,
"footnote": ""
}
},
{
"type": "comparison_stat",
"settings": {
"stat_label": "Die-Casting:",
"stat_value": "3,000",
"stat_unit": "Pieces Daily",
"highlight": false,
"footnote": ""
}
},
{
"type": "comparison_stat",
"settings": {
"stat_label": "CNC Machined Unibody:",
"stat_value": "8",
"stat_unit": "Pieces Daily",
"highlight": true,
"footnote": ""
}
},
{
"type": "machining_item",
"settings": {
"product_name": "Laifen P3 Pro Body",
"machining_time": 9000,
"time_unit": "s",
"progress_percentage": 100
}
},
{
"type": "machining_item",
"settings": {
"product_name": "Laifen T1 Pro Body",
"machining_time": 8000,
"time_unit": "s",
"progress_percentage": 89
}
},
{
"type": "machining_item",
"settings": {
"product_name": "iPhone Midframe",
"machining_time": 4000,
"time_unit": "s",
"progress_percentage": 44
}
}
]
}
]
}