From 790e0e0bd1490354a80b9113f27d93b15e49523a Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 3 Sep 2023 23:12:30 +0800 Subject: [PATCH] mod: editor styles --- src/components/top-bar/KUNGalgameTopBar.vue | 2 +- src/components/wang-editor/Title.vue | 12 ++- src/components/wang-editor/WangEditor.vue | 85 ++++++++++++++++++++- src/styles/editor/editor.scss | 2 +- src/views/edit/Edit.vue | 13 ++-- 5 files changed, 96 insertions(+), 18 deletions(-) diff --git a/src/components/top-bar/KUNGalgameTopBar.vue b/src/components/top-bar/KUNGalgameTopBar.vue index 944d60d2..b8c0ee67 100644 --- a/src/components/top-bar/KUNGalgameTopBar.vue +++ b/src/components/top-bar/KUNGalgameTopBar.vue @@ -243,7 +243,7 @@ $navNumber: v-bind(navItemNum); /* 设置面板 */ .settings-panel { /* 永远在其它页面之上 */ - z-index: 9999; + z-index: 999; } @media (max-width: 1000px) { diff --git a/src/components/wang-editor/Title.vue b/src/components/wang-editor/Title.vue index 94210f2d..31047106 100644 --- a/src/components/wang-editor/Title.vue +++ b/src/components/wang-editor/Title.vue @@ -51,7 +51,7 @@ const handelInput = () => {
{ diff --git a/src/components/wang-editor/WangEditor.vue b/src/components/wang-editor/WangEditor.vue index d16b53fb..0507b35e 100644 --- a/src/components/wang-editor/WangEditor.vue +++ b/src/components/wang-editor/WangEditor.vue @@ -122,22 +122,33 @@ const handleChange = (editor: IDomEditor) => {