From a1e97276ec37398007ebe3da6665afe84b0b6d7c Mon Sep 17 00:00:00 2001 From: birdstudy-nj Date: Wed, 15 Apr 2026 17:44:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E9=80=82=E9=85=8D?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E8=87=AA=E5=8A=A8=E8=AF=86=E5=88=ABMusicFree?= =?UTF-8?q?=E4=B8=8ELX=20Server=E3=80=82=20(#832)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaomusic/static/iwebplayer/iwebplayer.html | 595 +++++++++++++------- 1 file changed, 395 insertions(+), 200 deletions(-) diff --git a/xiaomusic/static/iwebplayer/iwebplayer.html b/xiaomusic/static/iwebplayer/iwebplayer.html index b6a372d..1bc0250 100644 --- a/xiaomusic/static/iwebplayer/iwebplayer.html +++ b/xiaomusic/static/iwebplayer/iwebplayer.html @@ -625,14 +625,30 @@ justify-content: center; overflow: hidden; } + + @keyframes marquee-loop { + 0% { transform: translateX(0); opacity: 0; } + 5%, 15% { transform: translateX(0); opacity: 1; } + 80%, 90% { transform: translateX(var(--scroll-dist)); opacity: 1; } + 95%, 100% { transform: translateX(var(--scroll-dist)); opacity: 0; } + } + .marquee-scroll { + animation: marquee-loop 6s linear infinite; + } + .now-playing-title { font-size: 19px; font-weight: bold; white-space: nowrap; - text-overflow: ellipsis; overflow: hidden; width: 100%; - text-align: center; + position: relative; + display: flex; + justify-content: center; + } + .np-title-text { + display: inline-block; + white-space: nowrap; } .controls { display: flex; @@ -1289,6 +1305,7 @@ @@ -1394,6 +1411,9 @@ @@ -1434,11 +1454,17 @@
-