fix: 期刊页面样式调整

main
fadeaway 8 months ago
parent d94c94ef80
commit 0af3244cf4

@ -56,7 +56,9 @@ export default function JournalContent() {
return ( return (
<> <>
{loading && ( {loading && (
<div className="w-full relative flex-1 text-[#ffffff66] flex items-center justify-center"> ...</div> <div className="w-full relative flex-1 text-[#ffffff66] text-[16px] flex items-center justify-center">
...
</div>
)} )}
<div className={`w-full flex-1 flex-col ${loading ? 'hidden' : 'flex'}`}> <div className={`w-full flex-1 flex-col ${loading ? 'hidden' : 'flex'}`}>
{/* 期刊封面图 */} {/* 期刊封面图 */}
@ -67,10 +69,10 @@ export default function JournalContent() {
<section className="relative w-full flex-1 bg-white mt-[-10px] rounded-tl-[12px] rounded-tr-[12px] z-1 py-[17px] px-[18px] pb-[79px]"> <section className="relative w-full flex-1 bg-white mt-[-10px] rounded-tl-[12px] rounded-tr-[12px] z-1 py-[17px] px-[18px] pb-[79px]">
<div className="flex items-center flex-wrap text-[#000000b2] mb-[5px]"> <div className="flex items-center flex-wrap text-[#000000b2] mb-[5px]">
<div className="text-[14px] font-medium leading-[19.6px]">VOL.{journalInfo?.journalNo}</div> <div className="text-[14px] font-medium leading-[19.6px]">VOL.{journalInfo?.journalNo}</div>
<div className="ml-[11px] flex items-center flex-wrap text-[12px] leading-[12px]"> <div className="ml-[11px] flex items-center flex-wrap text-[12px]">
{journalInfo?.tags?.map((tag: string, index: number) => ( {journalInfo?.tags?.map((tag: string, index: number) => (
<div <div
className={`h-[18px] py-[3px] px-[10px] rounded-[15px] bg-[#0000000c] flex items-center ${index !== 0 && 'ml-[6px]'}`} className={`h-[20px] py-[3px] px-[10px] rounded-full bg-[#0000000c] flex items-center justify-center ${index !== 0 && 'ml-[6px]'}`}
key={tag} key={tag}
> >
{tag} {tag}

@ -63,7 +63,7 @@ export default function SongItem(props: { data: ISong }) {
</div> </div>
)} )}
<ImageWithBasePath <ImageWithBasePath
className="w-[24px] h-[24px]" className="w-[24px] h-[24px] ml-[6px]"
width={24} width={24}
height={24} height={24}
unoptimized unoptimized

Loading…
Cancel
Save