|
|
@ -112,7 +112,7 @@ export default function AudioPlayer({
|
|
|
|
{showOrder &&
|
|
|
|
{showOrder &&
|
|
|
|
orderList.map((item) => (
|
|
|
|
orderList.map((item) => (
|
|
|
|
<PlayerButton
|
|
|
|
<PlayerButton
|
|
|
|
className={`${item.value === order ? 'block' : 'hidden'} mx-24px`}
|
|
|
|
className={`${item.value === order ? 'block' : 'hidden'} ml-24px`}
|
|
|
|
key={item.value}
|
|
|
|
key={item.value}
|
|
|
|
size={24}
|
|
|
|
size={24}
|
|
|
|
img={item.icon}
|
|
|
|
img={item.icon}
|
|
|
@ -120,7 +120,7 @@ export default function AudioPlayer({
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|
{/* 上一首 */}
|
|
|
|
{/* 上一首 */}
|
|
|
|
<PlayerButton size={24} img={'/img/audio-player/next.svg'} onClick={onPrev} className="rotate-180" />
|
|
|
|
<PlayerButton size={24} img={'/img/audio-player/next.svg'} onClick={onPrev} className="rotate-180 ml-24px" />
|
|
|
|
{/* 播放/暂停 */}
|
|
|
|
{/* 播放/暂停 */}
|
|
|
|
<div className="mx-24px">
|
|
|
|
<div className="mx-24px">
|
|
|
|
<PlayerButton
|
|
|
|
<PlayerButton
|
|
|
|