fix: 完成左侧列表的其余内容

This commit is contained in:
mtruning
2022-01-15 12:50:00 +08:00
parent ae71e13c6d
commit f6860c3fa6
70 changed files with 336 additions and 270 deletions
@@ -1,5 +1,5 @@
import node from './index.vue'
import image from '@/assets/images/chart/pie.png'
import image from '@/assets/images/chart/charts/pie.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../../index.d'
@@ -8,5 +8,5 @@ export const pieCommonConfig: ConfigType = {
title: '饼图',
category: ChatCategoryEnum.PIE,
node: node,
image: image
image
}
@@ -1,9 +1,8 @@
import barCommon from './index.vue'
import image from '@/assets/images/chart/bar_y.png'
import image from '@/assets/images/chart/charts/bar_x.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../../index.d'
// 柱状图
export const barCommonConfig: ConfigType = {
key: 'BarCommon',
title: '基础',
@@ -1,5 +1,5 @@
import BorderCommon from './index.vue'
import image from '@/assets/images/chart/static.png'
import image from '@/assets/images/chart/decorates/border.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../../index.d'
@@ -8,5 +8,5 @@ export const borderCommonConfig: ConfigType = {
title: '边框',
category: ChatCategoryEnum.Border,
node: BorderCommon,
image: image
image
}
+2
View File
@@ -1,3 +1,5 @@
export enum ChatCategoryEnum {
Border = '边框',
Title = '标题',
Else = '其它'
}
+1 -1
View File
@@ -1,3 +1,3 @@
import Border from './Border'
import Border from './borders'
export const DecorateList = [...Border]
+3
View File
@@ -0,0 +1,3 @@
export enum ChatCategoryEnum {
text = '文本',
}
@@ -0,0 +1,3 @@
import { textCommonConfig } from './textCommon/index'
export const InformationList = [textCommonConfig]
@@ -0,0 +1,12 @@
import TextCommon from './index.vue'
import image from '@/assets/images/chart/informations/text_static.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../index.d'
export const textCommonConfig: ConfigType = {
key: 'Text',
title: '文字',
category: ChatCategoryEnum.text,
node: TextCommon,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
信息
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>
+3
View File
@@ -0,0 +1,3 @@
export enum ChatCategoryEnum {
table = '表格',
}
+3
View File
@@ -0,0 +1,3 @@
import { tableCommonConfig } from './tableCommon/index'
export const TableList = [tableCommonConfig]
@@ -0,0 +1,12 @@
import TableCommon from './index.vue'
import image from '@/assets/images/chart/Tables/tables.png'
import { ConfigType } from '@/packages/index.d'
import { ChatCategoryEnum } from '../index.d'
export const tableCommonConfig: ConfigType = {
key: 'Border',
title: '表格',
category: ChatCategoryEnum.table,
node: TableCommon,
image
}
@@ -0,0 +1,13 @@
<template>
<div>
表格
</div>
</template>
<script setup lang="ts">
</script>
<style lang="scss" scoped>
</style>