{
  "name": "label",
  "title": "标签",
  "params": [
    {
      "name": "size",
      "title": "矩形尺寸",
      "items": [
        {
          "name": "width",
          "title": "宽度（像素）",
          "component": "inputnumber",
          "default": 500
        }
      ]
    },
    {
      "name": "position",
      "title": "标签位置",
      "items": [
        {
          "name": "positionX",
          "title": "x轴位置（像素）",
          "component": "inputnumber",
          "labelCol": 15,
          "wrapperCol": 8
        },
        {
          "name": "positionY",
          "title": "y轴位置（像素）",
          "component": "inputnumber",
          "labelCol": 15,
          "wrapperCol": 8
        }
      ]
    },
    {
      "name": "padding",
      "title": "内边距（像素）",
      "items": [
        {
          "name": "paddingTop",
          "tip": "px",
          "title": "上",
          "component": "inputnumber",
          "default": 0,
          "labelCol": 6,
          "wrapperCol": 18,
          "span": 12
        },
        {
          "name": "paddingBottom",
          "tip": "px",
          "title": "下",
          "component": "inputnumber",
          "default": 0,
          "labelCol": 6,
          "wrapperCol": 18,
          "span": 12
        },
        {
          "name": "paddingLeft",
          "tip": "px",
          "title": "左",
          "component": "inputnumber",
          "default": 0,
          "labelCol": 6,
          "wrapperCol": 18,
          "span": 12
        },
        {
          "name": "paddingRight",
          "tip": "px",
          "title": "右",
          "component": "inputnumber",
          "default": 0,
          "labelCol": 6,
          "wrapperCol": 18,
          "span": 12
        }
      ]
    },
    {
      "name": "background",
      "title": "背景",
      "items": [
        {
          "name": "backgroundColor",
          "title": "背景颜色",
          "component": "colorPicker",
          "default": [
            255,
            255,
            255,
            0
          ],
          "labelCol": 10,
          "wrapperCol": 14
        }
      ]
    },
    {
      "name": "border",
      "title": "边框",
      "items": [
        {
          "name": "borderColor",
          "title": "边框颜色",
          "component": "colorPicker",
          "default": [
            0,
            0,
            0
          ],
          "labelCol": 10,
          "wrapperCol": 14
        },
        {
          "name": "borderWidth",
          "title": "边框粗细",
          "component": "inputnumber",
          "default": 0,
          "placeholder": "像素",
          "labelCol": 10,
          "wrapperCol": 14
        },
        {
          "name": "borderStyle",
          "title": "边框样式",
          "component": "select",
          "values": [
            {
              "name": "实线",
              "value": "solid"
            },
            {
              "name": "虚线",
              "value": "dashed"
            },
            {
              "name": "点线",
              "value": "dotted"
            },
            {
              "name": "双框",
              "value": "double"
            }
          ],
          "default": "solid",
          "labelCol": 10,
          "wrapperCol": 14
        },
        {
          "name": "borderRadius",
          "tip": "px",
          "title": "圆角半径",
          "component": "inputnumber",
          "default": 0,
          "placeholder": "像素",
          "labelCol": 10,
          "wrapperCol": 14
        }
      ]
    },
    {
      "name": "content",
      "title": "文本",
      "visible": false,
      "items": [{
        "name": "richText",
        "tip": "输入文本",
        "title": "文本内容",
        "component": "input",
        "default": {
          "content": [{
            "type": "paragraph",
            "children": [{
              "text": "",
              "fontSize": 40
            }]
          }]
        },
        "wrapperCol": 24
      }]
    },
    {
      "name": "font",
      "title": "文字",
      "visible": false,
      "items": [
      {
        "name": "fontWeight",
        "title": "字体粗细",
        "component": "select",
        "values": [],
        "default": "normal",
        "labelCol": 10,
        "wrapperCol": 14
      }, {
        "name": "lineHeight",
        "title": "行高",
        "component": "inputnumber",
        "default": 40,
        "placeholder": "像素",
        "labelCol": 10,
        "wrapperCol": 14
      }, {
        "name": "textIndent",
        "title": "首行缩进",
        "component": "inputnumber",
        "default": 0,
        "placeholder": "像素",
        "labelCol": 10,
        "wrapperCol": 14
      }]
    }
  ]
}