mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 03:27:32 +08:00
feat(ui): toggle replies text
This commit is contained in:
@@ -41,8 +41,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<CommentEditor v-if="showEditor" @submit="submitReply" :loading="isWaitingForReply" />
|
<CommentEditor v-if="showEditor" @submit="submitReply" :loading="isWaitingForReply" />
|
||||||
<div v-if="comment.reply && comment.reply.length" class="reply-toggle" @click="toggleReplies">
|
<div
|
||||||
{{ comment.reply.length }}条回复
|
v-if="comment.reply && comment.reply.length"
|
||||||
|
class="reply-toggle"
|
||||||
|
@click="toggleReplies"
|
||||||
|
>
|
||||||
|
{{ showReplies ? '收起' : '展开' }}{{ comment.reply.length }}条回复
|
||||||
</div>
|
</div>
|
||||||
<div v-if="showReplies" class="reply-list">
|
<div v-if="showReplies" class="reply-list">
|
||||||
<BaseTimeline :items="comment.reply" >
|
<BaseTimeline :items="comment.reply" >
|
||||||
|
|||||||
Reference in New Issue
Block a user