import { BasicProps, BasicState, EditSetting } from '../type' export class Props extends BasicProps { public editSetting: EditSetting = { key: 'gaea-bottomTab', name: '底部跳转Tab', isContainer: false, isAutoHeight: true, defaultPosition: { top: '0', left: '0' }, editors: [ { field: 'bgc', text: '背景图', type: 'image', }, { field: 'tabs', text: '跳转配置', type: 'array', data: [ { field: 'icon', type: 'image', text: '图标' }, { field: 'link', text: '跳转链接', type: 'string' } ] }, { field: 'marginBottom', text: '底部空白距离', type: 'number' }, { field: 'iconHeight', text: 'Icon高度', type: 'number' }, { field: 'marginTop', text: '顶部空白距离', type: 'number' }, ] }; public marginBottom: number = 60; public marginTop: number = 0; public iconHeight: number = 115; public tabs: { icon: { image: string }, link: string, text: string }[] = []; } export class State extends BasicState { }