🐛 修复分享图渲染错误

*PostID:47046009
This commit is contained in:
BTMuli
2023-12-28 13:02:41 +08:00
parent 2be72692bb
commit 8b01c9aa7a

View File

@@ -141,14 +141,16 @@ function getVodTime(): string {
left: 0; left: 0;
display: flex; display: flex;
overflow: hidden; overflow: hidden;
width: 100%;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 10px; border-radius: 10px;
aspect-ratio: v-bind(vodAspectRatio); aspect-ratio: v-bind(vodAspectRatio);
} }
.tp-vod-cover :nth-child(1) { .tp-vod-cover :first-child {
max-width: 100%; width: 100%;
object-fit: cover;
} }
.tp-vod-cover :nth-child(2) { .tp-vod-cover :nth-child(2) {