Compare commits
2 Commits
a6ce98bff0
...
e555db8f00
| Author | SHA1 | Date |
|---|---|---|
|
|
e555db8f00 | |
|
|
1ea4a91ec6 |
|
|
@ -1,4 +1,3 @@
|
|||
// src/components/CarouselDemo.tsx
|
||||
import * as React from "react";
|
||||
import Autoplay from "embla-carousel-autoplay";
|
||||
|
||||
|
|
@ -75,15 +74,6 @@ export function CarouselDemo() {
|
|||
<CarouselNext className="absolute right-2 top-1/2 -translate-y-1/2 z-10" />
|
||||
</Carousel>
|
||||
|
||||
{/* 要闻列表 - 右上角 */}
|
||||
<div className="absolute top-0 right-0 w-1/3 h-full">
|
||||
<Card className="h-full">
|
||||
<CardContent className="h-full p-0">
|
||||
<FireNewsList />
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
{/* 分页指示器 - 右下角 */}
|
||||
<div className="absolute bottom-4 right-4 flex gap-2 z-10">
|
||||
{Array.from({ length: count }).map((_, index) => (
|
||||
|
|
|
|||
Loading…
Reference in New Issue