简要描述:

返回示例:

  {
        "id": "M1596600721724",
        "component_key": "U_cube",
		"component_title": "图片组合",
    "remote_data": {
        "picture": {
            "density": 4,
            "icon": "1",
            "cudeSelected": [
                {
                    "id": 1,
                    "value": {
                        "image": "https://dev4.yunzmall.com/attachment/image/9acb4786037be9a7029425eddbc7854d.jpeg",
                        "is_minApp": "1",
                        "h5_link": "",
                        "gh_id": "",
                        "minApp_link": ""
                    },
                    "start": {
                        "x": 1,
                        "y": 1
                    },
                    "end": {
                        "x": 2,
                        "y": 2
                    },
                    "data": [
                        {
                            "x": 1,
                            "y": 1,
                            "cube": "1-1"
                        },
                        {
                            "x": 1,
                            "y": 2,
                            "cube": "1-2"
                        },
                        {
                            "x": 2,
                            "y": 1,
                            "cube": "2-1"
                        },
                        {
                            "x": 2,
                            "y": 2,
                            "cube": "2-2"
                        }
                    ]
                },
                {
                    "id": 3,
                    "value": {
                        "image": "https://dev4.yunzmall.com/attachment/image/38e87b3f066db6e4a1f361b2f5310abb.jpg",
                        "is_minApp": "1",
                        "h5_link": "",
                        "gh_id": "",
                        "minApp_link": ""
                    },
                    "start": {
                        "x": 1,
                        "y": 3
                    },
                    "end": {
                        "x": 2,
                        "y": 4
                    },
                    "data": [
                        {
                            "x": 1,
                            "y": 3,
                            "cube": "1-3"
                        },
                        {
                            "x": 1,
                            "y": 4,
                            "cube": "1-4"
                        },
                        {
                            "x": 2,
                            "y": 3,
                            "cube": "2-3"
                        },
                        {
                            "x": 2,
                            "y": 4,
                            "cube": "2-4"
                        }
                    ]
                }
            ]
        },
        "preview_color": "#ffffff",
        "margin": 0
    },
        "data": [],
    }

返回参数说明:

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

remote_data参数说明:

参数名 类型 说明
preview_color string 背景颜色
picture object 图片相关参数
picture=>density string 一行四格
picture=>icon string 图片布局
picture=>cudeSelected array 图片数组

data参数说明:

参数名 类型 说明
img string 图片

备注: