news/app/components/news/body/FireNews/fhws.tsx

40 lines
1.1 KiB
TypeScript

import { CarouselDemo } from "@/components/Carousel";
import {FireNewsList} from "./FireNewsList";
export function FhwsPage() {
return(
<div className=" w-full overflow-hidden flex justify-center h-200 mb-10">
<div className="w-100 h-full bg-white relative" >
{/* 标题部分 */}
<div className="relative pt-6 pl-8">
<h2 className=" text-4xl font-bold text-[#005d93] mb-2"></h2>
{/* 蓝色装饰线 */}
<div className="h-3 bg-[#005d93]"></div>
</div>
{/* 列表 */}
<div className="mt-4 pl-8 ">
<div className="mb-5 justify-start flex">
</div>
<div className="mb-5 justify-start flex">
</div>
<div className="mb-5 justify-start flex">
</div>
</div>
</div>
<div className="relative">
{/* 轮播背景图 */}
<div className="w-200 absolute" style={{clipPath: 'polygon(150px 0, 100% 0, calc(100% - 0px) 100%, 30px 100%)'}} >
<CarouselDemo />
</div>
<div className='w-200 bg-white h-full'></div>
</div>
</div>
)
}