|
|
|
@ -68,7 +68,7 @@ export default function SongCardList({ height, listInfo, songList, className, co
|
|
|
|
|
function Item({ index, style }: { index: number; style: React.CSSProperties }) {
|
|
|
|
|
const item = songList[index];
|
|
|
|
|
return (
|
|
|
|
|
<div key={item?.id} style={style}>
|
|
|
|
|
<div key={item?.id} style={style} className="pr-14px">
|
|
|
|
|
<SongCard
|
|
|
|
|
{...item}
|
|
|
|
|
playState={playState}
|
|
|
|
@ -86,7 +86,7 @@ export default function SongCardList({ height, listInfo, songList, className, co
|
|
|
|
|
height={height}
|
|
|
|
|
itemSize={() => 72}
|
|
|
|
|
width={712}
|
|
|
|
|
className={`pr-14px ${styles.SongList} ${className}`}
|
|
|
|
|
className={`${styles.SongList} ${className}`}
|
|
|
|
|
style={style}
|
|
|
|
|
>
|
|
|
|
|
{Item}
|
|
|
|
|