mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-18 11:47:28 +08:00
feat: adjust player style
This commit is contained in:
@@ -87,3 +87,15 @@ body {
|
|||||||
display: none; /* Chrome Safari */
|
display: none; /* Chrome Safari */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 隐藏 Artplayer 顶部提示 */
|
||||||
|
.art-notice {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.art-poster {
|
||||||
|
background-size: contain !important; /* 使图片完整展示 */
|
||||||
|
background-position: center center !important; /* 居中显示 */
|
||||||
|
background-repeat: no-repeat !important; /* 防止重复 */
|
||||||
|
background-color: #000 !important; /* 其余区域填充为黑色 */
|
||||||
|
}
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ function PlayPageClient() {
|
|||||||
volume: 0.7,
|
volume: 0.7,
|
||||||
isLive: false,
|
isLive: false,
|
||||||
muted: false,
|
muted: false,
|
||||||
autoplay: true,
|
autoplay: false,
|
||||||
pip: false,
|
pip: false,
|
||||||
autoSize: false,
|
autoSize: false,
|
||||||
autoMini: false,
|
autoMini: false,
|
||||||
@@ -1342,7 +1342,7 @@ function PlayPageClient() {
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{/* 中央标题及集数信息 */}
|
{/* 中央标题及集数信息 */}
|
||||||
<div className='ml-10 sm:ml-0 text-center'>
|
<div className='ml-10 sm:ml-0 text-left sm:text-center'>
|
||||||
<div className='flex items-center justify-center gap-2 max-w-xs mx-auto'>
|
<div className='flex items-center justify-center gap-2 max-w-xs mx-auto'>
|
||||||
<span className='text-white font-semibold text-lg truncate'>
|
<span className='text-white font-semibold text-lg truncate'>
|
||||||
{videoTitle}
|
{videoTitle}
|
||||||
|
|||||||
Reference in New Issue
Block a user