From 489e141f47d43a7e651fc4a3b0663416e21e9851 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Thu, 11 Dec 2025 10:30:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E9=9F=B3=E4=B9=90?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=99=A8=E5=BD=95=E5=88=B6=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=B9=B6=E6=B7=BB=E5=8A=A0=E5=94=B1=E7=89=87=E5=92=8C=E5=94=B1?= =?UTF-8?q?=E9=92=88=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加静态图片资源 disc.png 和 needle.png - 优化录制功能,修复暂停时音频延迟问题 - 使用图片替代手动绘制的唱片和唱针 - 改进歌词和标题的绘制逻辑 - 移除调试用的 vconsole --- player.html | 590 +++++++++++++++++++++++++----------------- static/img/disc.png | Bin 0 -> 109998 bytes static/img/needle.png | Bin 0 -> 3941 bytes 3 files changed, 351 insertions(+), 239 deletions(-) create mode 100644 static/img/disc.png create mode 100644 static/img/needle.png diff --git a/player.html b/player.html index 86f6725..7784b40 100644 --- a/player.html +++ b/player.html @@ -254,10 +254,10 @@ /* 唱片本体容器 */ .disc-container { - width: 55vw; - height: 55vw; - max-width: 300px; - max-height: 300px; + width: 300px; + height: 300px; + /* max-width: 300px; + max-height: 300px; */ margin-top: 35px; position: relative; display: flex; @@ -748,10 +748,10 @@ - + @@ -874,7 +874,8 @@ @@ -888,8 +889,10 @@ -