add search pages

This commit is contained in:
jxxghp
2023-07-07 17:40:43 +08:00
parent e8372b8566
commit 9104a25652
8 changed files with 276 additions and 7 deletions
+21
View File
@@ -0,0 +1,21 @@
<script lang="ts" setup>
import { Context } from "@/api/types";
// 输入参数
const props = defineProps({
torrent: Object as PropType<Context>,
width: String,
height: String,
});
</script>
<template>
<VCard :width="props.width" :height="props.height">
<VCardItem>
<VCardTitle>{{ props.torrent?.torrent_info.title }}</VCardTitle>
</VCardItem>
<VCardText>
{{ props.torrent?.torrent_info.description }}
</VCardText>
</VCard>
</template>