From 4789ddf364ac8fb950ea606cf816866846f065be Mon Sep 17 00:00:00 2001 From: mackt <1033530438@qq.com> Date: Mon, 15 Apr 2024 23:10:50 +0800 Subject: [PATCH] =?UTF-8?q?update(AudioCard):=201.=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=AD=8C=E8=AF=8D=E5=8A=9F=E8=83=BD;=202.=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BA=86=E4=B8=80=E4=BA=9Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 2 +- src/app/loading.tsx | 2 +- src/app/my/collect/page.tsx | 17 +++---- src/components/AudioPlayer/Lrc.tsx | 25 +++++++++++ src/components/AudioPlayer/PlayerBar.tsx | 8 ++-- src/components/AudioPlayer/PlayerCard.tsx | 49 ++++++++++++++++----- src/components/AudioPlayer/index.module.css | 36 +++++++++++++++ src/components/ButtonCollect.tsx | 4 +- src/components/Comment/Comment.tsx | 5 +-- src/components/Header/HeaderAvatar.tsx | 2 +- src/components/Header/index.tsx | 4 +- src/components/Song/SongCardList.tsx | 4 +- 12 files changed, 125 insertions(+), 33 deletions(-) create mode 100644 src/components/AudioPlayer/Lrc.tsx diff --git a/src/app/layout.tsx b/src/app/layout.tsx index ed647b5..c7c12a5 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac return (
-+ {item} +
+ ))} +{audioInfo?.title ?? ''}
{/* 歌手/专辑 */} @@ -68,13 +90,20 @@ export default function PlayerCard({ show, className }: Prop) {{`${audioInfo.artist}/${audioInfo.album}`}
)} {/* 歌词 */} -