Merge branch 'main' of http://113.45.67.59:3003/qiuchenfan/news
This commit is contained in:
commit
826805a0cc
|
|
@ -49,12 +49,12 @@ export function CarouselDemo() {
|
|||
setApi={setApi}
|
||||
className="w-full h-full"
|
||||
>
|
||||
<CarouselContent className="h-full w-full">
|
||||
<CarouselContent className="h-full w-full -ml-0">
|
||||
{Array.from({ length: totalSlides }).map((_, index) => (
|
||||
<CarouselItem key={index} className="w-full h-full">
|
||||
<div className="p-1">
|
||||
<Card>
|
||||
<CardContent className="flex aspect-square items-center justify-center ">
|
||||
<CarouselItem key={index} className="w-full h-full pl-0">
|
||||
<div className="p-0 w-full h-full">
|
||||
|
||||
<CardContent className="flex aspect-square items-center justify-center p-0 w-full h-full m-0">
|
||||
<div
|
||||
className="w-full h-full"
|
||||
style={{
|
||||
|
|
@ -64,7 +64,7 @@ export function CarouselDemo() {
|
|||
>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
</div>
|
||||
</CarouselItem>
|
||||
))}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {FireNewsList} from "./FireNewsList";
|
|||
|
||||
export function FhjtPage() {
|
||||
return(
|
||||
<div className=" w-full overflow-hidden flex justify-center h-200 mb-10 mt-10">
|
||||
<div className=" w-full overflow-hidden flex justify-center h-200 mb-10">
|
||||
<div className="relative">
|
||||
{/* 轮播背景图 */}
|
||||
<div className="w-200 absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
|
||||
|
|
@ -12,7 +12,7 @@ export function FhjtPage() {
|
|||
</div>
|
||||
<div className='w-200 bg-white h-full'></div>
|
||||
</div>
|
||||
<div className="w-100 h-full bg-white relative">
|
||||
<div className="w-120 h-full bg-white relative">
|
||||
{/* 标题部分 */}
|
||||
<div className="relative pt-6 pr-8">
|
||||
<h2 className="text-right text-4xl font-bold text-[#005d93] mb-2">烽火讲堂</h2>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ export function FhrxPage() {
|
|||
<div className='w-200 bg-white h-full'></div>
|
||||
</div>
|
||||
|
||||
<div className="w-100 h-full bg-white relative">
|
||||
<div className="w-120 h-full bg-white relative">
|
||||
{/* 标题部分 */}
|
||||
<div className="relative pt-6 pr-8">
|
||||
<h2 className="text-right text-4xl font-bold text-[#005d93] mb-2">烽火热线</h2>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ 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="w-120 h-full bg-white relative" >
|
||||
{/* 标题部分 */}
|
||||
<div className="relative pt-6 pl-8">
|
||||
<h2 className=" text-4xl font-bold text-[#005d93] mb-2">烽火微视</h2>
|
||||
|
|
|
|||
Loading…
Reference in New Issue