mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
@@ -81,12 +81,17 @@
|
|||||||
width: 800px;
|
width: 800px;
|
||||||
height: 450px;
|
height: 450px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
border: 1px solid var(--common-shadow-2);
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.mys-post-vod-cover) {
|
:deep(.mys-post-vod-cover) {
|
||||||
width: 800px;
|
max-width: 800px;
|
||||||
height: 450px;
|
max-height: 450px;
|
||||||
border-radius: 10px;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.mys-post-vod-icon) {
|
:deep(.mys-post-vod-icon) {
|
||||||
@@ -104,7 +109,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
padding: 5px;
|
padding: 0 5px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
|||||||
@@ -65,12 +65,8 @@ function getVodTime(duration: number): string {
|
|||||||
if (hours > 0) {
|
if (hours > 0) {
|
||||||
result += `${hours.toString().padStart(2, "0")}:`;
|
result += `${hours.toString().padStart(2, "0")}:`;
|
||||||
}
|
}
|
||||||
if (minutes > 0) {
|
result += `${minutes.toString().padStart(2, "0")}:`;
|
||||||
result += `${minutes.toString().padStart(2, "0")}:`;
|
result += `${seconds.toString().padStart(2, "0")}`;
|
||||||
}
|
|
||||||
if (seconds > 0) {
|
|
||||||
result += `${seconds.toString().padStart(2, "0")}`;
|
|
||||||
}
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user