1234567891011121314151617181920212223242526 |
- <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 "@/pages/topic-center/topic-collection/components/paper-collection-list.vue";
- import QuestionCollectionList from "@/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>
|