<!-- <template>
    <view class="page-content">
        <mx-nav-bar title="收藏夹"/>
        <mx-tabs-swiper :tabs="tabs" border>
            <template #试卷收藏>
                <paper-collection-list :subject-id="prevData.subjectId"/>
            </template>
            <template #试题收藏>
                <question-collection-list :subject-id="prevData.subjectId"/>
            </template>
        </mx-tabs-swiper>
    </view>
</template>

<script setup>
import PaperCollectionList from "@/pagesOther/pages/topic-center/topic-collection/components/paper-collection-list.vue";
import QuestionCollectionList from "@/pagesOther/pages/topic-center/topic-collection/components/question-collection-list.vue";
import {useTransfer} from "@/hooks/useTransfer";

const tabs = [{name: "试卷收藏"}, {name: "试题收藏"}]
const {prevData} = useTransfer()
</script>

<style scoped>

</style> -->
<template>
  <ie-page class="page-content" :fix-height="true">
    <ie-navbar title="收藏夹" />
    <view class="flex-1 min-h-1 relative">
      <view class="absolute inset-0">
        <question-collection-list :subject-id="prevData.subjectId" />
      </view>
    </view>
  </ie-page>
</template>
<script lang="ts" setup>
import QuestionCollectionList from "@/pagesOther/pages/topic-center/topic-collection/components/question-collection-list.vue";
import { useTransferPage } from '@/hooks/useTransferPage';
const { prevData } = useTransferPage();
</script>