This commit is contained in:
parent
2f8c4f5011
commit
c14daff3c0
|
|
@ -7,7 +7,7 @@ export function Hotline() {
|
||||||
<div className=" w-5/6 overflow-hidden flex justify-center h-148 mb-10 mx-auto">
|
<div className=" w-5/6 overflow-hidden flex justify-center h-148 mb-10 mx-auto">
|
||||||
<div className="relative left-0 top-0 w-full h-full">
|
<div className="relative left-0 top-0 w-full h-full">
|
||||||
{/* 轮播背景图 */}
|
{/* 轮播背景图 */}
|
||||||
<div className="w-full absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
|
<div className="w-full h-full absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
|
||||||
<CarouselDemo
|
<CarouselDemo
|
||||||
paginationPosition="left"
|
paginationPosition="left"
|
||||||
paginationStyle="dot"
|
paginationStyle="dot"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export function ImportantNews() {
|
||||||
return(
|
return(
|
||||||
<div className="relative w-5/6 h-225 mx-auto overflow-hidden ">
|
<div className="relative w-5/6 h-225 mx-auto overflow-hidden ">
|
||||||
{/* 轮播背景图 - 确保有明确尺寸 */}
|
{/* 轮播背景图 - 确保有明确尺寸 */}
|
||||||
<div className="absolute top-0 left-0 w-full h-225">
|
<div className="absolute top-0 left-0 w-full h-full">
|
||||||
<CarouselDemo
|
<CarouselDemo
|
||||||
paginationPosition="left"
|
paginationPosition="left"
|
||||||
paginationStyle="dot"
|
paginationStyle="dot"
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ export function LectureHall() {
|
||||||
<div className="w-5/6 overflow-hidden flex justify-center h-148 mb-10 mx-auto">
|
<div className="w-5/6 overflow-hidden flex justify-center h-148 mb-10 mx-auto">
|
||||||
<div className="relative left-0 top-0 w-full h-full">
|
<div className="relative left-0 top-0 w-full h-full">
|
||||||
{/* 轮播背景图 */}
|
{/* 轮播背景图 */}
|
||||||
<div className="w-full absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
|
<div className="w-full h-full absolute" style={{clipPath: 'polygon(0 0, calc(100% - 150px)-0.9%, calc(100% - 30px) 100%, 0 100%)',}}>
|
||||||
<CarouselDemo
|
<CarouselDemo
|
||||||
paginationPosition="left"
|
paginationPosition="left"
|
||||||
paginationStyle="dot"
|
paginationStyle="dot"
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ export function MicroVision() {
|
||||||
</div>
|
</div>
|
||||||
<div className="relative w-full h-full">
|
<div className="relative w-full h-full">
|
||||||
{/* 轮播背景图 */}
|
{/* 轮播背景图 */}
|
||||||
<div className="w-full absolute" style={{clipPath: 'polygon(150px 0, 100% 0, calc(100% - 0px) 100%, 30px 100%)'}} >
|
<div className="w-full h-full absolute" style={{clipPath: 'polygon(150px 0, 100% 0, calc(100% - 0px) 100%, 30px 100%)'}} >
|
||||||
<CarouselDemo
|
<CarouselDemo
|
||||||
paginationPosition="right"
|
paginationPosition="right"
|
||||||
paginationStyle="dot"
|
paginationStyle="dot"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
export function Footer() {
|
export function Footer() {
|
||||||
return (
|
return (
|
||||||
<div className='w-full h-190 bg-[#0082e9] flex items-center justify-center'
|
<div className='w-full h-190 bg-[#0082e9] flex items-center justify-center'
|
||||||
style={{backgroundImage: "url('/public/images/carousel-4.jpg')"}}
|
style={{}}
|
||||||
>
|
>
|
||||||
<div className='text-white text-2xl'>
|
<div className='text-white text-2xl'>
|
||||||
春风拂面花开满园心情愉悦
|
春风拂面花开满园心情愉悦
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue