diff --git a/uniapp/src/pages/collection/collection.vue b/uniapp/src/pages/collection/collection.vue index 772f20d6..0c34fa0f 100644 --- a/uniapp/src/pages/collection/collection.vue +++ b/uniapp/src/pages/collection/collection.vue @@ -9,6 +9,20 @@ + + + PERSONAL ARCHIVE + 把喜欢的内容收好 + 资讯、帖子、比赛与行情,随时回看 + + + {{ collectionCount }} + 已收藏 + + + + + + + 资讯文章 + 已收藏 + {{ item.title || '未命名文章' }} {{ item.desc }} @@ -122,6 +140,7 @@ const refreshing = ref(false) const articleCount = computed(() => articles.value.length) const cryptoCount = computed(() => coins.value.length) +const collectionCount = computed(() => articleCount.value + cryptoCount.value) const activeTabLabel = computed(() => collectionTabs.find((tab) => tab.key === activeType.value)?.label || '') const loadArticles = async () => { @@ -211,46 +230,142 @@ onShow(() => {