import {BasicProps, BasicState} from '../type' export class Props extends BasicProps{ public editSetting = { key: 'gaea-yueduFestival', name: '小说分站平台活动', isContainer: false, isAutoHeight: true, defaultPosition: { top: '0', left: '0' }, editors: [ { field: 'backgroundColor', text: '背景颜色', type: 'color' }, { field: 'backgroundImage', text: '背景图片', type: 'image' }, { field: 'isBackgroundImageRepeat', text: '背景图片是否repeat', type: 'boolean' }, { field: 'novelfestival', text: '', type: 'novelfestival' }, { field: 'productMargin', text: '充值项间距', type: 'number' }, { field: 'productWidth', text: '充值项宽度', type: 'number' }, { field: 'productButtonColor', text: '充值项按钮颜色', type: 'color' }, { field: 'productSaleColor', text: '充值项角标颜色', type: 'color' }, { field: 'ruleButColor', text: '活动规则按钮颜色', type: 'color' }, { field: 'ruleColor', text: '活动规则字体颜色', type: 'color' }, ] }; public productMargin = .5 public productWidth = 10 public productButtonColor = '#FD3A2E' public productSaleColor = '#fdbe2c' public ruleButColor = '#ddd' public ruleColor = '#333' } export class State extends BasicState{ public activityInfo= {} public countDown = {} public startTime = '' public endTime = '' public hasStart = false public hasEnd = false public productList = undefined }