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 {