mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 10:00:08 +08:00
26 lines
501 B
Vue
26 lines
501 B
Vue
<script setup lang="ts">
|
|
import TorrentCardListView from '@/views/discover/TorrentCardListView.vue'
|
|
|
|
// 路由参数
|
|
const route = useRoute()
|
|
|
|
// 查询TMDBID或标题
|
|
const keyword = route.query?.keyword?.toString() ?? ''
|
|
|
|
// 查询类型
|
|
const type = route.query?.type?.toString() ?? ''
|
|
|
|
// 搜索字段
|
|
const area = route.query?.area?.toString() ?? ''
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<TorrentCardListView
|
|
:keyword="keyword"
|
|
:type="type"
|
|
:area="area"
|
|
/>
|
|
</div>
|
|
</template>
|