From 255c3495b333b2700583c53becf67b56aa4e17f9 Mon Sep 17 00:00:00 2001 From: hajimi Date: Sun, 2 Aug 2026 01:50:48 +0800 Subject: [PATCH] feat: show all community tags --- uniapp/src/pages/community/community.vue | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/uniapp/src/pages/community/community.vue b/uniapp/src/pages/community/community.vue index 184381f..77ead12 100644 --- a/uniapp/src/pages/community/community.vue +++ b/uniapp/src/pages/community/community.vue @@ -31,16 +31,11 @@ - {{ tag.theme.icon }} {{ tag.name }} - - - 更多话题 - @@ -131,8 +126,8 @@ const TOPIC_THEMES = [ { icon: '🎮', color: '#596bff' } ] -const featuredTags = computed(() => { - return tagList.value.slice(0, 5).map((tag, index) => ({ +const displayTags = computed(() => { + return tagList.value.map((tag, index) => ({ ...tag, theme: TOPIC_THEMES[index % TOPIC_THEMES.length] })) @@ -557,10 +552,6 @@ onShow(() => { background: #f1f6ff; box-shadow: 0 5rpx 14rpx rgba(20, 104, 245, 0.1); } - - &--more { - color: #667085; - } } .community-list {