diff --git a/src/components/cards/MediaCard.vue b/src/components/cards/MediaCard.vue index 5a0751f9..5ba106f5 100644 --- a/src/components/cards/MediaCard.vue +++ b/src/components/cards/MediaCard.vue @@ -360,14 +360,6 @@ onBeforeMount(() => { handleCheckExists() }) -// 订阅季表头 -const seasonsHeaders = [ - { title: '季', key: 'title', sortable: false }, - { title: '集数', key: 'episodes', sortable: false }, - { title: '评分', key: 'vote', sortable: false }, - { title: '状态', key: 'status', sortable: false }, -] - // 计算图片地址 const getImgUrl: Ref = computed(() => { if (imageLoadError.value) @@ -379,6 +371,13 @@ const getImgUrl: Ref = computed(() => { return url }) + +// 拼装季图片地址 +function getSeasonPoster(posterPath: string) { + if (!posterPath) + return '' + return `https://image.tmdb.org/t/p/w500${posterPath}` +}