mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-27 08:04:22 +00:00
feat: night mode
This commit is contained in:
@@ -46,7 +46,10 @@
|
||||
class="reply-toggle"
|
||||
@click="toggleReplies"
|
||||
>
|
||||
{{ showReplies ? '收起' : '展开' }}{{ comment.reply.length }}条回复
|
||||
<i v-if="showReplies" class="fas fa-chevron-up reply-toggle-icon"></i>
|
||||
<i v-else class="fas fa-chevron-down reply-toggle-icon"></i>
|
||||
|
||||
{{ comment.reply.length }}条回复
|
||||
</div>
|
||||
<div v-if="showReplies" class="reply-list">
|
||||
<BaseTimeline :items="comment.reply" >
|
||||
@@ -191,6 +194,10 @@ export default CommentItem
|
||||
animation: highlight 2s;
|
||||
}
|
||||
|
||||
.reply-toggle-icon {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
@keyframes highlight {
|
||||
from { background-color: yellow; }
|
||||
to { background-color: transparent; }
|
||||
|
||||
Reference in New Issue
Block a user