diff --git a/src/views/Editor/CanvasTool/index.vue b/src/views/Editor/CanvasTool/index.vue index 8c11ccb7..414fc6f0 100644 --- a/src/views/Editor/CanvasTool/index.vue +++ b/src/views/Editor/CanvasTool/index.vue @@ -76,6 +76,7 @@ :key="item" @click="applyCanvasPresetScale(item)" >{{item}}% + 适应屏幕 {{canvasScalePercentage}} @@ -131,7 +132,7 @@ const { canvasScalePercentage, } = useScaleCanvas() -const canvasScalePresetList = [200, 150, 100, 80, 50] +const canvasScalePresetList = [200, 150, 125, 100, 75, 50] const canvasScaleVisible = ref(false) const applyCanvasPresetScale = (value: number) => { diff --git a/src/views/Editor/Thumbnails/LayoutPool.vue b/src/views/Editor/Thumbnails/LayoutPool.vue index 9f797859..70d696a2 100644 --- a/src/views/Editor/Thumbnails/LayoutPool.vue +++ b/src/views/Editor/Thumbnails/LayoutPool.vue @@ -48,7 +48,8 @@ const selectSlideTemplate = (slide: Slide) => { } .thumbnail { - outline: 1px solid $borderColor; + outline: 2px solid $borderColor; + transition: outline $transitionDelay; cursor: pointer; &:hover { diff --git a/src/views/Editor/Toolbar/SlideDesignPanel.vue b/src/views/Editor/Toolbar/SlideDesignPanel.vue index 63f5fd71..60c469dd 100644 --- a/src/views/Editor/Toolbar/SlideDesignPanel.vue +++ b/src/views/Editor/Toolbar/SlideDesignPanel.vue @@ -491,7 +491,7 @@ const updateViewportRatio = (value: number) => { } &:hover .btns { - display: flex; + opacity: 1; } .btns { @@ -500,8 +500,10 @@ const updateViewportRatio = (value: number) => { flex-direction: column; justify-content: center; align-items: center; - display: none; + display: flex; background-color: rgba($color: #000, $alpha: .25); + opacity: 0; + transition: opacity $transitionDelay; } .btn { width: 72px; diff --git a/src/views/components/element/AudioElement/AudioPlayer.vue b/src/views/components/element/AudioElement/AudioPlayer.vue index 083d1dae..c64a16bf 100644 --- a/src/views/components/element/AudioElement/AudioPlayer.vue +++ b/src/views/components/element/AudioElement/AudioPlayer.vue @@ -401,7 +401,7 @@ defineExpose({ } .icon-content { - transition: all 0.2s ease-in-out; + transition: all .2s ease-in-out; opacity: 0.8; color: #fff; } diff --git a/src/views/components/element/VideoElement/VideoPlayer/index.vue b/src/views/components/element/VideoElement/VideoPlayer/index.vue index 51d7febc..205dca62 100644 --- a/src/views/components/element/VideoElement/VideoPlayer/index.vue +++ b/src/views/components/element/VideoElement/VideoPlayer/index.vue @@ -517,7 +517,7 @@ useMSE(props.src, videoRef) } .icon-content { - transition: all 0.2s ease-in-out; + transition: all .2s ease-in-out; opacity: 0.8; color: #fff; }