Compare commits

...

2 Commits

Author SHA1 Message Date
3121a2bdb5 添加评论功能 2020-07-17 10:56:02 +08:00
ac0bc41842 添加评论功能 2020-07-17 10:41:02 +08:00

View File

@ -53,7 +53,7 @@
.comment-userinfo(v-else)
.comment-avatar
img(:src="visitorInfo.avatarURL")
.comment-nickname {{ visitorInfo.nickname }}
.comment-nickname {{ visitorInfo.nickname ? visitorInfo.nickname : (visitorInfo.username || '匿名') }}
.comment-logout(@click="commentLogout") 退出
.comment-btn(@click="commentCommit('editor')") 发布
.comment-reply-commit(id="comment-reply-commit", v-show="replyID")
@ -65,7 +65,7 @@
.comment-userinfo(v-else)
.comment-avatar
img(:src="visitorInfo.avatarURL")
.comment-nickname {{ visitorInfo.nickname }}
.comment-nickname {{ visitorInfo.nickname ? visitorInfo.nickname : (visitorInfo.username || '匿名') }}
.comment-logout(@click="commentLogout") 退出
.comment-btn(@click="commentCommit('editor-reply')") 发布
ins.adsbygoogle(style="display:block; text-align:center; margin-top:20px;", data-ad-layout="in-article", data-ad-format="fluid", data-ad-client="ca-pub-2143583075951360", data-ad-slot="4741804954")
@ -683,6 +683,12 @@ export default {
text-overflow ellipsis
white-space nowrap
.comment-content
width 100%
img
max-width 100%
.comment-logout
width 51px
height 100%