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