mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-07-06 23:11:43 +08:00
fix img loading
This commit is contained in:
@@ -49,7 +49,7 @@ async function getSubscribes() {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
title: subscribe.name,
|
title: subscribe.name,
|
||||||
subtitle: "",
|
subtitle: '',
|
||||||
start: parseDate(movie.release_date || ''),
|
start: parseDate(movie.release_date || ''),
|
||||||
allDay: false,
|
allDay: false,
|
||||||
posterPath: subscribe.poster,
|
posterPath: subscribe.poster,
|
||||||
@@ -103,7 +103,13 @@ onMounted(() => {
|
|||||||
aspect-ratio="2/3"
|
aspect-ratio="2/3"
|
||||||
class="object-cover rounded shadow ring-gray-500"
|
class="object-cover rounded shadow ring-gray-500"
|
||||||
cover
|
cover
|
||||||
/>
|
>
|
||||||
|
<template #placeholder>
|
||||||
|
<div class="w-full h-full">
|
||||||
|
<VSkeletonLoader class="object-cover aspect-w-2 aspect-h-3" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</VImg>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<VCardSubtitle class="pa-2 font-bold break-words whitespace-break-spaces">
|
<VCardSubtitle class="pa-2 font-bold break-words whitespace-break-spaces">
|
||||||
@@ -127,7 +133,13 @@ onMounted(() => {
|
|||||||
aspect-ratio="2/3"
|
aspect-ratio="2/3"
|
||||||
class="object-cover rounded shadow ring-gray-500"
|
class="object-cover rounded shadow ring-gray-500"
|
||||||
cover
|
cover
|
||||||
/>
|
>
|
||||||
|
<template #placeholder>
|
||||||
|
<div class="w-full h-full">
|
||||||
|
<VSkeletonLoader class="object-cover aspect-w-2 aspect-h-3" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</VImg>
|
||||||
</template>
|
</template>
|
||||||
</VTooltip>
|
</VTooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user