update
This commit is contained in:
@ -19,7 +19,7 @@ const BranchLifeSketch = async () => {
|
||||
return (
|
||||
<>
|
||||
<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]"}>分院生活剪影</span>
|
||||
@ -51,28 +51,28 @@ const BranchLifeSketch = async () => {
|
||||
return (
|
||||
// @ts-ignore
|
||||
<swiper-slide key={article.id}>
|
||||
<div className={"w-full h-[108px] px-2 py-4 flex"}>
|
||||
<div className={"flex h-[108px] w-full px-2 py-4"}>
|
||||
<Link
|
||||
className={"aspect-square"}
|
||||
href={`/branch-life-sketch/${article.id}`}
|
||||
>
|
||||
<img
|
||||
alt={article.title}
|
||||
className={"w-full h-full"}
|
||||
className={"h-full w-full"}
|
||||
src={article.image.replace(
|
||||
"http://101.34.131.16:8084/api/uploads/",
|
||||
"",
|
||||
)}
|
||||
/>
|
||||
</Link>
|
||||
<div className={"flex-1 w-0 ml-1"}>
|
||||
<div className={"ml-1 w-0 flex-1"}>
|
||||
<Link
|
||||
href={`/branch-life-sketch/${article.id}`}
|
||||
className={"text-xs truncate text-[#144673]"}
|
||||
className={"truncate text-xs text-[#144673]"}
|
||||
>
|
||||
{article.title}
|
||||
</Link>
|
||||
<div className={"text-xs text-[#797979] line-clamp-4 mt-3"}>
|
||||
<div className={"mt-3 line-clamp-4 text-xs text-[#797979]"}>
|
||||
{articleText}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user