diff --git a/src/configs/animation.ts b/src/configs/animation.ts index a90f2968..9019b467 100644 --- a/src/configs/animation.ts +++ b/src/configs/animation.ts @@ -34,10 +34,10 @@ export const ANIMATIONS = [ name: '旋转', children: [ { name: '旋转进入', value: 'rotateIn' }, - { name: '基于左下旋转进入', value: 'rotateInDownLeft' }, - { name: '基于右下旋转进入', value: 'rotateInDownRight' }, - { name: '基于左上旋转进入', value: 'rotateInUpLeft' }, - { name: '基于右上旋转进入', value: 'rotateInUpRight' }, + { name: '绕左下旋转进入', value: 'rotateInDownLeft' }, + { name: '绕右下旋转进入', value: 'rotateInDownRight' }, + { name: '绕左上旋转进入', value: 'rotateInUpLeft' }, + { name: '绕右上旋转进入', value: 'rotateInUpRight' }, ], }, { diff --git a/src/configs/element.ts b/src/configs/element.ts index 4bb01e66..54c347ca 100644 --- a/src/configs/element.ts +++ b/src/configs/element.ts @@ -1,5 +1,14 @@ const DEFAULT_COLOR = '#41464b' +export const ELEMENT_TYPE = { + 'text': '文本', + 'image': '图片', + 'shape': '形状', + 'line': '线条', + 'chart': '图表', + 'table': '表格', +} + export const DEFAULT_TEXT = { content: '请输入内容', } diff --git a/src/views/Editor/CanvasTool/index.vue b/src/views/Editor/CanvasTool/index.vue index 84069356..782e93c6 100644 --- a/src/views/Editor/CanvasTool/index.vue +++ b/src/views/Editor/CanvasTool/index.vue @@ -11,13 +11,13 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue index 9f9675a3..92e0c476 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/TextStylePanel.vue @@ -50,6 +50,7 @@
行间距:
+ Jack Lucy Disabled @@ -96,6 +98,8 @@ import { AlignRightOutlined, OrderedListOutlined, UnorderedListOutlined, + ColumnHeightOutlined, + ColumnWidthOutlined, } from '@ant-design/icons-vue' export default defineComponent({ @@ -120,6 +124,8 @@ export default defineComponent({ AlignRightOutlined, OrderedListOutlined, UnorderedListOutlined, + ColumnHeightOutlined, + ColumnWidthOutlined, }, }) diff --git a/src/views/Editor/Toolbar/SlideStylePanel.vue b/src/views/Editor/Toolbar/SlideStylePanel.vue index e97903e8..2f3f5fa7 100644 --- a/src/views/Editor/Toolbar/SlideStylePanel.vue +++ b/src/views/Editor/Toolbar/SlideStylePanel.vue @@ -1,7 +1,7 @@