diff --git a/src/components/common/UserInfoCard.vue b/src/components/common/UserInfoCard.vue index 094a4b8..eca770c 100644 --- a/src/components/common/UserInfoCard.vue +++ b/src/components/common/UserInfoCard.vue @@ -214,3 +214,6 @@ function viewAvatar() { + + + diff --git a/src/components/moment/MomentPanel.vue b/src/components/moment/MomentPanel.vue index 0c29e91..b3463ad 100644 --- a/src/components/moment/MomentPanel.vue +++ b/src/components/moment/MomentPanel.vue @@ -63,7 +63,7 @@
@@ -134,10 +134,21 @@
- - - {{ moment.likes.map(l => l.user?.name).filter(Boolean).join('、') }} - + +
+ + + +{{ moment.likes.length - 8 }} + +
@@ -148,12 +159,20 @@ :key="comment.id" class="flex items-start gap-2 p-2 bg-white/5 rounded-lg text-sm" > - {{ comment.user?.name }} - - 回复 {{ comment.reply_to_user.name }} - - : - {{ comment.content }} + +
+ {{ comment.user?.name }} + + 回复 {{ comment.reply_to_user.name }} + + : + {{ comment.content }} +