批注样式

This commit is contained in:
2025-01-02 16:37:12 +08:00
parent 349e5ea72a
commit b610cf2d46
3 changed files with 4 additions and 4 deletions

View File

@@ -700,7 +700,7 @@ export default {
var data = this.Main_List.find((item) => item.am_id == dataId);
if (data && data.remark) {
this.$alert(
`<p style="display:flex;"><img src="${this.remarkImageUrl}" alt="" style="width:20px;height:20px;margin-right:10px;"/>${data.remark}</p>`,
`<p style="display:flex;"><img src="${this.remarkImageUrl}" alt="" style="width:20px;height:20px;margin-right:10px;"/><span style=" overflow-wrap: break-word;width:calc(100% - 50px)"> ${data.remark}</span></p>`,
'Annotations',
{
confirmButtonText: 'OK',

View File

@@ -365,10 +365,10 @@ export default {
}
.isRemark .Resolved{
background-color: #67c23a;
background-color: #f0f9eb;
margin-left:10px;
border-color: #67c23a;
color:#fff;
color:#67c23a;
font-weight:bold;
border-radius:2px;

View File

@@ -86,7 +86,7 @@
<!-- isEditing false 显示评论文本 -->
<div style="display: flex; align-items: center; justify-content: space-between">
<p :style="isEditComment?'width: calc(100% - 40px)':'width: calc(100%)'" style="min-height: 20px; width: calc(100%);white-space: normal;" v-html="comment.remark">
<p :style="isEditComment?'width: calc(100% - 40px)':'width: calc(100%)'" style="line-height:18px;min-height: 20px; width: calc(100%);white-space: normal;" v-html="comment.remark">
<span @click="editComment(index)" style="cursor: pointer; color: #007bff; margin-left: 10px;">Edit</span>
</p>