{ "name": "anker_slider", "settings": [{ "type": "header", "content": "全局设置" }, { "type": "checkbox", "label": "自动轮播", "id": "is_auto_play", "default": true }, { "type": "checkbox", "label": "显示指示器", "id": "is_show_dots", "default": false }, { "type": "checkbox", "label": "显示左右箭头", "id": "is_show_arrows", "default": true }, { "type": "checkbox", "label": "淡入淡出动画", "id": "is_fade", "default": false }, { "type": "checkbox", "label": "宽度铺满屏幕", "id": "is_width_full", "default": true }, { "type": "select", "label": "图片高度", "id": "img_height", "default": "normal", "options": [{ "value": "normal", "label": "自适应" }, { "value": "big", "label": "超大(PC:900px,移动:600px )" }, { "value": "large", "label": "大(PC:600px,移动:460px )" }, { "value": "medium", "label": "中(PC:450px,移动:325px )" }, { "value": "small", "label": "小(PC:300px,移动:200px )" }] }, { "type": "select", "id": "delay", "label": "轮播时间", "default": "5000", "options": [{ "value": "2000", "label": "2秒" }, { "value": "3000", "label": "3秒" }, { "value": "5000", "label": "5秒" }] },{ "type": "select", "id": "speed", "label": "轮播速度", "default": "1000", "options": [{ "value": "300", "label": "快" }, { "value": "1000", "label": "中" }, { "value": "1500", "label": "慢" }] }, { "type": "select", "id": "dots_style", "label": "指示器样式", "default": "dots", "options": [{ "value": "dots", "label": "圆" }, { "value": "oval", "label": "长条" }] }, { "type": "select", "id": "arrows_style", "label": "左右箭头样式", "default": "default", "options": [{ "value": "default", "label": "默认" }, { "value": "dots", "label": "圆形" }] }, { "type": "select", "id": "arrows_pos", "label": "左右箭头位置", "default": "inside", "options": [{ "value": "inside", "label": "图片内" }, { "value": "outside", "label": "图片外" }] },{ "type": "header", "content": "移动端设置" }, { "type": "checkbox", "label": "隐藏左右箭头", "id": "is_pe_hidden_arrow", "default": true }, { "type": "checkbox", "label": "图片与内容分离", "id": "is_pe_detach", "default": false }, { "type": "checkbox", "label": "显示指示器", "id": "is_pe_show_dots", "default": true }, { "type": "header", "content": "内容填充" }], "blocks": [{ "type": "banner", "name": "图片", "settings": [{ "type": "image_picker", "label": "PC端图片", "id": "pc_image_src", "info": "如果您选择自适应,建议尺寸(宽*高):1691*810px", "default": "" }, { "type": "image_picker", "id": "pe_image_src", "label": "移动端图片", "info": "如果您选择自适应,建议尺寸(宽*高):411*603px", "default": "" }, { "type": "url", "id": "image_url", "label": "图片链接", "default": "" }, { "type": "select", "id": "text_pos", "label": "文案位置", "default": "center", "options": [{ "label": "中左", "value": "center_left" }, { "label": "中间", "value": "center" }, { "label": "中右", "value": "center_right" },{ "label": "中上", "value": "center_top" },{ "label": "中下", "value": "center_bottom" }] }, { "type": "select", "id": "text_align", "label": "文字对齐方式", "default": "center", "options": [{ "label": "居左", "value": "left" }, { "label": "居中", "value": "center" }, { "label": "居右", "value": "right" }] }, { "type": "color", "id": "text_color", "label": "文案颜色", "default": "#FFFFFF" }, { "type": "text", "id": "sub_title", "label": "文案标题", "default": "", "placeholder": "输入标题" }, { "type": "richtext", "id": "title", "label": "文案副标题", "default": "", "placeholder": "输入副标题" }, { "type": "text", "id": "button_label", "label": "按钮文字", "default": "", "placeholder": "输入按钮文字" },{ "type": "select", "id": "button_style", "label": "按钮样式", "default": "btn_round", "options": [{ "value": "btn_round", "label": "圆角" }, { "value": "btn_angle", "label": "直角" }] }, { "type": "color", "id": "header_color", "label": "菜单颜色", "default": "#000000" }] }], "presets": [{ "name": "anker_slider", "cname": "轮播图文", "category": "素材", "ccategory": "素材", "display": true, "blocks": [] }] }
{ "name": "anker_brand_list", "settings": [{ "type": "header", "content": "基础设置" },{ "type": "text", "id": "title", "label": "标题", "default": "Brand list" }, { "type": "header", "info": "建议品牌6个展示效果更好", "content": "添加品牌" },{ "type": "range", "label": "手机端每排展示个数", "id": "grid_pe", "min": 3, "max": 6, "step": 1, "default": 3 }], "blocks": [{ "type": "brand", "name": "单个品牌", "settings": [{ "type": "brand", "id": "brand" },{ "type": "image_picker", "id": "image", "label": "封面图片", "info": "建议尺寸:237*185px", "default": "" }, { "type": "url", "id": "link_to_url", "label": "品牌链接", "default": "" }] }], "presets": [{ "name": "anker_brand_list", "cname": "品牌列表", "category": "素材", "ccategory": "素材", "display": true, "blocks": [{ "type": "brand", "name": "Brand", "settings": { "image": "", "link_to_url": "" } }, { "type": "brand", "name": "Brand", "settings": { "image": "", "link_to_url": "" } }, { "type": "brand", "name": "Brand", "settings": { "image": "", "link_to_url": "" } }] }] }
Collection List
{ "name": "products", "contentType": ["products"], "settings": [{ "type": "header", "content": "内容" }, { "type": "collection", "id": "collection", "label": "添加统一专辑" }, { "type": "header", "content": "设置" }, { "type": "text", "id": "name", "label": "标题", "default": "Featured collection", "placeholder": "请输入内容" }, { "type": "range", "label": "PC展示排数", "id": "line_number", "min": 1, "max": 6, "step": 1, "default": 2 }, { "type": "range", "label": "PC每排商品数", "id": "grid", "min": 2, "max": 5, "step": 1, "default": 4 }, { "type": "select", "id": "style_selection", "label": "折扣价样式选择", "default": "default", "options": [{ "label": "样式一", "value": "default" }, { "label": "样式二", "value": "style" }] }, { "type": "checkbox", "label": "显示”View all“", "id": "view_all", "default": false }], "presets": [{ "style_selection":"default", "name": "products", "cname": "专辑商品", "category": "商品", "ccategory": "商品", "display": true, "is_show_recommended_products": true, "view_all": false, "blocks": [] }] }
{ "name": "two_images", "settings": [{ "type": "header", "content": "基础设置" },{ "type": "text", "id": "title", "label": "标题", "default": "Discover More" },{ "type": "select", "id": "display_model", "label": "展示方式(仅支持手机端)", "default": "default", "options": [{ "label": "分离图内文字", "value": "default" }, { "label": "保持图内文字", "value": "keep" }] },{ "type": "header", "content": "图1" }, { "type": "image_picker", "id": "image_src_1", "label": "", "info": "建议尺寸:592*363px", "default": "/publicshare/resource/71/ef41b998-2ac6-4462-af66-5b0f55586285.PNG" }, { "type": "url", "id": "url_1", "label": "链接", "is_image_link": true, "default": "" }, { "type": "color", "id": "text_color_1", "label": "文字颜色", "default": "#323232" },{ "type": "text", "id": "title_1", "label": "标题", "default": "Image with text overlay" },{ "type": "richtext", "id": "text_1", "label": "正文", "default": "Use overlay text to give your customers insight into your brand. Select imagery and text that relates to your style and story" },{ "type": "text", "id": "button_label_1", "label": "按钮名称", "default": "Learn More" }, { "type": "header", "content": "图2" }, { "type": "image_picker", "id": "image_src_2", "label": "", "info": "建议尺寸:592*363px", "default": "/publicshare/resource/81/e166e028-1e55-4660-b7a2-528122c578c4.PNG" }, { "type": "url", "id": "url_2", "label": "链接", "is_image_link": true, "default": "" }, { "type": "color", "id": "text_color_2", "label": "文字颜色", "default": "#FFFFFF" },{ "type": "text", "id": "title_2", "label": "标题", "default": "Image with text overlay" },{ "type": "richtext", "id": "text_2", "label": "正文", "default": "Use overlay text to give your customers insight into your brand. Select imagery and text that relates to your style and story" },{ "type": "text", "id": "button_label_2", "label": "按钮名称", "default": "Learn More" }], "presets": [{ "name": "two_images", "cname": "多图-2", "category": "素材", "ccategory": "素材", "display": true, "blocks": [] }] } { "name": "anker_footer", "settings": [{ "$item.type": "header", "content": "基础设置" }], "presets": [{ "name": "anker_footer", "cname": "页脚(ANKER)", "category": "素材", "ccategory": "素材", "display": true, "blocks": [] }] }