import { BasicProps, BasicState, EditSetting } from '../type' export class Props extends BasicProps { public editSetting: EditSetting = { key: 'gaea-newuserGiftPacks', name: 'lofter新人礼包', type: 'business', isContainer: false, isAutoHeight: true, defaultPosition: { top: '0', left: '0' }, editors: [ { field: 'title', text: '模块标题', type: 'string', }, { field: 'day', text: '展示天数', type: 'select', data: [{ text: '第二天', value: 2 }, { text: '第三天', value: 3 }] }, { field: 'musicImage', text: '云音乐背景图片', type: 'image' }, { field: 'dressingImage', text: '装扮背景图片', type: 'image' }, { field: 'avatarImage', text: '头像框背景图片', type: 'image' }, { field: 'marginTop', text: '模块上间距', type: 'number' }, ] }; title: string marginTop = 0 musicImage: any avatarImage: any dressingImage: any day: number = 2 } export class State extends BasicState { giftList: any }