Compare commits

...

3 Commits

Author SHA1 Message Date
Li1304553726 10ac1c4548 Merge branch 'main' of http://113.45.67.59:3003/qiuchenfan/news 2025-11-18 17:47:26 +08:00
Li1304553726 7d272b7ec2 1 2025-11-18 17:47:00 +08:00
Li1304553726 baaf5959eb 1 2025-11-18 17:42:33 +08:00
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// src/components/CarouselDemo.tsx
import * as React from "react";
import Autoplay from "embla-carousel-autoplay";
@ -68,6 +69,7 @@ export function CarouselDemo() {
<CarouselNext className="absolute right-2 top-1/2 -translate-y-1/2 z-10" />
</Carousel>
{/* 分页指示器 - 右下角 */}
<div className="absolute bottom-4 right-4 flex gap-2 z-10">
{Array.from({ length: count }).map((_, index) => (