This commit is contained in:
Li1304553726 2025-11-20 08:29:49 +08:00
parent 36f6c586aa
commit 55c4dfd796
1 changed files with 2 additions and 2 deletions

View File

@ -115,10 +115,10 @@ export function CarouselDemo({
</CarouselContent>
{/* 上一张按钮(左箭头) */}
<CarouselPrevious className="absolute left-2 top-1/2 -translate-y-1/2 z-10" />
{/* <CarouselPrevious className="absolute left-2 top-1/2 -translate-y-1/2 z-10" /> */}
{/* 下一张按钮(右箭头) */}
<CarouselNext className="absolute right-2 top-1/2 -translate-y-1/2 z-10" />
{/* <CarouselNext className="absolute right-2 top-1/2 -translate-y-1/2 z-10" /> */}
</Carousel>
{/* 分页指示器容器:绝对定位在底部 */}