18 lines
727 B
TypeScript
18 lines
727 B
TypeScript
import { PublicConfigClass } from '@/packages/public'
|
|
import { chartInitConfig } from '@/settings/designSetting'
|
|
import { CreateComponentType } from '@/packages/index.d'
|
|
import { ContentTitleConfig } from './index'
|
|
import cloneDeep from 'lodash/cloneDeep'
|
|
|
|
export const option = {
|
|
boxId: 'linearGradientContentTitle',
|
|
colors: ['#08251E','#00A374','#11B472','#00FF8C','#00F4B6','#00FF77','#00BF6B','#00673F','#00683F','#72A18A','#1CC370'],
|
|
}
|
|
|
|
export default class Config extends PublicConfigClass implements CreateComponentType {
|
|
public key = ContentTitleConfig.key
|
|
public attr = { ...chartInitConfig, w: 401, h: 40, zIndex: 1 }
|
|
public chartConfig = cloneDeep(ContentTitleConfig)
|
|
public option = cloneDeep(option)
|
|
}
|