export default { type: 'page', title: '轮播图组件事件', regions: ['body', 'toolbar', 'header'], data: { index: 3 }, body: [ { type: 'action', label: '上一张', level: 'primary', className: 'mr-3 mb-3', onEvent: { click: { actions: [ { actionType: 'prev', componentId: 'carousel_001' } ] } } }, { type: 'action', label: '下一张', level: 'primary', className: 'mr-3 mb-3', onEvent: { click: { actions: [ { actionType: 'next', componentId: 'carousel_001' } ] } } }, { type: 'action', label: '滚动到第三张', level: 'primary', className: 'mr-3 mb-3', onEvent: { click: { actions: [ { actionType: 'goto-image', componentId: 'carousel_001', args: { activeIndex: '${index}' } } ] } } }, { type: 'carousel', id: 'carousel_001', auto: false, thumbMode: 'cover', animation: 'slide', height: 300, options: [ { image: 'https://internal-amis-res.cdn.bcebos.com/images/2019-12/1577157239810/da6376bf988c.png' }, { html: '