From ef78bec3d93a0ed1639dd82fb7231100943e19f5 Mon Sep 17 00:00:00 2001 From: zxc <1171051090@qq.com> Date: Mon, 29 Jul 2024 22:14:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BA=BF=E6=9D=A1=E4=BA=A4=E6=8D=A2?= =?UTF-8?q?=E6=96=B9=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/icon.ts | 2 ++ .../Editor/Toolbar/ElementStylePanel/LineStylePanel.vue | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/src/plugins/icon.ts b/src/plugins/icon.ts index a0b6f0c7..45497cee 100644 --- a/src/plugins/icon.ts +++ b/src/plugins/icon.ts @@ -122,6 +122,7 @@ import { Info, Comment, User, + Switch, } from '@icon-park/vue-next' export interface Icons { @@ -249,6 +250,7 @@ export const icons: Icons = { IconInfo: Info, IconComment: Comment, IconUser: User, + IconSwitch: Switch, } export default { diff --git a/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue index f0e94734..d2b76aab 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/LineStylePanel.vue @@ -60,6 +60,12 @@ /> + + +
+ +
+ @@ -73,6 +79,7 @@ import type { PPTLineElement } from '@/types/slides' import useHistorySnapshot from '@/hooks/useHistorySnapshot' import ElementShadow from '../common/ElementShadow.vue' +import Button from '@/components/Button.vue' import ColorButton from '../common/ColorButton.vue' import ColorPicker from '@/components/ColorPicker/index.vue' import Divider from '@/components/Divider.vue'