fix rank title

This commit is contained in:
jxxghp
2023-06-30 09:25:03 +08:00
parent 8c5dfd1681
commit b654aaa9b1
2 changed files with 74 additions and 31 deletions

View File

@@ -29,11 +29,13 @@ const getChipColor = (type: string) => {
<VImg
aspect-ratio="3/2"
:src="props.media?.poster_path"
lazy-src="https://picsum.photos/seed/picsum/200/300"
class="h-full w-full object-cover"
:class="hover.isHovering ? 'on-hover' : ''"
cover
>
<template #placeholder>
<div class="relative animate-pulse bg-gray-300 w-full"><div class="w-full" style="padding-bottom: 150%;"></div></div>
</template>
<!-- 类型角标 -->
<VChip
variant="elevated"