mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-07 16:49:52 +08:00
新增订阅分享页面及相关搜索功能
This commit is contained in:
16
src/pages/subscribe-share.vue
Normal file
16
src/pages/subscribe-share.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import SubscribeShareView from '@/views/subscribe/SubscribeShareView.vue'
|
||||
// 从路由参数中获取搜索关键字
|
||||
const route = useRoute()
|
||||
const keyword = route.query.keyword as string
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<SubscribeShareView :keyword="keyword" />
|
||||
<!-- 滚动到顶部按钮 -->
|
||||
<Teleport to="body" v-if="route.path === '/subscribe-share'">
|
||||
<VScrollToTopBtn />
|
||||
</Teleport>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user