This commit is contained in:
qiuchenfan 2025-11-20 08:32:58 +08:00
commit 976f6708ec
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>
{/* 分页指示器容器:绝对定位在底部 */}