|
|
|
@ -34,52 +34,45 @@ export default async function JournalDetail({
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<main className="w-[1200px] mx-auto flex flex-row justify-between pt-[145px]">
|
|
|
|
|
<main className="w-[1200px] mx-auto flex flex-row justify-between pt-[120px]">
|
|
|
|
|
<div className="w-[712px]">
|
|
|
|
|
{/* 封面 */}
|
|
|
|
|
<VolDetailCoverCard journalInfo={journalInfo} songList={songList} />
|
|
|
|
|
{/* 期刊号 & 标签 */}
|
|
|
|
|
<div className="flex flex-row items-center gap-[9px] mt-[30px]">
|
|
|
|
|
<div className="text-[rgba(0,0,0,0.7)] text-[14px] leading-[19.6px]">{`VOL.${journalInfo?.journalNo.toString().padStart(4, '0')}`}</div>
|
|
|
|
|
{journalInfo?.tags.length > 0 &&
|
|
|
|
|
journalInfo.tags.map((tag: string) => (
|
|
|
|
|
// <Link
|
|
|
|
|
// href={`/music/${tag}`}
|
|
|
|
|
// key={tag}
|
|
|
|
|
// className="block w-auto py-[3px] px-[10px] rounded-[15px] bg-[rgba(0,0,0,0.05)] text-[rgba(0,0,0,0.7)] text-[12px] leading-[12px]"
|
|
|
|
|
// >
|
|
|
|
|
// {tag}
|
|
|
|
|
// </Link>
|
|
|
|
|
<div className="flex justify-between items-center w-full mt-[30px]">
|
|
|
|
|
{/* 期刊号 & 标签 */}
|
|
|
|
|
<div className="flex flex-row items-center gap-[9px]">
|
|
|
|
|
<div className="text-[rgba(0,0,0,0.7)] text-14px leading-20px">{`VOL.${journalInfo?.journalNo.toString().padStart(4, '0')}`}</div>
|
|
|
|
|
{journalInfo?.tags.length > 0 &&
|
|
|
|
|
journalInfo.tags.map((tag: string) => (
|
|
|
|
|
<span
|
|
|
|
|
key={tag}
|
|
|
|
|
className="block w-fit py-[3px] px-[10px] rounded-[15px] bg-[rgba(0,0,0,0.05)] text-[rgba(0,0,0,0.7)] text-[12px] leading-[12px]"
|
|
|
|
|
>
|
|
|
|
|
{tag}
|
|
|
|
|
</span>
|
|
|
|
|
))}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span
|
|
|
|
|
key={tag}
|
|
|
|
|
className="block w-fit py-[3px] px-[10px] rounded-[15px] bg-[rgba(0,0,0,0.05)] text-[rgba(0,0,0,0.7)] text-[12px] leading-[12px]"
|
|
|
|
|
>
|
|
|
|
|
{tag}
|
|
|
|
|
</span>
|
|
|
|
|
))}
|
|
|
|
|
{/* 收藏期刊 */}
|
|
|
|
|
<CollectButton
|
|
|
|
|
showText
|
|
|
|
|
id={journalInfo.id}
|
|
|
|
|
active={journalInfo.haveCollect}
|
|
|
|
|
count={journalInfo.userCollectCount}
|
|
|
|
|
text="人收藏"
|
|
|
|
|
collectType="1"
|
|
|
|
|
iconPosition="right"
|
|
|
|
|
gap={9}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className="flex flex-row justify-between w-full h-auto">
|
|
|
|
|
{/* 标题 */}
|
|
|
|
|
<div className="w-full">
|
|
|
|
|
<div className="flex flex-row justify-between items-center w-full h-auto">
|
|
|
|
|
<div className="w-autp text-[24px] leading-[33.6px] my-[9px] text-base font-bold text-overflow">
|
|
|
|
|
{journalInfo.title}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/* 收藏期刊 */}
|
|
|
|
|
<CollectButton
|
|
|
|
|
showText
|
|
|
|
|
id={journalInfo.id}
|
|
|
|
|
active={journalInfo.haveCollect}
|
|
|
|
|
count={journalInfo.userCollectCount}
|
|
|
|
|
text="人收藏"
|
|
|
|
|
collectType="1"
|
|
|
|
|
iconPosition="right"
|
|
|
|
|
gap={9}
|
|
|
|
|
/>
|
|
|
|
|
<div className="w-autp text-[24px] leading-[33.6px] my-[9px] text-base font-bold text-overflow">
|
|
|
|
|
{journalInfo.title}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/* 作者 & 时间 */}
|
|
|
|
|
<div className="flex flex-row item-center text-[rgba(0,0,0,0.4)] text-[12px] leading-[16.8px] gap-[12px]">
|
|
|
|
|
<p>{journalInfo.editor}</p>
|
|
|
|
|