From 34488b6eb4ecba3c5addd64533d4174d27551b99 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Sat, 4 Nov 2023 11:45:22 +0800 Subject: [PATCH] =?UTF-8?q?perf=EF=BC=9A=20=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Thumbnails/index.vue | 2 +- .../Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue | 2 +- src/views/Editor/Toolbar/SlideAnimationPanel.vue | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/Editor/Thumbnails/index.vue b/src/views/Editor/Thumbnails/index.vue index 0c1c288b..48f1ea33 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -290,7 +290,7 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => { padding: 5px 0; .thumbnail { - outline: 1px solid rgba($color: $themeColor, $alpha: .15); + outline: 2px solid rgba($color: $themeColor, $alpha: .15); } &.active { diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue index a2b01344..fcfe29a9 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue @@ -82,7 +82,7 @@ import Popover from '@/components/Popover.vue' const shapeClipPathOptions = CLIPPATHS const ratioClipOptions = [ { - label: '纵横比(方形)', + label: '纵横比(正方形)', children: [ { key: '1:1', ratio: 1 / 1 }, ], diff --git a/src/views/Editor/Toolbar/SlideAnimationPanel.vue b/src/views/Editor/Toolbar/SlideAnimationPanel.vue index 97f2ac4b..f8c20dbb 100644 --- a/src/views/Editor/Toolbar/SlideAnimationPanel.vue +++ b/src/views/Editor/Toolbar/SlideAnimationPanel.vue @@ -95,13 +95,14 @@ const applyAllSlide = () => { overflow: hidden; @mixin elAnimation($animationType) { - content: 'Slide'; + content: 'PPTist'; width: 100%; height: 100%; position: absolute; left: 0; top: 0; - background-color: #d9dadb; + background-color: rgba($color: $themeColor, $alpha: .75); + color: #fff; display: flex; justify-content: center; align-items: center;