修改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

@@ -23,7 +23,7 @@
</el-descriptions-item>]
<div>
<el-descriptions-item label="事件简介">
<div v-html="tableData.summary"></div>
<div class='editor' v-html="tableData.summary"></div>
</el-descriptions-item>
</div>
</el-descriptions>
@@ -109,4 +109,26 @@ defineExpose({ open })
margin-left: 10px;
color: #0000EE;
}
.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>