From 78858111bb74e7465921ed813449d268e09c4877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Mon, 9 Dec 2024 15:01:25 +0800 Subject: [PATCH] =?UTF-8?q?pptList=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/AixPPTist/src/views/Editor/EditorHeader/index.vue | 4 ++++ .../src/AixPPTist/src/views/Editor/Thumbnails/index.vue | 6 +++++- src/renderer/src/utils/tool.js | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/AixPPTist/src/views/Editor/EditorHeader/index.vue b/src/renderer/src/AixPPTist/src/views/Editor/EditorHeader/index.vue index f96b051..29d7ca5 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/EditorHeader/index.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/EditorHeader/index.vue @@ -162,6 +162,10 @@ const setDialogForExport = (type: DialogForExportTypes) => { .icon { font-size: 18px; color: #666; + + :deep(svg) { + display: block !important; + } } &:hover { diff --git a/src/renderer/src/AixPPTist/src/views/Editor/Thumbnails/index.vue b/src/renderer/src/AixPPTist/src/views/Editor/Thumbnails/index.vue index e61e623..92d5da2 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/Thumbnails/index.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/Thumbnails/index.vue @@ -402,12 +402,17 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => { .icon { margin-right: 3px; font-size: 14px; + + :deep(svg) { + display: block !important; + } } } .thumbnail-list { padding: 5px 0; flex: 1; overflow: auto; + border-bottom: 1px solid $borderColor; } .thumbnail-item { display: flex; @@ -486,7 +491,6 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => { .page-number { height: 40px; font-size: 12px; - border-top: 1px solid $borderColor; line-height: 40px; text-align: center; color: #666; diff --git a/src/renderer/src/utils/tool.js b/src/renderer/src/utils/tool.js index a89be59..02aeae2 100644 --- a/src/renderer/src/utils/tool.js +++ b/src/renderer/src/utils/tool.js @@ -208,6 +208,10 @@ export const createWindow = async (type, data) => { autoHideMenuBar: true, maximizable: false, } + // pptlist的时候可以选择最大化 + if (data.url == '/pptist'){ + defOption.maximizable = true; + } data.isConsole = true // 是否开启控制台 data.option = {...defOption, ...option} const win = await toolWindow(type, data)