import { BasicProps, BasicState, EditSetting } from '../type' export class Props extends BasicProps { public editSetting: EditSetting = { key: 'gaea-card-group', name: '卡牌-聚合页组件', isContainer: false, isAutoHeight: true, editors: [ '样式', { field: 'backgroundColor', text: '背景颜色:', type: 'color' }, { field: 'topOffset', text: '距离顶部:', type: 'number' }, { field: 'showFooter', text: '是否显示底部二维码:', type: 'boolean' }, '活动列表', { field: 'tab', text: '预览tab', type: 'select', data: [{ text: '进行中', value: 'ing' }, { text: '待开启', value: 'pre' }] }, { field: 'activityList', type: 'cardGroup' }, ] }; activityList_productList: any[] = []; backgroundColor = '#FAFAFA'; topOffset = -60; showFooter = true; tab = 'ing'; } export class State extends BasicState { serverActivityList: any[] = []; searchValue = ''; }