This commit is contained in:
Li1304553726 2025-11-19 11:07:54 +08:00
parent 75ba92281d
commit 7927d2576b
2 changed files with 14 additions and 8 deletions

View File

@ -5,10 +5,13 @@ import {FireNewsList} from "./FireNewsList";
export function FhrxPage() { export function FhrxPage() {
return( return(
<div className=" w-full overflow-hidden flex justify-center h-200"> <div className=" w-full overflow-hidden flex justify-center h-200">
{/* 轮播背景图 */} <div className="relative">
<div className="w-200" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}> {/* 轮播背景图 */}
<CarouselDemo /> <div className="w-200 absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
</div> <CarouselDemo />
</div>
<div className='w-200 bg-white h-full'></div>
</div>
<div className="w-100 h-full bg-white relative"> <div className="w-100 h-full bg-white relative">
{/* 标题部分 */} {/* 标题部分 */}

View File

@ -28,10 +28,13 @@ export function FhwsPage() {
</div> </div>
</div> </div>
</div> </div>
{/* 轮播背景图 */} <div className="relative">
<div className="w-200" style={{clipPath: 'polygon(150px 0, 100% 0, calc(100% - 0px) 100%, 30px 100%)'}} > {/* 轮播背景图 */}
<CarouselDemo /> <div className="w-200 absolute" style={{clipPath: 'polygon(150px 0, 100% 0, calc(100% - 0px) 100%, 30px 100%)'}} >
</div> <CarouselDemo />
</div>
<div className='w-200 bg-white h-full'></div>
</div>
</div> </div>
) )
} }