diff --git a/src/assets/images/chart/decorates/border08.png b/src/assets/images/chart/decorates/border08.png new file mode 100644 index 00000000..5fd56fd4 Binary files /dev/null and b/src/assets/images/chart/decorates/border08.png differ diff --git a/src/packages/components/Decorates/Borders/Border01/config.vue b/src/packages/components/Decorates/Borders/Border01/config.vue index 41ba9dfd..300c407a 100644 --- a/src/packages/components/Decorates/Borders/Border01/config.vue +++ b/src/packages/components/Decorates/Borders/Border01/config.vue @@ -28,6 +28,7 @@ @@ -39,9 +40,9 @@ diff --git a/src/packages/components/Decorates/Borders/Border08/config.ts b/src/packages/components/Decorates/Borders/Border08/config.ts new file mode 100644 index 00000000..d999654a --- /dev/null +++ b/src/packages/components/Decorates/Borders/Border08/config.ts @@ -0,0 +1,17 @@ +import { publicConfig } from '@/packages/public' +import { CreateComponentType } from '@/packages/index.d' +import { Border08Config } from './index' +import cloneDeep from 'lodash/cloneDeep' + +export const option = { + colors: ['#235fa7', '#4fd2dd'], + dur: 3, + reverse: false, + backgroundColor: '#00000000' +} + +export default class Config extends publicConfig implements CreateComponentType { + public key = Border08Config.key + public chartConfig = cloneDeep(Border08Config) + public option = option +} diff --git a/src/packages/components/Decorates/Borders/Border08/config.vue b/src/packages/components/Decorates/Borders/Border08/config.vue new file mode 100644 index 00000000..adc3cde3 --- /dev/null +++ b/src/packages/components/Decorates/Borders/Border08/config.vue @@ -0,0 +1,73 @@ + + + diff --git a/src/packages/components/Decorates/Borders/Border08/index.ts b/src/packages/components/Decorates/Borders/Border08/index.ts new file mode 100644 index 00000000..9d52aee1 --- /dev/null +++ b/src/packages/components/Decorates/Borders/Border08/index.ts @@ -0,0 +1,14 @@ +import image from '@/assets/images/chart/decorates/border08.png' +import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d' +import { ChatCategoryEnum, ChatCategoryEnumName } from '../../index.d' + +export const Border08Config: ConfigType = { + key: 'Border08', + chartKey: 'VBorder08', + conKey: 'VCBorder08', + title: '边框-08', + category: ChatCategoryEnum.BORDER, + categoryName: ChatCategoryEnumName.BORDER, + package: PackagesCategoryEnum.DECORATES, + image +} diff --git a/src/packages/components/Decorates/Borders/Border08/index.vue b/src/packages/components/Decorates/Borders/Border08/index.vue new file mode 100644 index 00000000..4326761a --- /dev/null +++ b/src/packages/components/Decorates/Borders/Border08/index.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/packages/components/Decorates/Borders/index.ts b/src/packages/components/Decorates/Borders/index.ts index 71d43bf0..5957c245 100644 --- a/src/packages/components/Decorates/Borders/index.ts +++ b/src/packages/components/Decorates/Borders/index.ts @@ -5,6 +5,7 @@ import { Border04Config } from './Border04/index' import { Border05Config } from './Border05/index' import { Border06Config } from './Border06/index' import { Border07Config } from './Border07/index' +import { Border08Config } from './Border08/index' export default [ Border01Config, @@ -13,5 +14,6 @@ export default [ Border04Config, Border05Config, Border06Config, - Border07Config + Border07Config, + Border08Config ]