From fd750a3af0c46cab87cdd7acf07a7ee181258e51 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 28 Nov 2025 12:30:57 +0800 Subject: [PATCH] =?UTF-8?q?word=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/child/DocumentPreviewPanel.vue | 2 +- src/views/common/DocumentSearchWord.vue | 29 ++++++++++--------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/views/analysis/components/child/DocumentPreviewPanel.vue b/src/views/analysis/components/child/DocumentPreviewPanel.vue index 4b2513e..3fd3faa 100644 --- a/src/views/analysis/components/child/DocumentPreviewPanel.vue +++ b/src/views/analysis/components/child/DocumentPreviewPanel.vue @@ -233,7 +233,7 @@ export default { .document-sidebar { position: absolute; - right: 0px; + right: 8px; top: 80px; bottom: 16px; width: 140px; diff --git a/src/views/common/DocumentSearchWord.vue b/src/views/common/DocumentSearchWord.vue index 3dcee87..272550c 100644 --- a/src/views/common/DocumentSearchWord.vue +++ b/src/views/common/DocumentSearchWord.vue @@ -911,7 +911,7 @@ export default { display: flex; flex-direction: column; height: calc(100vh - 84px); - background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%); + background: #f5f7fa; padding: 16px; box-sizing: border-box; } @@ -920,11 +920,11 @@ export default { display: block; margin: 0 auto 32px; background: #ffffff; - border-radius: 16px; - box-shadow: 0 20px 48px rgba(25, 64, 158, 0.12); + border-radius: 12px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); padding: 48px 56px; box-sizing: border-box; - color: #1f2a62; + color: #303133; line-height: 1.75; font-size: 14px; } @@ -1096,7 +1096,7 @@ export default { .viewer-container { flex: 1; - background: #ffffff; + background: #fafbfc; border-radius: 12px; overflow: hidden; position: relative; @@ -1105,12 +1105,13 @@ export default { min-height: 0; max-height: 100%; height: 0; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .doc-wrapper { flex: 1; padding: 24px; - background: #eef2ff; + background: #fafbfc; position: relative; width: 100%; height: 100%; @@ -1128,23 +1129,23 @@ export default { max-width: 960px; margin: 0 auto; background: #ffffff; - border-radius: 16px; - box-shadow: 0 18px 40px rgba(25, 64, 158, 0.12); + border-radius: 12px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); padding: 48px 56px; } ::v-deep .docx-wrapper { margin: 0 auto; - background: linear-gradient(180deg, #fdfdff 0%, #f6f8ff 100%); - border-radius: 16px; - box-shadow: 0 24px 48px rgba(25, 64, 158, 0.16); + background: #ffffff; + border-radius: 12px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); overflow: hidden; - border: 1px solid rgba(68, 112, 255, 0.18); + border: 1px solid rgba(0, 0, 0, 0.06); } ::v-deep .docx-viewer-wrapper>section.docx-viewer { - background: white; - box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); + background: #ffffff; + box-shadow: none; margin-bottom: 5px !important; }