word搜索

This commit is contained in:
cwchen 2025-11-28 12:30:57 +08:00
parent fa8337b2f9
commit fd750a3af0
2 changed files with 16 additions and 15 deletions

View File

@ -233,7 +233,7 @@ export default {
.document-sidebar { .document-sidebar {
position: absolute; position: absolute;
right: 0px; right: 8px;
top: 80px; top: 80px;
bottom: 16px; bottom: 16px;
width: 140px; width: 140px;

View File

@ -911,7 +911,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: calc(100vh - 84px); height: calc(100vh - 84px);
background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%); background: #f5f7fa;
padding: 16px; padding: 16px;
box-sizing: border-box; box-sizing: border-box;
} }
@ -920,11 +920,11 @@ export default {
display: block; display: block;
margin: 0 auto 32px; margin: 0 auto 32px;
background: #ffffff; background: #ffffff;
border-radius: 16px; border-radius: 12px;
box-shadow: 0 20px 48px rgba(25, 64, 158, 0.12); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
padding: 48px 56px; padding: 48px 56px;
box-sizing: border-box; box-sizing: border-box;
color: #1f2a62; color: #303133;
line-height: 1.75; line-height: 1.75;
font-size: 14px; font-size: 14px;
} }
@ -1096,7 +1096,7 @@ export default {
.viewer-container { .viewer-container {
flex: 1; flex: 1;
background: #ffffff; background: #fafbfc;
border-radius: 12px; border-radius: 12px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
@ -1105,12 +1105,13 @@ export default {
min-height: 0; min-height: 0;
max-height: 100%; max-height: 100%;
height: 0; height: 0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
} }
.doc-wrapper { .doc-wrapper {
flex: 1; flex: 1;
padding: 24px; padding: 24px;
background: #eef2ff; background: #fafbfc;
position: relative; position: relative;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -1128,23 +1129,23 @@ export default {
max-width: 960px; max-width: 960px;
margin: 0 auto; margin: 0 auto;
background: #ffffff; background: #ffffff;
border-radius: 16px; border-radius: 12px;
box-shadow: 0 18px 40px rgba(25, 64, 158, 0.12); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
padding: 48px 56px; padding: 48px 56px;
} }
::v-deep .docx-wrapper { ::v-deep .docx-wrapper {
margin: 0 auto; margin: 0 auto;
background: linear-gradient(180deg, #fdfdff 0%, #f6f8ff 100%); background: #ffffff;
border-radius: 16px; border-radius: 12px;
box-shadow: 0 24px 48px rgba(25, 64, 158, 0.16); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
overflow: hidden; 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 { ::v-deep .docx-viewer-wrapper>section.docx-viewer {
background: white; background: #ffffff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); box-shadow: none;
margin-bottom: 5px !important; margin-bottom: 5px !important;
} }