From ef13661b952ee607f173d98d1342a2dab42630f0 Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Mon, 29 Apr 2024 21:51:47 +0800 Subject: [PATCH] update(Player): styles --- src/components/AudioPlayer/Player.tsx | 4 ++-- src/components/AudioPlayer/widget/VolumeBar.tsx | 4 +++- .../AudioPlayer/widget/index.module.css | 15 +++++++++++++-- src/components/Header/index.module.css | 2 +- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/components/AudioPlayer/Player.tsx b/src/components/AudioPlayer/Player.tsx index 7a7dac5..433f81b 100644 --- a/src/components/AudioPlayer/Player.tsx +++ b/src/components/AudioPlayer/Player.tsx @@ -214,7 +214,7 @@ export default function AudioPlayer({ {/* 播放进度 */}
{/* 播放时长 */} - + {secondToDate(trackProgress)} @@ -226,7 +226,7 @@ export default function AudioPlayer({ /> {/* 总时长 */} - + {secondToDate(duration || 0)}
diff --git a/src/components/AudioPlayer/widget/VolumeBar.tsx b/src/components/AudioPlayer/widget/VolumeBar.tsx index a4c4772..f05cf4d 100644 --- a/src/components/AudioPlayer/widget/VolumeBar.tsx +++ b/src/components/AudioPlayer/widget/VolumeBar.tsx @@ -16,7 +16,9 @@ export default function Volumne({ }; return ( -
+