添加评论展示功能
This commit is contained in:
parent
af2b675052
commit
ada4718146
@ -49,7 +49,7 @@
|
|||||||
li(v-for='(newComment, index) in $store.state.newComments', :key='index')
|
li(v-for='(newComment, index) in $store.state.newComments', :key='index')
|
||||||
strong {{ newComment.comment_author }}:
|
strong {{ newComment.comment_author }}:
|
||||||
span
|
span
|
||||||
nuxt-link(:to="'/post/' + newComment.post.ID + '#comments'") {{ newComment.comment_content }}
|
nuxt-link(:to="'/post/' + newComment.post.ID + '#comments'" v-html="newComment.comment_content_html")
|
||||||
.meta
|
.meta
|
||||||
span
|
span
|
||||||
Icon(:icon="['far', 'clock']")
|
Icon(:icon="['far', 'clock']")
|
||||||
|
@ -358,6 +358,9 @@ input:-moz-placeholder
|
|||||||
white-space nowrap
|
white-space nowrap
|
||||||
text-overflow ellipsis
|
text-overflow ellipsis
|
||||||
|
|
||||||
|
img
|
||||||
|
width 100%
|
||||||
|
|
||||||
.posts
|
.posts
|
||||||
margin-bottom 40px
|
margin-bottom 40px
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user