添加图片预览功能

This commit is contained in:
2020-07-19 20:13:07 +08:00
parent befa2e1679
commit 4030b22f41
7 changed files with 31 additions and 5 deletions

View File

@ -19,7 +19,7 @@
#articelToc.articelToc(v-if="articels.post_toc_show")
.articelTitle 目录
.articelTocList(v-html="articels.post_toc")
.articelContent(v-html='articels.post_content')
.articelContent(v-html='articels.post_content', v-viewer)
.tools
.reward(@click="reward") 打赏
.comment(id="comment")
@ -31,7 +31,7 @@
.comment-area
.comment-author {{ item.comment_author }}
span(class="comment-status", v-if="item.comment_approved === '0'")   此内容正在审核中...
.comment-content(v-html="item.comment_content_html")
.comment-content(v-html="item.comment_content_html", v-viewer)
.comment-info {{ item.comment_date }}
span.reply(@click="reply(item.comment_ID, null, true)" v-if="replyLastID === null && item.comment_ID === replyID") 取消回复
span.reply(@click="reply(item.comment_ID, null)" v-else) 回复