Compare commits
3 Commits
132d005bb1
...
10ac1c4548
| Author | SHA1 | Date |
|---|---|---|
|
|
10ac1c4548 | |
|
|
7d272b7ec2 | |
|
|
baaf5959eb |
|
|
@ -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) => (
|
||||
|
|
|
|||
Loading…
Reference in New Issue