This commit is contained in:
2025-01-17 19:29:43 +08:00
parent ea5e5d2fc4
commit be0805c45a
9 changed files with 1720 additions and 389 deletions

View File

@@ -1,10 +1,10 @@
<template>
<div style="height: 98%">
<div class="crumbs">
<!-- <div class="crumbs">
<el-breadcrumb separator="/">
<el-breadcrumb-item> <i class="el-icon-document-copy"></i> HTML Proofread </el-breadcrumb-item>
</el-breadcrumb>
</div>
</div> -->
<div
class="container"
@@ -99,6 +99,7 @@
v-if="htmlContent"
ref="commonWord"
:value="htmlContent"
:contentList="Main_List"
:wordStyle="wordStyle"
@onDrop="onDrop"
@loaded="loadedWord"
@@ -281,6 +282,7 @@
</template>
<script>
import bus from '@/components/common/bus';
import { del, isShallow } from 'vue';
import Tiff from 'tiff.js';
import { mediaUrl } from '@/common/js/commonJS.js'; // 引入通用逻辑
@@ -314,18 +316,18 @@ export default {
editTable: 'api/Preaccept/editMainTable'
},
wordStyle: `
p {
position: relative;
padding: 8px 15px;
min-height: 22px;
border: 2px dashed #fff;
border-radius: 5px;
color: #606266;
}
p {
font-size: 14px;
line-height: 22px;
}
// p {
// position: relative;
// padding: 8px 15px;
// min-height: 22px;
// border: 2px dashed #fff;
// border-radius: 5px;
// color: #606266;
// }
// p {
// font-size: 14px;
// line-height: 22px;
// }
.imgBox .chNumer {
position: absolute;
@@ -420,6 +422,11 @@ export default {
}
},
created() {
bus.$on('collapse', (msg) => {
this.collapse = msg;
localStorage.setItem('collapse', this.collapse);
bus.$emit('collapse-content', msg);
});
this.getDate();
// this.loadDictionary().catch(console.error);
},
@@ -1421,7 +1428,7 @@ export default {
position: relative;
padding: 8px 15px;
min-height: 22px;
border: 2px dashed #fff;
border: 2px dashed red;
border-radius: 5px;
color: #606266;
}