Section
双行跑马灯 (User Backmap)
0 个模板实例,20 个 section 配置,2 类 block。
真实模板变体
当前模板未直接使用该 section。
Schema
{
"name": "双行跑马灯 (User Backmap)",
"class": "home-user-backmap-section",
"settings": [
{
"type": "text",
"id": "title",
"label": "标题"
},
{
"type": "textarea",
"id": "description",
"label": "副标题 / 描述"
},
{
"type": "color",
"id": "background_color",
"label": "背景色",
"default": "#f5f5f5"
},
{
"type": "color",
"id": "overlay_color",
"label": "卡片遮罩背景色",
"default": "#ffffff"
},
{
"type": "color",
"id": "star_color",
"label": "星级颜色",
"default": "#FF9900"
},
{
"type": "range",
"id": "speed",
"min": 0.5,
"max": 3,
"step": 0.1,
"unit": "x",
"label": "滚动速度",
"default": 1.5
},
{
"type": "checkbox",
"id": "show_star_overlay",
"label": "显示星级遮罩",
"default": true
},
{
"type": "header",
"content": "4 个参数展示"
},
{
"type": "checkbox",
"id": "show_stats",
"label": "显示参数区块",
"default": true
},
{
"type": "text",
"id": "stat_1_number",
"label": "参数 1 数字",
"default": "35+ Million"
},
{
"type": "text",
"id": "stat_1_label",
"label": "参数 1 描述",
"default": "International Users"
},
{
"type": "text",
"id": "stat_2_number",
"label": "参数 2 数字",
"default": "50+ Countries"
},
{
"type": "text",
"id": "stat_2_label",
"label": "参数 2 描述",
"default": "Available Worldwide"
},
{
"type": "text",
"id": "stat_3_number",
"label": "参数 3 数字",
"default": "800+"
},
{
"type": "text",
"id": "stat_3_label",
"label": "参数 3 描述",
"default": "Patents"
},
{
"type": "text",
"id": "stat_4_number",
"label": "参数 4 数字",
"default": "100+"
},
{
"type": "text",
"id": "stat_4_label",
"label": "参数 4 描述",
"default": "Awards"
},
{
"type": "header",
"content": "区块间距"
},
{
"type": "range",
"id": "padding_top",
"min": 0,
"max": 80,
"step": 4,
"unit": "px",
"label": "上内边距",
"default": 40
},
{
"type": "range",
"id": "padding_bottom",
"min": 0,
"max": 80,
"step": 4,
"unit": "px",
"label": "下内边距",
"default": 40
}
],
"blocks": [
{
"type": "marquee_row1",
"name": "第一行图片(左→右)",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "图片"
}
]
},
{
"type": "marquee_row2",
"name": "第二行图片(右→左)",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "图片"
}
]
}
],
"presets": [
{
"name": "双行跑马灯",
"blocks": [
{
"type": "marquee_row1"
},
{
"type": "marquee_row1"
},
{
"type": "marquee_row1"
},
{
"type": "marquee_row2"
},
{
"type": "marquee_row2"
},
{
"type": "marquee_row2"
}
]
}
]
}