{
"name": "slider_classic",
"max_blocks": 5,
"settings": [
{
"type": "header",
"content": "设置"
},
{
"type": "checkbox",
"id": "is_auto_play",
"label": "开启自动播放",
"default": false
},
{
"type": "range",
"id": "interval",
"visibleOn": "is_auto_play",
"step": 1,
"max": 5,
"min": 2,
"label": "轮播时间",
"default": 3,
"unit": "s"
},
{
"id": "hover_transform",
"type": "checkbox",
"info": "开启此功能后,鼠标滑入轮播图时显示切换按钮",
"label": "开启隐藏切换按钮",
"default": false
},
{
"type": "text",
"id": "max_width",
"label": "最大内容宽度",
"info": "最大内容宽度单位为px",
"default": "480",
"prop": {
"type": "text"
}
},
{
"type": "checkbox",
"id": "enable_snowflake_effect",
"label": "开启雪花效果",
"default": false
},
{
"type": "header",
"content": "幻灯内容"
}
],
"blocks": [
{
"type": "item",
"name": "幻灯图",
"settings": [
{
"type": "image_picker",
"id": "src",
"label": "PC端图片"
},
{
"type": "image_picker",
"id": "mobile_src",
"label": "移动端图片"
},
{
"type": "checkbox",
"id": "text_and_button_on",
"label": "开启文字和按钮",
"default": true
},
{
"type": "text",
"id": "title",
"visibleOn": "text_and_button_on",
"label": "标题",
"placeholder": "请输入标题",
"default": "Holiday Sales"
},
{
"type": "text",
"id": "sub_title",
"visibleOn": "text_and_button_on",
"label": "副标题",
"placeholder": "请输入副标题",
"default": "New fashion"
},
{
"type": "textarea",
"id": "desc",
"visibleOn": "text_and_button_on",
"label": "描述",
"placeholder": "请输入描述",
"default": "Save up to 50% off of the selected products. Our rock-bottom price for this season."
},
{
"type": "text",
"id": "btn_text",
"visibleOn": "text_and_button_on",
"label": "按钮文案",
"placeholder": "请输入按钮文案",
"default": "Shop Now"
},
{
"default": "/",
"param": "",
"type": "url",
"id": "btn_href",
"label": "链接"
},
{
"type": "select",
"id": "layout",
"visibleOn": "text_and_button_on",
"label": "布局",
"default": "center",
"options": [
{
"value": "left",
"label": "居左"
},
{
"value": "center",
"label": "居中"
},
{
"value": "right",
"label": "居右"
}
]
},
{
"id": "title_uppercase",
"type": "checkbox",
"visibleOn": "text_and_button_on",
"label": "开启标题全大写",
"default": true
},
{
"id": "sub_title_uppercase",
"type": "checkbox",
"visibleOn": "text_and_button_on",
"label": "开启副标题全大写",
"default": true
},
{
"type": "range",
"id": "overlay_opacity",
"visibleOn": "text_and_button_on",
"label": "图片蒙层透明度",
"default": "0",
"step": 1,
"max": 100,
"min": 0,
"unit": "%"
},
{
"type": "color",
"id": "title_color",
"visibleOn": "text_and_button_on",
"label": "标题颜色",
"default": "#000000"
},
{
"type": "color",
"id": "sub_title_color",
"visibleOn": "text_and_button_on",
"label": "副标题颜色",
"default": "#000000"
},
{
"type": "color",
"id": "text_color",
"visibleOn": "text_and_button_on",
"label": "描述颜色",
"default": "#000000"
},
{
"type": "color",
"id": "btn_bg_color",
"visibleOn": "text_and_button_on",
"label": "按钮背景色",
"default": "#000000"
},
{
"type": "color",
"id": "btn_text_color",
"visibleOn": "text_and_button_on",
"label": "按钮文字色",
"default": "#ffffff"
},
{
"type": "color",
"id": "md_title_color",
"visibleOn": "text_and_button_on",
"label": "移动端标题颜色",
"default": "#000000"
},
{
"type": "color",
"id": "md_sub_title_color",
"visibleOn": "text_and_button_on",
"label": "移动端副标题颜色",
"default": "#000000"
},
{
"type": "color",
"id": "md_text_color",
"visibleOn": "text_and_button_on",
"label": "移动端描述颜色",
"default": "#000000"
},
{
"type": "color",
"id": "md_btn_bg_color",
"visibleOn": "text_and_button_on",
"label": "移动端按钮背景色",
"default": "#000000"
},
{
"type": "color",
"id": "md_btn_text_color",
"visibleOn": "text_and_button_on",
"label": "移动端按钮文字色",
"default": "#ffffff"
}
]
}
],
"presets": [
{
"name": "slider_classic",
"cname": "经典幻灯",
"category": "素材",
"ccategory": "素材",
"display": true,
"is_auto_play": false,
"hover_transform": false,
"interval": 3,
"max_width": "480",
"blocks": [
{
"type": "item",
"name": "幻灯片",
"settings": {
"src": "",
"mobile_src": "",
"text_and_button_on": true,
"title": "Holiday Sales",
"sub_title": "New fashion",
"desc": "Save up to 50% off of the selected products. Our rock-bottom price for this season.",
"btn_text": "Shop Now",
"layout": "center",
"title_uppercase": true,
"sub_title_uppercase": true,
"overlay_opacity": 0,
"title_color": "#000000",
"sub_title_color": "#000000",
"text_color": "#000000",
"btn_bg_color": "#000000",
"btn_text_color": "#ffffff",
"btn_href": "/",
"btn_href_param": ""
}
},
{
"type": "item",
"name": "幻灯片",
"settings": {
"src": "",
"mobile_src": "",
"text_and_button_on": true,
"title": "Holiday Sales",
"sub_title": "New fashion",
"desc": "Save up to 50% off of the selected products. Our rock-bottom price for this season.",
"btn_text": "Shop Now",
"layout": "center",
"title_uppercase": true,
"sub_title_uppercase": true,
"overlay_opacity": 0,
"title_color": "#000000",
"sub_title_color": "#000000",
"text_color": "#000000",
"btn_bg_color": "#000000",
"btn_text_color": "#ffffff",
"btn_href": "/",
"btn_href_param": ""
}
}
],
"icon": "oss/operation/1061c5cdb00c5382b09f2e8626304cee.svg"
}
]
}
{
"name": "collection_products",
"settings": [{
"type": "header",
"content": "内容"
},
{
"type": "collection",
"id": "collection",
"label": "添加专辑"
},
{
"type": "header",
"content": "设置"
},
{
"type": "image_picker",
"id": "image",
"label": "封面图"
},
{
"type": "text",
"id": "title",
"label": "主标题",
"placeholder": "请输入主标题",
"default": "Best Sellers"
},
{
"type": "text",
"id": "subtitle",
"label": "副标题",
"placeholder": "请输入副标题",
"default": "Winter collection"
},
{
"type": "text",
"id": "button_label",
"label": "按钮名称",
"placeholder": "请输入按钮名称",
"default": "Shop now"
},
{
"type": "select",
"id": "num",
"label": "商品数量",
"options": [{
"value": 2,
"label": "一行(2个)"
},
{
"value": 6,
"label": "两行(6个)"
},
{
"value": 10,
"label": "三行(10个)"
}
],
"default": 6
},
{
"type": "select",
"id": "text_layout",
"label": "文字布局",
"default": "left",
"options": [{
"value": "left",
"label": "居左"
},
{
"value": "center",
"label": "居中"
}
]
},
{
"type": "checkbox",
"label": "开启主标题全大写",
"id": "title_uppercase_on",
"default": false
},
{
"type": "checkbox",
"label": "开启副标题全大写",
"id": "subtitle_uppercase_on",
"default": true
},
{
"type": "header",
"content": "颜色"
},
{
"type": "color",
"id": "color_section_bg",
"label": "背景",
"default": "#ffffff"
},
{
"type": "color",
"id": "color_title_text",
"label": "主标题",
"default": "#000000"
},
{
"type": "color",
"id": "color_subtitle_text",
"label": "副标题",
"default": "#000000"
},
{
"type": "color",
"id": "color_btn_border",
"label": "按钮边框",
"default": "#000000"
},
{
"type": "color",
"id": "color_btn_bg",
"label": "按钮背景",
"default": "#000000"
},
{
"type": "color",
"id": "color_btn_text",
"label": "按钮文字",
"default": "#ffffff"
},
{
"type": "header",
"content": "布局"
},
{
"type": "padding",
"id": "padding",
"label": "内容留白",
"default": {
"top": "80",
"right": "",
"bottom": "80",
"left": ""
},
"info": "内容留白单位为px"
},
{
"type": "text",
"id": "max_container_width",
"label": "最大内容宽度",
"default": "",
"props": {
"type": "number"
},
"placeholder": "请输入最大内容宽度",
"info": "最大内容宽度单位为px"
}
],
"presets": [{
"name": "collection_products",
"cname": "专辑商品",
"category": "商品",
"ccategory": "商品",
"icon": "oss/operation/e900ecfba2345a83595b9309653785a7.svg",
"display": true
}]
}