snowy-designer
Version:
基于Epic-Designer-Pro版本的设计器,可视化开发页面表单
109 lines (108 loc) • 2.38 kB
JavaScript
const e = {
component: () => import("./row.js"),
config: {
attribute: [
// {
// label: "垂直对齐方式",
// type: "select",
// componentProps: {
// style: { width: "100%" },
// options: [
// {
// label: "top",
// value: "top",
// },
// {
// label: "middle",
// value: "middle",
// },
// {
// label: "bottom",
// value: "bottom",
// },
// ],
// placeholder: "请选择",
// },
// field: "componentProps.align",
// },
// {
// label: "水平排列方式",
// type: "select",
// componentProps: {
// style: { width: "100%" },
// options: [
// {
// label: "start",
// value: "start",
// },
// {
// label: "end",
// value: "end",
// },
// {
// label: "center",
// value: "center",
// },
// {
// label: "space-around",
// value: "space-around",
// },
// {
// label: "space-between",
// value: "space-between",
// },
// ],
// placeholder: "请选择",
// },
// field: "componentProps.justify",
// },
{
componentProps: {
placeholder: "请输入"
},
field: "componentProps.gutter",
label: "栅格间距",
type: "number"
},
{
field: "children",
label: "列编辑",
type: "EColEditor"
},
{
field: "componentProps.hidden",
label: "隐藏",
type: "switch"
}
]
},
defaultSchema: {
label: "栅格布局",
type: "row",
children: [
{
type: "col",
children: [],
componentProps: {
span: 12
}
},
{
type: "col",
children: [],
componentProps: {
span: 12
}
}
]
},
editConstraints: {
childImmovable: !0
},
groupName: "布局",
icon: "icon--epic--width-normal-outline",
sort: 800
};
export {
e as default
};