.banner { height: 100vh; overflow: hidden; :global { .fullscreen-slide { height: 100vh !important; display: flex !important; align-items: center; justify-content: center; background-size: cover; background-position: center; .slide-content { width: 100%; height: 100%; position: relative; background-size: 100% 100% !important; text-align: center; color: white; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); & img { width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); object-fit: contain; } // 图1 .title1 { width: 75%; opacity: 0.5; transition: all 0.6s ease-in-out; } .item1 { transform: translate(-50%, 21px); object-fit: cover; height: 450px; } .date1 { width: 92px; transform: translate(-900px, -59%); transition: all 0.8s ease-in-out; } // 图2 .top2 { width: 90%; opacity: 0.5; transform: translate(-50%, -165%); transition: all 0.6s ease-in-out; } .title2 { width: 24%; opacity: 0; transform: translate(45%, -95%); transition: all 1.2s ease-in-out; } .item2 { width: 30%; opacity: 0; transform: translate(-110%, -39%); transition: all 1s ease-in-out; } .date2 { width: 92px; opacity: 0; transform: translate(-1050px, -79%); transition: all 0.8s ease-in-out; } // 图3 .top3 { width: 85%; opacity: 0.5; transform: translate(-50%, -165%); transition: all 0.6s ease-in-out; } .item5 { width: 37%; opacity: 0; transform: translate(-110%, -36%); transition: all 1s ease-in-out; } .top7 { width: 80%; opacity: 0.5; transform: translate(-50%, -98%); transition: all 0.6s ease-in-out; } .date7 { width: 22%; transform: translate(82%, -70%); transition: all 0.8s ease-in-out; } .btn7 { width: 12%; transform: translate(193%, 130%); transition: all 0.8s ease-in-out; cursor: pointer; z-index: 1; } .item7 { transform: translate(-50%, 71px); object-fit: cover; height: 400px; } } // 动画效果 .animate { .title1 { opacity: 1; } .date1 { transform: translate(-900px, -79%); } .top2 { opacity: 1; } .title2 { opacity: 1; transform: translate(45%, -50%); } .item2 { opacity: 1; transform: translate(-110%, -44%); } .date2 { opacity: 1; transform: translate(-900px, -79%); } .top3 { opacity: 1; } .item5 { opacity: 1; transform: translate(-110%, -40%); } .top7 { opacity: 1; } .date7 { transform: translate(82%, -79%); } .btn7 { transform: translate(193%, 110%); } } } /* 垂直dots样式 */ .vertical-dots { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); display: flex !important; flex-direction: column; align-items: center; width: auto; gap: 16px; & li { margin: 0 !important; &:not(:last-child) { background: url('../image/scroll2.png') no-repeat center bottom; } width: 22px; height: 62px; } & .slick-active { width: 40px; height: 80px !important; & button { background: url('../image/scroll3.png') no-repeat center center; width: 40px; height: 40px; } } & li button { width: 22px; height: 22px; background: url('../image/scroll1.png') no-repeat center center; background-size: cover; font-size: 12px !important; color: transparent !important; border: none; opacity: 1 !important; } & li button::before { width: 22px; height: 22px; font-size: 12px !important; color: transparent !important; border: none; opacity: 0 !important; } } } }