批注样式
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user