|
|
|
@@ -6,12 +6,14 @@ |
|
|
|
:show-close="false" |
|
|
|
data-1664346848131 |
|
|
|
> |
|
|
|
<span class="close-icon" @click="detailDialog.isShow = false"> |
|
|
|
<span class="close-icon" @click="closeDetailDialog"> |
|
|
|
<img src="~@assets/image/myRelated/closeIcon.png" alt="close" /> |
|
|
|
</span> |
|
|
|
<div class="dialog-title">通知详情</div> |
|
|
|
<div class="detial-title">{{ detailDialog.row.title }}</div> |
|
|
|
<div class="detial-content" v-html="parseMarkdown(detailDialog.row.text)"></div> |
|
|
|
<div class="detial-content"> |
|
|
|
<div v-html="parseMarkdown(detailDialog.row.text)"></div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
</template> |
|
|
|
|
|
|
|
@@ -32,6 +34,10 @@ export default { |
|
|
|
this.detailDialog.isShow = true; |
|
|
|
this.detailDialog.row = row; |
|
|
|
}, |
|
|
|
closeDetailDialog(){ |
|
|
|
this.detailDialog.isShow = false; |
|
|
|
this.$emit('close') |
|
|
|
}, |
|
|
|
parseMarkdown(str) { |
|
|
|
return str ? parseMarkdown(str) : ""; |
|
|
|
}, |