From 8b01c9aa7ad5739a0eb8856ab0aa97a32fc05dfa Mon Sep 17 00:00:00 2001 From: BTMuli Date: Thu, 28 Dec 2023 13:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=88=86?= =?UTF-8?q?=E4=BA=AB=E5=9B=BE=E6=B8=B2=E6=9F=93=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit *PostID:47046009 --- src/components/post/tp-vod.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/post/tp-vod.vue b/src/components/post/tp-vod.vue index 1c625105..0ff9c09c 100644 --- a/src/components/post/tp-vod.vue +++ b/src/components/post/tp-vod.vue @@ -141,14 +141,16 @@ function getVodTime(): string { left: 0; display: flex; overflow: hidden; + width: 100%; align-items: center; justify-content: center; border-radius: 10px; aspect-ratio: v-bind(vodAspectRatio); } -.tp-vod-cover :nth-child(1) { - max-width: 100%; +.tp-vod-cover :first-child { + width: 100%; + object-fit: cover; } .tp-vod-cover :nth-child(2) {