update
This commit is contained in:
@ -37,24 +37,24 @@ const ArticleBlock = async ({
|
||||
className={"flex flex-col overflow-hidden"}
|
||||
>
|
||||
<div
|
||||
className={`title-bar text-white flex items-center px-2 font-bold ${styles.articleBlockTitleBar} relative`}
|
||||
className={`title-bar flex items-center px-2 font-bold text-white ${styles.articleBlockTitleBar} relative`}
|
||||
>
|
||||
<Image width={30} height={30} src={trumpetIcon} alt={"trumpet icon"} />
|
||||
<span className={"ml-2 text-[14px]"}>{title}</span>
|
||||
<Link
|
||||
className={"absolute right-3 text-white text-xs"}
|
||||
className={"absolute right-3 text-xs text-white"}
|
||||
href={`${linkPrefix}/pages/1`}
|
||||
>
|
||||
更多+
|
||||
</Link>
|
||||
</div>
|
||||
<div className={`${styles.articlesList} bg-[#e1f1fd] flex-1`}>
|
||||
<div className={`${styles.articlesList} flex-1 bg-[#e1f1fd]`}>
|
||||
<ul>
|
||||
{data.lists?.map((article) => (
|
||||
<li className={"h-8"} key={article.id}>
|
||||
<Link
|
||||
className={
|
||||
"w-full px-1 h-full flex items-center text-xs justify-between"
|
||||
"flex h-full w-full items-center justify-between px-1 text-xs"
|
||||
}
|
||||
href={`${linkPrefix}/${article.id}`}
|
||||
>
|
||||
|
Reference in New Issue
Block a user