export const config = { "name": "评论展示", "icon": "el-icon-chat-line-square", "fields": { "dataVal": { "label": "组价内容", "type": "array", "child": { "avatar": { "label": "头像", "type": "upload", "value": "" }, "title": { "label": "标题", "type": "input", "value": "标题" }, "content": { "label": "内容", "type": "input", "value": "内容", "maxlength":"300", }, "imgs": { "label": "图片", "type": "upload", "limit":20, "value": [], } } }, "attrs": { "label": "设置", "type": "object", "child": { "singleSize": { "label": "图片长度(单图,单位rpx)", "type": "inputNumber", "value": 320 }, "multipleSize":{ "label": "图片长度(多图,单位rpx)", "type": "inputNumber", "value": 140 }, "space":{ "label": "间隔(多图)", "type": "inputNumber", "value": 6 }, "rowCount":{ "label": "每行展示图片数量", "type": "inputNumber", "value": 3 }, } }, "styles": { "label": "样式", "type": "object", "child": { // "outPad": { // "label": "边框内边距", // "type": "number", // "value": 10 // }, // "backgroundColor": { // "label": "颜色", // "type": "color", // "value": "#3c9cff" // } } } } }