<#assign fields = group.fields>
        {
            "shape": "panel",
            "id": "form_panel",
            "type": "fx-form-panel",
            "props": {
              "colNum": 2,
              "paddingX": 5,
              "paddingY": 5,
              "size": "0"
            },
            "children": [
<#list fields as field>
              {
                "id": "id${newId()}",
                "type": "fx-${field.editor}",
                "props": {
                  "label": "${field.label}",
        <#if field.maxlength gt 0>
                  "maxlength": ${field.maxlength},
        </#if>
                  "placeholder": "请输入内容",
                  "labelWidth": 100,
                  "dataset": "${field.dataset}",
                  "field": "${field.id}",
                  "name": "${field.name}"
                },
                "events": {}
              }<#if field_has_next>,</#if>
</#list>
            ]
          }