feat(square): wire StarGalaxy component into 星河 tab

This commit is contained in:
zheng020 2026-06-10 15:38:16 +08:00
parent 4ad16dd91f
commit ef82d7a57d

View File

@ -38,6 +38,14 @@
<ContentTabs ref="contentTabsRef" class="tabs" :modelValue="activeContentTab"
@update:modelValue="activeContentTab = $event" />
<!-- 星河区块 - 仅在 星河 时显示 -->
<view
v-if="activeContentTab === 'xinghe'"
class="star-galaxy-wrapper"
>
<StarGalaxy @cardClick="handleCardClick" />
</view>
<!-- 在线榜单区块 - 仅在 星榜 时显示 -->
<view
v-if="activeContentTab === 'xingbang'"
@ -70,6 +78,7 @@ import BannerCarousel from "./components/BannerCarousel.vue";
import ContentTabs from "./components/ContentTabs.vue";
import HotCategoryBlock from "./components/HotCategoryBlock.vue";
import CreationGrid from "./components/CreationGrid.vue";
import StarGalaxy from "./components/StarGalaxy/index.vue";
// import { clearSubStepProgress, shouldShowGuideStartModal } from '@/utils/guideConfig.js'
import { useBanner } from "./composables/useBanner.js";
import { useSpotlight } from "./composables/useSpotlight.js";