简要描述:

返回示例:

  {
        "id": "M1596600721724",
        "component_key": "U_lottery",
		"component_title": "幸运大转盘",
    "remote_data": {
        "preview_color": {
            "isColor": "1",
            "color": "#ED6737",
            "image": ""
        },
        "lottery": {
            "id": 2,
            "name": "抽奖测试",
            "countdown_time": [
                1592236800,
                1595433600
            ],
            "background": "https://dev4.yunzmall.com/attachment/image/92bd013538c6234b46f9bda6d42391cd.jpg",
            "content": "232323232",
            "background_colour": "#F2C041",
            "start_time": "2020-06-16 00:00:00",
            "end_time": "2020-07-23 00:00:00"
        },
        "font_size": 14,
        "font_color": "#ffffff",
        "class_font_size": 14,
        "class_font_color": "#ffffff",
        "class_bg_color": "#edb81c",
        "class_border_radius": 0
    },
        "data": "",
    }

返回参数说明:

参数名 类型 说明
id int 页面组件唯一标识
component_key string 组件标识(每个类型主键组件标识一致)
component_title string 组件名称
params array 组件装修内容
data array 组件数据

remote_data参数说明:

参数名 类型 说明
preview_color string 背景
lottery object 选择的抽奖活动
class_font_color string 中奖纪录按钮字体颜色
class_bg_color string 中奖纪录按钮背景颜色
class_border_radius string 中奖纪录按钮圆角

备注: