-
+
{{ u.username }}
{{ u.introduction }}
@@ -48,7 +41,9 @@ const handleUserClick = (user) => {
.user-avatar {
width: 50px;
height: 50px;
+ border-radius: 50%;
flex-shrink: 0;
+ object-fit: cover;
}
.user-info {
display: flex;
diff --git a/frontend_nuxt/pages/index.vue b/frontend_nuxt/pages/index.vue
index c4565bff5..a6327dc61 100644
--- a/frontend_nuxt/pages/index.vue
+++ b/frontend_nuxt/pages/index.vue
@@ -85,15 +85,14 @@
-
+ :to="`/users/${member.id}`"
+ >
+
+
@@ -292,11 +291,7 @@ const {
description: p.content,
category: p.category,
tags: p.tags || [],
- members: (p.participants || []).map((m) => ({
- id: m.id,
- avatar: m.avatar,
- username: m.username,
- })),
+ members: (p.participants || []).map((m) => ({ id: m.id, avatar: m.avatar })),
comments: p.commentCount,
views: p.views,
rssExcluded: p.rssExcluded || false,
@@ -338,11 +333,7 @@ const fetchNextPage = async () => {
description: p.content,
category: p.category,
tags: p.tags || [],
- members: (p.participants || []).map((m) => ({
- id: m.id,
- avatar: m.avatar,
- username: m.username,
- })),
+ members: (p.participants || []).map((m) => ({ id: m.id, avatar: m.avatar })),
comments: p.commentCount,
views: p.views,
rssExcluded: p.rssExcluded || false,
@@ -392,6 +383,7 @@ watch([selectedCategory, selectedTags], ([newCategory, newTags]) => {
selectedCategoryGlobal.value = newCategory
selectedTagsGlobal.value = newTags
})
+