@@ -887,6 +934,43 @@ onMounted(() => {
}
}
+// DOCX预览样式
+.docx-preview-container {
+ display: flex;
+ flex-direction: column;
+ height: 70vh;
+
+ .docx-toolbar {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 8px 0;
+ margin-bottom: 8px;
+ border-bottom: 1px solid var(--el-border-color-lighter);
+
+ .docx-title {
+ font-size: 14px;
+ font-weight: 500;
+ }
+
+ .docx-actions {
+ display: flex;
+ gap: 12px;
+ align-items: center;
+ }
+ }
+
+ .docx-scrollbar {
+ flex: 1;
+ overflow: auto;
+ }
+
+ .docx-viewer {
+ width: 100%;
+ min-height: 500px;
+ }
+}
+
// 其他文件预览样式
.other-preview-container {
display: flex;
diff --git a/src/views/risk-assessment/index.vue b/src/views/risk-assessment/index.vue
index d457fc2..e4edabc 100644
--- a/src/views/risk-assessment/index.vue
+++ b/src/views/risk-assessment/index.vue
@@ -888,7 +888,7 @@ onUnmounted(() => {