feat(square): wire StarGalaxy component into 星河 tab
This commit is contained in:
parent
4ad16dd91f
commit
ef82d7a57d
@ -38,6 +38,14 @@
|
|||||||
<ContentTabs ref="contentTabsRef" class="tabs" :modelValue="activeContentTab"
|
<ContentTabs ref="contentTabsRef" class="tabs" :modelValue="activeContentTab"
|
||||||
@update:modelValue="activeContentTab = $event" />
|
@update:modelValue="activeContentTab = $event" />
|
||||||
|
|
||||||
|
<!-- 星河区块 - 仅在 星河 时显示 -->
|
||||||
|
<view
|
||||||
|
v-if="activeContentTab === 'xinghe'"
|
||||||
|
class="star-galaxy-wrapper"
|
||||||
|
>
|
||||||
|
<StarGalaxy @cardClick="handleCardClick" />
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 在线榜单区块 - 仅在 星榜 时显示 -->
|
<!-- 在线榜单区块 - 仅在 星榜 时显示 -->
|
||||||
<view
|
<view
|
||||||
v-if="activeContentTab === 'xingbang'"
|
v-if="activeContentTab === 'xingbang'"
|
||||||
@ -70,6 +78,7 @@ import BannerCarousel from "./components/BannerCarousel.vue";
|
|||||||
import ContentTabs from "./components/ContentTabs.vue";
|
import ContentTabs from "./components/ContentTabs.vue";
|
||||||
import HotCategoryBlock from "./components/HotCategoryBlock.vue";
|
import HotCategoryBlock from "./components/HotCategoryBlock.vue";
|
||||||
import CreationGrid from "./components/CreationGrid.vue";
|
import CreationGrid from "./components/CreationGrid.vue";
|
||||||
|
import StarGalaxy from "./components/StarGalaxy/index.vue";
|
||||||
// import { clearSubStepProgress, shouldShowGuideStartModal } from '@/utils/guideConfig.js'
|
// import { clearSubStepProgress, shouldShowGuideStartModal } from '@/utils/guideConfig.js'
|
||||||
import { useBanner } from "./composables/useBanner.js";
|
import { useBanner } from "./composables/useBanner.js";
|
||||||
import { useSpotlight } from "./composables/useSpotlight.js";
|
import { useSpotlight } from "./composables/useSpotlight.js";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user