export default { type: 'page', title: '动态加载数据', body: [ '除了用 Page、CRUD、Form 或者 Wizard 能拉取数据外,还可以通过 Service 专门拉取数据,然后丢给其他类型的渲染器渲染。', { type: 'form', title: '条件输入', className: 'm-t', wrapWithPanel: false, target: 'service1', mode: 'inline', body: [ { type: 'input-text', name: 'keywords', placeholder: '关键字', addOn: { type: 'button', icon: 'fa fa-search', actionType: 'submit', level: 'primary' } } ] }, { name: 'service1', type: 'service', className: 'm-t', api: '/api/mock2/service/data?keywords=${keywords}', body: [ '当前关键字是 ${keywords},当前时间是: ${date|date:YYYY-MM-DD HH\\:mm}', { type: 'table', className: 'm-t', source: '${table1}', columns: [ { name: 'id', label: 'ID', type: 'text' }, { name: 'text', label: '文本', type: 'text' }, { type: 'image', label: '图片', name: 'image', popOver: { title: '查看大图', body: '