fix: 修改配置项目

This commit is contained in:
MTrun
2022-01-25 11:09:32 +08:00
parent bb7aa78738
commit 663ef6f2a6
78 changed files with 86 additions and 55 deletions
@@ -0,0 +1,14 @@
import Image from './index.vue'
import image from '@/assets/images/chart/informations/photo.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const ImageConfig: ConfigType = {
key: 'VImage',
title: '图片',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.INFORMATION,
node: Image,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
词云
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,14 @@
import TextCloud from './index.vue'
import image from '@/assets/images/chart/informations/words_cloud.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TextCloudConfig: ConfigType = {
key: 'VTextCloud',
title: '词云',
category: ChatCategoryEnum.MORE,
categoryName: ChatCategoryEnumName.MORE,
package: PackagesCategoryEnum.INFORMATION,
node: TextCloud,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
词云
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,4 @@
import { TextCloudConfig } from './TextCloud/index'
import { ImageConfig } from './Image/index'
export default [ImageConfig, TextCloudConfig]
@@ -0,0 +1,14 @@
import TextCommon from './index.vue'
import image from '@/assets/images/chart/informations/text_static.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TextCommonConfig: ConfigType = {
key: 'VText',
title: '文字',
category: ChatCategoryEnum.TEXT,
categoryName: ChatCategoryEnumName.TEXT,
package: PackagesCategoryEnum.INFORMATION,
node: TextCommon,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
信息
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,3 @@
import { TextCommonConfig } from './TextCommon/index'
export default [TextCommonConfig]
@@ -0,0 +1,14 @@
import TitleBevelAngle from './index.vue'
import image from '@/assets/images/chart/informations/title_diamond2.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleBevelAngleConfig: ConfigType = {
key: 'VTitleBevelAngle',
title: '斜角标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitleBevelAngle,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
标题
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,14 @@
import TitleCommon from './index.vue'
import image from '@/assets/images/chart/informations/title_diamond.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleCommonConfig: ConfigType = {
key: 'VText',
title: '普通标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitleCommon,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
标题
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,14 @@
import TitlePro from './index.vue'
import image from '@/assets/images/chart/informations/title_main.png'
import { ConfigType, PackagesCategoryEnum } from '@/packages/index.d'
import { ChatCategoryEnum,ChatCategoryEnumName } from '../../index.d'
export const TitleProConfig: ConfigType = {
key: 'VTitlePro',
title: '中心标题',
category: ChatCategoryEnum.TITLE,
categoryName: ChatCategoryEnumName.TITLE,
package: PackagesCategoryEnum.INFORMATION,
node: TitlePro,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
标题
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
@@ -0,0 +1,5 @@
import { TitleCommonConfig } from './TitleCommon/index'
import { TitleProConfig } from './TitlePro/index'
import { TitleBevelAngleConfig } from './TitleBevelAngle/index'
export default [TitleProConfig, TitleCommonConfig, TitleBevelAngleConfig]
+11
View File
@@ -0,0 +1,11 @@
export enum ChatCategoryEnum {
TEXT = 'Texts',
TITLE = 'Titles',
MORE = 'Mores'
}
export enum ChatCategoryEnumName {
TEXT = '文本',
TITLE = '标题',
MORE = '更多'
}
@@ -0,0 +1,5 @@
import Texts from './Texts'
import Titles from './Titles'
import Mores from './Mores'
export const InformationList = [...Texts, ...Titles, ...Mores]