const demoRule = "[{\"type\":\"input\",\"field\":\"Fnf4lxvqdnrrdbc\",\"title\":\"输入框\",\"info\":\"\",\"$required\":true,\"_fc_id\":\"id_F15tlxvqdnrsdcc\",\"name\":\"ref_Fvjmlxvqdnrsddc\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"Frnvlxvqdo0ndec\",\"title\":\"多行输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"textarea\"},\"_fc_id\":\"id_F2p0lxvqdo0ndfc\",\"name\":\"ref_Fj0blxvqdo0ndgc\",\"_fc_drag_tag\":\"textarea\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"Fvjnlxvqdoatdhc\",\"title\":\"多行输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"textarea\"},\"_fc_id\":\"id_Fjnslxvqdoatdic\",\"name\":\"ref_Fgwalxvqdoatdjc\",\"_fc_drag_tag\":\"textarea\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"F62glxvqdopkdkc\",\"title\":\"密码输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"password\"},\"_fc_id\":\"id_F942lxvqdopkdlc\",\"name\":\"ref_Fvw8lxvqdopkdmc\",\"_fc_drag_tag\":\"password\",\"display\":true,\"hidden\":false},{\"type\":\"inputNumber\",\"field\":\"Fg6mlxvqdp61dnc\",\"title\":\"数字输入框\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fbqzlxvqdp61doc\",\"name\":\"ref_F59vlxvqdp61dpc\",\"_fc_drag_tag\":\"inputNumber\",\"display\":true,\"hidden\":false},{\"type\":\"radio\",\"field\":\"Fg6rlxvqdpe9dqc\",\"title\":\"单选框\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fu7tlxvqdpe9drc\",\"name\":\"ref_F7u8lxvqdpe9dsc\",\"_fc_drag_tag\":\"radio\",\"display\":true,\"hidden\":false},{\"type\":\"checkbox\",\"field\":\"Fpz5lxvqdpnwdtc\",\"title\":\"多选框\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fbtklxvqdpnwduc\",\"name\":\"ref_Fqpalxvqdpnwdvc\",\"_fc_drag_tag\":\"checkbox\",\"display\":true,\"hidden\":false},{\"type\":\"select\",\"field\":\"Fnzulxvqdpzcdwc\",\"title\":\"选择器\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fxd1lxvqdpzddxc\",\"name\":\"ref_Fjtjlxvqdpzddyc\",\"_fc_drag_tag\":\"select\",\"display\":true,\"hidden\":false},{\"type\":\"switch\",\"field\":\"Fbk6lxvqdq7edzc\",\"title\":\"开关\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fdtflxvqdq7ee0c\",\"name\":\"ref_Fkeslxvqdq7ee1c\",\"_fc_drag_tag\":\"switch\",\"display\":true,\"hidden\":false},{\"type\":\"rate\",\"field\":\"F2lzlxvqdqg0e2c\",\"title\":\"评分\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_F0oslxvqdqg0e3c\",\"name\":\"ref_Fegslxvqdqg0e4c\",\"_fc_drag_tag\":\"rate\",\"value\":0,\"display\":true,\"hidden\":false}]"; export default () => [ { label: '功能介绍', children: [ { label: '多语言', info: '轻松在设计器中为表单各元素添加多语种文本,一键切换语言体系', rule: '[{"type":"input","field":"Fcbmm50kr34igic","title":"{{$t.ArX2XDpz}}","$required":false,"_fc_id":"id_F9ctm50kr34igjc","name":"ref_Fxjim50kr34igkc","display":true,"hidden":false,"_fc_drag_tag":"input"},{"type":"inputNumber","field":"F3f0m50kr3tyglc","title":"{{$t.BoS7ZoNX}}","$required":false,"_fc_id":"id_Fa60m50kr3tygmc","name":"ref_F6i1m50kr3tygnc","display":true,"hidden":false,"_fc_drag_tag":"inputNumber"}]', options: '{"form":{"inline":false,"hideRequiredAsterisk":false,"labelPosition":"right","size":"small","labelWidth":"125px"},"globalEvent":{},"globalData":{},"language":{"zh-cn":{"ArX2XDpz":"商品名称","BoS7ZoNX":"商品价格"},"en":{"ArX2XDpz":"Goods name","BoS7ZoNX":"Goods price"}},"resetBtn":{"show":false,"innerText":"重置"},"submitBtn":{"show":true,"innerText":"提交"}}' }, { label: '数据表格', info: '高效展示、排序、搜索和分页数据列表,支持自定义列和动态操作', rule: "[{\"type\":\"fcInlineForm\",\"_fc_id\":\"id_Fjdrm1vqsjnub0c\",\"name\":\"ref_F1mkm1vqsjnub1c\",\"_fc_drag_tag\":\"fcInlineForm\",\"children\":[{\"type\":\"input\",\"field\":\"Fwqlm1vqu2c1b2c\",\"title\":\"关键字\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_F6omm1vqu2c1b3c\",\"name\":\"ref_F8l5m1vqu2c1b4c\",\"_fc_drag_tag\":\"input\",\"wrap\":{\"labelWidth\":\"5em\",\"labelCol\":{\"style\":{\"width\":\"4em\"}}},\"style\":{\"width\":\"180px\"},\"display\":true,\"hidden\":false},{\"type\":\"select\",\"field\":\"Fkh7m1vqzakub7c\",\"title\":\"商品分类\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"熊熊百货\",\"value\":\"6\"},{\"label\":\"时尚优品\",\"value\":\"3\"}],\"_fc_id\":\"id_Ffb3m1vqzakub8c\",\"name\":\"ref_Floem1vqzakub9c\",\"_fc_drag_tag\":\"select\",\"wrap\":{\"labelWidth\":\"6em\",\"labelCol\":{\"style\":{\"width\":\"5em\"}}},\"style\":{\"width\":\"180px\"},\"display\":true,\"hidden\":false},{\"type\":\"aButton\",\"children\":[\"搜索\"],\"_fc_id\":\"id_Fgecm1vquanjb5c\",\"name\":\"ref_Fdshm1vquanjb6c\",\"_fc_drag_tag\":\"aButton\",\"display\":true,\"hidden\":false,\"on\":{\"click\":\"$FNX:$inject.api.getRule('ref_Fd9xlxvrabk0jmc').props.fetch.action = `https://mer.crmeb.net/api/product/spu/lst?keywrod=${$inject.api.form.Fwqlm1vqu2c1b2c || ''}&mer_id=${$inject.api.form.Fkh7m1vqzakub7c || ''}`;\\n\\n$inject.api.el('ref_Fd9xlxvrabk0jmc').initPage();\"}}],\"style\":{\"display\":\"flex\",\"flexDirection\":\"row\",\"alignItems\":\"flex-start\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"wrap\":{\"show\":false},\"native\":true,\"style\":{\"width\":\"100%\",\"height\":\"20px\"},\"_fc_id\":\"id_F7fym33twglacfc\",\"name\":\"ref_Fuhrm33twglacgc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"space\"},{\"type\":\"dataTable\",\"native\":true,\"props\":{\"height\":\"500px\",\"button\":{\"open\":true,\"column\":[{\"key\":1,\"name\":\"详情\",\"prop\":[\"link\"],\"type\":\"primary\",\"size\":\"small\",\"click\":\"[[FORM-CREATE-PREFIX-function click(scope, api){api.open('ref_Fraim1unt0jhisc', scope.record);}-FORM-CREATE-SUFFIX]]\"},{\"key\":2,\"name\":\"删除\",\"prop\":[\"link\"],\"type\":\"dashed\",\"handle\":\"[[FORM-CREATE-PREFIX-function handle(props, scope, api){return scope.record.spu_id % 2 === 1;}-FORM-CREATE-SUFFIX]]\",\"size\":\"small\"}],\"width\":\"130px\",\"fixed\":\"right\",\"label\":\"操作\"},\"column\":[{\"format\":\"default\",\"prop\":\"spu_id\",\"label\":\"ID\",\"width\":\"150\"},{\"format\":\"default\",\"prop\":\"store_name\",\"label\":\"商品名称\",\"width\":\"\"},{\"format\":\"default\",\"prop\":\"stock\",\"label\":\"库存\",\"width\":\"100\"},{\"format\":\"tag\",\"prop\":\"unit_name\",\"label\":\"单位\",\"width\":\"100\"},{\"format\":\"image\",\"prop\":\"image\",\"label\":\"主图\",\"width\":\"200\"}],\"page\":{\"totalField\":\"count\",\"dataField\":\"list\",\"orderField\":\"order\",\"orderByField\":\"orderBy\",\"pageField\":\"page\",\"pageSizeField\":\"limit\",\"open\":true,\"props\":{\"pageSize\":10,\"small\":true,\"background\":true}},\"_optionType\":2,\"fetch\":{\"action\":\"https://mer.crmeb.net/api/product/spu/lst\",\"method\":\"GET\",\"headers\":{},\"data\":{},\"parse\":\"[[FORM-CREATE-PREFIX-function parse(res){return res.data;}-FORM-CREATE-SUFFIX]]\",\"onError\":\"\",\"to\":\"options\"},\"rowKey\":\"spu_id\",\"scroll\":{\"x\":\"1000px\"}},\"_fc_id\":\"id_Fe33lxvrabk0jlc\",\"name\":\"ref_Fd9xlxvrabk0jmc\",\"_fc_drag_tag\":\"dataTable\",\"display\":true,\"hidden\":false},{\"type\":\"fcDialog\",\"props\":{\"title\":\"弹出框\",\"rule\":[{\"type\":\"input\",\"field\":\"store_name\",\"title\":\"商品名称\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_F22lm1unts3aiuc\",\"name\":\"ref_Ft1nm1unts3aivc\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false},{\"type\":\"inputNumber\",\"field\":\"stock\",\"title\":\"库存\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fmzhm1ununlrixc\",\"name\":\"ref_Fhj5m1ununlriyc\",\"_fc_drag_tag\":\"inputNumber\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"unit_name\",\"title\":\"单位\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fzp1m1unv5trj0c\",\"name\":\"ref_Fxc0m1unv5trj1c\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false}]},\"_fc_id\":\"id_Ft1em1unt0jhirc\",\"name\":\"ref_Fraim1unt0jhisc\",\"_fc_drag_tag\":\"fcDialog\",\"display\":true,\"hidden\":false}]", }, { label: '表格布局', info: '创建灵活的网格布局,实现多行多列的表单项排列', rule: "[{\"type\":\"fcTable\",\"props\":{\"rule\":{\"row\":5,\"col\":4,\"style\":{},\"class\":{},\"layout\":[{\"top\":3,\"left\":0,\"col\":3},{\"top\":3,\"left\":3,\"row\":2},{\"top\":4,\"left\":1,\"col\":2}]}},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FFA500\"],\"_fc_id\":\"id_F2tglxvr3ynxgnc\",\"name\":\"ref_Fovslxvr36znfwc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FFA500\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"文字\"],\"_fc_id\":\"id_F30alxvr38b5fxc\",\"name\":\"ref_Fovslxvr36znfwc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF0000\"],\"_fc_id\":\"id_Fn9zlxvr32vdfuc\",\"name\":\"ref_Fxbglxvqyzvsfnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF0000\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF0000\"],\"_fc_id\":\"id_F10mlxvr2xbdfsc\",\"name\":\"ref_Fxbglxvqyzvsfnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF0000\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF0000\"],\"_fc_id\":\"id_Fuhvlxvr2ttifqc\",\"name\":\"ref_Fxbglxvqyzvsfnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF0000\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF0000\"],\"_fc_id\":\"id_Fi4dlxvr2s48fpc\",\"name\":\"ref_Fxbglxvqyzvsfnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF0000\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#E32636\"],\"_fc_id\":\"id_Fuublxvr52m1hic\",\"name\":\"ref_Fmeylxvr52m1hjc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#E32636\"},\"display\":true,\"hidden\":false,\"slot\":\"1:3\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#87CEFA\"],\"_fc_id\":\"id_Fb5mlxvr605xhoc\",\"name\":\"ref_Fce8lxvr605xhpc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#87CEFA\"},\"display\":true,\"hidden\":false,\"slot\":\"2:0\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#7FFFAA\"],\"_fc_id\":\"id_Fobklxvr682shqc\",\"name\":\"ref_Ftillxvr682shrc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#7FFFAA\"},\"display\":true,\"hidden\":false,\"slot\":\"2:1\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#3CB371\"],\"_fc_id\":\"id_Fyrulxvr6kl1hsc\",\"name\":\"ref_F5k6lxvr6kl1htc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#3CB371\"},\"display\":true,\"hidden\":false,\"slot\":\"2:2\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#D2B48C\"],\"_fc_id\":\"id_Fqoglxvr6sbjhuc\",\"name\":\"ref_F1bflxvr6sbjhvc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#D2B48C\"},\"display\":true,\"hidden\":false,\"slot\":\"2:3\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#70F3FF\"],\"_fc_id\":\"id_Fouflxvr7iq4i6c\",\"name\":\"ref_Fjc1lxvr7iq4i7c\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#70F3FF\"},\"display\":true,\"hidden\":false,\"slot\":\"3:0\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#E9BB1D\"],\"_fc_id\":\"id_Ftpjlxvr7ys4i9c\",\"name\":\"ref_F7lmlxvr7ys4iac\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#E9BB1D\"},\"display\":true,\"hidden\":false,\"slot\":\"3:3\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#DCD6D9\"],\"_fc_id\":\"id_Fwyqlxvr8fe4icc\",\"name\":\"ref_Fh9zlxvr8fe4idc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#DCD6D9\"},\"display\":true,\"hidden\":false,\"slot\":\"4:0\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#E0C38C\"],\"_fc_id\":\"id_Fqd6lxvr8g8miec\",\"name\":\"ref_F6a3lxvr8g8mifc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#E0C38C\"},\"display\":true,\"hidden\":false,\"slot\":\"4:1\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FFA500\"],\"_fc_id\":\"id_Fd99lxvr36znfvc\",\"name\":\"ref_Fovslxvr36znfwc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FFA500\"},\"display\":true,\"hidden\":false,\"slot\":\"0:0\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF0000\"],\"_fc_id\":\"id_F0gglxvqyzvsfmc\",\"name\":\"ref_Fxbglxvqyzvsfnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF0000\"},\"display\":true,\"hidden\":false,\"slot\":\"0:1\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FFFF00\"],\"_fc_id\":\"id_Fwqelxvr40hagoc\",\"name\":\"ref_F6tulxvr40hagpc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FFFF00\"},\"display\":true,\"hidden\":false,\"slot\":\"0:2\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#CCFF00\"],\"_fc_id\":\"id_F73klxvr4e0ehec\",\"name\":\"ref_F0calxvr4e0ehfc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#CCFF00\"},\"display\":true,\"hidden\":false,\"slot\":\"0:3\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#6495ED\"],\"_fc_id\":\"id_Fmlglxvr4m7vhgc\",\"name\":\"ref_Fxo5lxvr4m7vhhc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#6495ED\"},\"display\":true,\"hidden\":false,\"slot\":\"1:0\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#FF00FF\"],\"_fc_id\":\"id_F8evlxvr5bi2hkc\",\"name\":\"ref_F1nslxvr5bi2hlc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FF00FF\"},\"display\":true,\"hidden\":false,\"slot\":\"1:1\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"#9932CC\"],\"_fc_id\":\"id_Faiilxvr5ljjhmc\",\"name\":\"ref_Fj4xlxvr5ljjhnc\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#9932CC\"},\"display\":true,\"hidden\":false,\"slot\":\"1:2\"}],\"_fc_id\":\"id_F1e6lxvqyq6qf8c\",\"name\":\"ref_Fx1ulxvqyq6qf9c\",\"_fc_drag_tag\":\"fcTable\",\"display\":true,\"hidden\":false}]", }, { label: '表格表单', info: '在表格中编辑数据,支持表单字段的操作和管理', rule: "[{\"type\":\"tableForm\",\"field\":\"Fhm3lxvrai19jnc\",\"title\":\"表格表单\",\"info\":\"\",\"props\":{\"columns\":[{\"label\":\"用户名\",\"required\":false,\"style\":{\"width\":\"auto\"},\"rule\":[{\"type\":\"input\",\"field\":\"Fh8zlxvrakgdjrc\",\"title\":\"输入框\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fnnjlxvrakgejsc\",\"name\":\"ref_Fx7flxvrakgejtc\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false}]},{\"label\":\"联系电话\",\"required\":false,\"style\":{\"width\":\"auto\"},\"rule\":[{\"type\":\"input\",\"field\":\"Fbhplxvranm8jvc\",\"title\":\"输入框\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fecnlxvranm9jwc\",\"name\":\"ref_Fegnlxvranm9jxc\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false}]},{\"label\":\"性别\",\"required\":false,\"style\":{\"width\":\"auto\"},\"rule\":[{\"type\":\"radio\",\"field\":\"Fokrlxvrb54ujzc\",\"title\":\"单选框\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"props\":{\"type\":\"default\"},\"options\":[{\"label\":\"男\",\"value\":1},{\"label\":\"女\",\"value\":2}],\"_fc_id\":\"id_F12flxvrb54uk0c\",\"name\":\"ref_Fzcglxvrb54uk1c\",\"_fc_drag_tag\":\"radio\",\"display\":true,\"hidden\":false}]}]},\"_fc_id\":\"id_Fn5ilxvrai19joc\",\"name\":\"ref_Fofmlxvrai19jpc\",\"_fc_drag_tag\":\"tableForm\",\"display\":true,\"hidden\":false}]", }, { label: '打开弹窗', info: '在弹窗内显示表单,支持数据录入和交互确认操作', rule: "[{\"type\":\"aButton\",\"children\":[\"打开弹窗\"],\"_fc_id\":\"id_Fdvalxvqbg1zd7c\",\"name\":\"ref_Foo9lxvqbg1zd8c\",\"style\":{\"display\":\"block\"},\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"aButton\",\"on\":{\"click\":\"$FNX:$inject.api.open('ref_F2vulxvqc841dac')\"}},{\"type\":\"fcDialog\",\"props\":{\"title\":\"演示表单\",\"rule\":[{\"type\":\"input\",\"field\":\"Fnf4lxvqdnrrdbc\",\"title\":\"输入框\",\"info\":\"\",\"$required\":true,\"_fc_id\":\"id_F15tlxvqdnrsdcc\",\"name\":\"ref_Fvjmlxvqdnrsddc\",\"_fc_drag_tag\":\"input\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"Frnvlxvqdo0ndec\",\"title\":\"多行输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"textarea\"},\"_fc_id\":\"id_F2p0lxvqdo0ndfc\",\"name\":\"ref_Fj0blxvqdo0ndgc\",\"_fc_drag_tag\":\"textarea\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"Fvjnlxvqdoatdhc\",\"title\":\"多行输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"textarea\"},\"_fc_id\":\"id_Fjnslxvqdoatdic\",\"name\":\"ref_Fgwalxvqdoatdjc\",\"_fc_drag_tag\":\"textarea\",\"display\":true,\"hidden\":false},{\"type\":\"input\",\"field\":\"F62glxvqdopkdkc\",\"title\":\"密码输入框\",\"info\":\"\",\"$required\":false,\"props\":{\"type\":\"password\"},\"_fc_id\":\"id_F942lxvqdopkdlc\",\"name\":\"ref_Fvw8lxvqdopkdmc\",\"_fc_drag_tag\":\"password\",\"display\":true,\"hidden\":false},{\"type\":\"inputNumber\",\"field\":\"Fg6mlxvqdp61dnc\",\"title\":\"数字输入框\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fbqzlxvqdp61doc\",\"name\":\"ref_F59vlxvqdp61dpc\",\"_fc_drag_tag\":\"inputNumber\",\"display\":true,\"hidden\":false},{\"type\":\"radio\",\"field\":\"Fg6rlxvqdpe9dqc\",\"title\":\"单选框\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fu7tlxvqdpe9drc\",\"name\":\"ref_F7u8lxvqdpe9dsc\",\"_fc_drag_tag\":\"radio\",\"display\":true,\"hidden\":false},{\"type\":\"checkbox\",\"field\":\"Fpz5lxvqdpnwdtc\",\"title\":\"多选框\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fbtklxvqdpnwduc\",\"name\":\"ref_Fqpalxvqdpnwdvc\",\"_fc_drag_tag\":\"checkbox\",\"display\":true,\"hidden\":false},{\"type\":\"select\",\"field\":\"Fnzulxvqdpzcdwc\",\"title\":\"选择器\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项00\",\"value\":1},{\"label\":\"选项01\",\"value\":2},{\"label\":\"选项02\",\"value\":3}],\"_fc_id\":\"id_Fxd1lxvqdpzddxc\",\"name\":\"ref_Fjtjlxvqdpzddyc\",\"_fc_drag_tag\":\"select\",\"display\":true,\"hidden\":false},{\"type\":\"switch\",\"field\":\"Fbk6lxvqdq7edzc\",\"title\":\"开关\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fdtflxvqdq7ee0c\",\"name\":\"ref_Fkeslxvqdq7ee1c\",\"_fc_drag_tag\":\"switch\",\"display\":true,\"hidden\":false},{\"type\":\"rate\",\"field\":\"F2lzlxvqdqg0e2c\",\"title\":\"评分\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_F0oslxvqdqg0e3c\",\"name\":\"ref_Fegslxvqdqg0e4c\",\"_fc_drag_tag\":\"rate\",\"value\":0,\"display\":true,\"hidden\":false}]},\"_fc_id\":\"id_Fo46lxvqc840d9c\",\"name\":\"ref_F2vulxvqc841dac\",\"_fc_drag_tag\":\"fcDialog\",\"display\":true,\"hidden\":false,\"on\":{\"submit\":\"$FNX:alert(JSON.stringify($inject.args[0]));\"}}]" }, { label: '行内表单', info: '将表单元素横向排列,适合简洁、紧凑的布局需求', rule: "[{\"type\":\"fcInlineForm\",\"_fc_id\":\"id_Fg6tm1uoe42ce9c\",\"name\":\"ref_Fumhm1uoe42ceac\",\"_fc_drag_tag\":\"fcInlineForm\",\"children\":[{\"type\":\"input\",\"field\":\"Fbv9m1uoe66vebc\",\"title\":\"用户名\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Fvjvm1uoe66vecc\",\"name\":\"ref_Fvpqm1uoe66vedc\",\"_fc_drag_tag\":\"input\",\"wrap\":{\"labelWidth\":\"80px\",\"labelCol\":{\"style\":{\"width\":\"4em\"}}},\"display\":true,\"hidden\":false,\"style\":{\"width\":\"100px\"}},{\"type\":\"input\",\"field\":\"Fhd5m1uoebu2eec\",\"title\":\"订单ID\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_F0otm1uoebu2efc\",\"name\":\"ref_F9sim1uoebu2egc\",\"_fc_drag_tag\":\"input\",\"wrap\":{\"labelWidth\":\"80px\",\"labelCol\":{\"style\":{\"width\":\"4em\"}}},\"style\":{\"marginLeft\":\"10px\",\"width\":\"100px\"},\"display\":true,\"hidden\":false},{\"type\":\"select\",\"field\":\"F8qsm1uoehprehc\",\"title\":\"订单分类\",\"info\":\"\",\"effect\":{\"fetch\":\"\"},\"$required\":false,\"options\":[{\"label\":\"选项01\",\"value\":\"1\"},{\"label\":\"选项02\",\"value\":\"2\"},{\"label\":\"选项03\",\"value\":\"3\"}],\"_fc_id\":\"id_Fcrum1uoehpreic\",\"name\":\"ref_Fjmfm1uoehprejc\",\"_fc_drag_tag\":\"select\",\"wrap\":{\"class\":\"fc-wrap-right\",\"labelWidth\":\"80px\",\"labelCol\":{\"style\":{\"width\":\"5em\"}}},\"style\":{\"marginLeft\":\"10px\",\"width\":\"120px\"},\"display\":true,\"hidden\":false},{\"type\":\"aButton\",\"children\":[\"搜索\"],\"_fc_id\":\"id_Fc0um1uoeyekekc\",\"name\":\"ref_F7y6m1uoeyekelc\",\"style\":{\"marginLeft\":\"10px\"},\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"aButton\"}],\"display\":true,\"hidden\":false}]", }, { label: '弹性盒子布局', info: '实现自适应布局,便于灵活排列和对齐子元素', rule: "[{\"type\":\"aDivider\",\"children\":[\"水平分布/垂直居中\"],\"_fc_id\":\"id_Fviom1uopbang9c\",\"name\":\"ref_Fs1rm1uopbangac\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"aDivider\"},{\"type\":\"fcRow\",\"children\":[{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字文字文字文字文字文字文字文字\"],\"_fc_id\":\"id_Fy6vm1uok8sjfgc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"text\"}],\"_fc_id\":\"id_Fvbsm1uoj16ifcc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"fcCell\"},{\"type\":\"fcCell\",\"style\":{\"width\":\"300px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_Fczvm1uokzdtfmc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fagqm1uokzdtfnc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_Furmm1uoka73fic\",\"name\":\"ref_Foudm1uoka73fjc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"text\"}],\"_fc_id\":\"id_Fucum1uoj16ifec\",\"name\":\"ref_F3xzm1uoj16iffc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"fcCell\"}],\"_fc_id\":\"id_Fdgym1uoj16ifac\",\"name\":\"ref_Fdvjm1uoj16ifbc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"fcFlex\",\"style\":{\"display\":\"flex\",\"flexDirection\":\"row\",\"justifyContent\":\"space-between\",\"alignItems\":\"center\"}},{\"type\":\"aDivider\",\"children\":[\"水平居中/顶部对齐\"],\"_fc_id\":\"id_Furfm1uoqjqvgdc\",\"name\":\"ref_Fs1rm1uopbangac\",\"_fc_drag_tag\":\"aDivider\",\"display\":true,\"hidden\":false},{\"type\":\"fcRow\",\"children\":[{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字文字文字文字文字文字文字文字\"],\"_fc_id\":\"id_Flo0m1uooq1rg2c\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_F35rm1uooq1rg3c\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"300px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_F6ixm1uooq1rg4c\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fxicm1uooq1rg5c\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_Fzkfm1uooq1rg6c\",\"name\":\"ref_Foudm1uoka73fjc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_F5d5m1uooq1rg7c\",\"name\":\"ref_F3xzm1uoj16iffc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Firtm1uooq1rg8c\",\"name\":\"ref_Fdvjm1uoj16ifbc\",\"_fc_drag_tag\":\"fcFlex\",\"style\":{\"display\":\"flex\",\"flexDirection\":\"row\",\"justifyContent\":\"center\",\"alignItems\":\"flex-start\"},\"display\":true,\"hidden\":false},{\"type\":\"aDivider\",\"children\":[\"垂直排列/水平居中\"],\"_fc_id\":\"id_Fexfm1uoqvwygec\",\"name\":\"ref_Fs1rm1uopbangac\",\"_fc_drag_tag\":\"aDivider\",\"display\":true,\"hidden\":false},{\"type\":\"fcRow\",\"children\":[{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字文字文字文字文字文字文字文字\"],\"_fc_id\":\"id_Fbd1m1uono8gfoc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fis4m1uono8gfpc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"300px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_F1o6m1uono8gfqc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_F80lm1uono8gfrc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_Ffklm1uono8gfsc\",\"name\":\"ref_Foudm1uoka73fjc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fbujm1uono8gftc\",\"name\":\"ref_F3xzm1uoj16iffc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_F2gvm1uono8gfuc\",\"name\":\"ref_Fdvjm1uoj16ifbc\",\"_fc_drag_tag\":\"fcFlex\",\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\"},\"display\":true,\"hidden\":false},{\"type\":\"aDivider\",\"children\":[\"垂直排列/左边对齐\"],\"_fc_id\":\"id_Fklxm1uorvudgfc\",\"name\":\"ref_Fs1rm1uopbangac\",\"_fc_drag_tag\":\"aDivider\",\"display\":true,\"hidden\":false},{\"type\":\"fcRow\",\"children\":[{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字文字文字文字文字文字文字文字\"],\"_fc_id\":\"id_Fzhbm1uoo2i4fvc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fxvxm1uoo2i4fwc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"300px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_F1cwm1uoo2i4fxc\",\"name\":\"ref_F3wom1uok8sjfhc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Fbjgm1uoo2i4fyc\",\"name\":\"ref_F13hm1uoj16ifdc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false},{\"type\":\"fcCell\",\"style\":{\"width\":\"100px\"},\"children\":[{\"type\":\"div\",\"title\":\"\",\"native\":true,\"style\":{\"whiteSpace\":\"pre-line\",\"backgroundColor\":\"#d3dce6\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"文字\"],\"_fc_id\":\"id_Ffxem1uoo2i4fzc\",\"name\":\"ref_Foudm1uoka73fjc\",\"_fc_drag_tag\":\"text\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_F12zm1uoo2i4g0c\",\"name\":\"ref_F3xzm1uoj16iffc\",\"_fc_drag_tag\":\"fcCell\",\"display\":true,\"hidden\":false}],\"_fc_id\":\"id_Frxfm1uoo2i4g1c\",\"name\":\"ref_Fdvjm1uoj16ifbc\",\"_fc_drag_tag\":\"fcFlex\",\"style\":{\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"flex-start\"},\"display\":true,\"hidden\":false}]", }, { label: '自定义组件样式', info: '灵活设置组件样式,实现个性化的外观调整', rule: "[{\"type\":\"input\",\"field\":\"Fm0am1uq0g76dwc\",\"title\":\"输入框\",\"info\":\"\",\"$required\":false,\"_fc_id\":\"id_Foslm1uq0g76dxc\",\"name\":\"ref_Fvqfm1uq0g76dyc\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"input\",\"style\":{\"borderRadius\":\"0px 0px 0px 0px\",\"paddingTop\":\"10px\",\"paddingRight\":\"10px\",\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"borderStyle\":\"solid\",\"borderColor\":\"#484141FF\"}},{\"type\":\"div\",\"wrap\":{\"show\":false},\"native\":true,\"style\":{\"width\":\"100%\",\"height\":\"20px\"},\"_fc_id\":\"id_Ftj4m1uq2v5rdzc\",\"name\":\"ref_Fypam1uq2v5re0c\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"space\"},{\"type\":\"div\",\"title\":\"\",\"native\":true,\"children\":[\"文字\"],\"_fc_id\":\"id_F847lxvsu1m4b0c\",\"name\":\"ref_Ftcalxvsu1m4b1c\",\"_fc_drag_tag\":\"text\",\"style\":{\"color\":\"#FFFFFF\",\"backgroundColor\":\"#489356FF\",\"borderRadius\":\"5px 5px 5px 5px\",\"boxShadow\":\"3px 5px 7px 2px #CBCBCBFF\",\"scale\":\"91%\",\"width\":\"100%\",\"borderStyle\":\"solid\",\"borderColor\":\"#000000FF\",\"borderWidth\":\"2px\",\"display\":\"flex\",\"justifyContent\":\"center\"},\"display\":true,\"hidden\":false},{\"type\":\"div\",\"wrap\":{\"show\":false},\"native\":true,\"style\":{\"width\":\"100%\",\"height\":\"20px\"},\"_fc_id\":\"id_Fh8nm1uq8drie3c\",\"name\":\"ref_Fa5hm1uq8drie4c\",\"display\":true,\"hidden\":false,\"_fc_drag_tag\":\"space\"},{\"type\":\"html\",\"title\":\"\",\"native\":true,\"attrs\":{\"innerHTML\":\"\"},\"style\":{\"height\":\"100%\",\"width\":\"100%\",\"display\":\"block\"},\"children\":[\"
使用 JSON 数据生成表单,无需手动编写繁琐的表单代码
\\n