修改editor样式

This commit is contained in:
GGJ
2024-10-12 11:23:52 +08:00
parent de872782d3
commit 7062305c01
6 changed files with 80 additions and 11 deletions

View File

@@ -20,7 +20,7 @@
<PopupEdit ref="popupEditRef" @onSubmit="tableStore.index()" />
<!-- 简介详情 -->
<el-dialog v-model="dialogVisible" title="事件简介" width="60%">
<div v-html="summary"></div>
<div class="editor" v-html="summary"></div>
</el-dialog>
<!-- 抽屉 -->
<drawer ref="drawerRef" />
@@ -222,4 +222,27 @@ const downloadTheReport = () => {
})
}
</script>
<style lang="scss"></style>
<style lang="scss">
.editor {
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
border: 1px solid black;
padding: 8px;
text-align: center;
}
th {
background-color: #f2f2f2;
font-weight: bold;
}
td {
background-color: #ffffff;
}
}
</style>