diff --git a/css/index.css b/css/index.css index 6c7882a..4441dfc 100644 --- a/css/index.css +++ b/css/index.css @@ -1,7 +1,21 @@ +body { + overflow-x: hidden; +} +.mySwiper { + width: 100vw!important; + +} +.swiper-wrapper { + width: 100vw!important; + +} +.swiper-slide { + width: 100%!important; +} .concentrationBox { width: 100%; margin-top: 80px; - background: linear-gradient(0deg, #071688, #163FC4); + /* background: linear-gradient(0deg, #071688, #163FC4); */ cursor: pointer; } diff --git a/index.html b/index.html index 6f030e4..6187c29 100644 --- a/index.html +++ b/index.html @@ -48,13 +48,13 @@ src="https://formall.oss-accelerate.aliyuncs.com/home/pc/fmPcImg/shouye/home_banner.png" alt="">
+ src="https://formall.oss-accelerate.aliyuncs.com/home/pc/fmPcImg/shouye/banner_3.png" alt="">
-
+ @@ -426,4 +426,6 @@ disableOnInteraction: false, }, }) + + \ No newline at end of file diff --git a/js/index.js b/js/index.js index 55992f2..197f5e8 100644 --- a/js/index.js +++ b/js/index.js @@ -4,13 +4,13 @@ $(".footer").load("../html/footer.html"); $(function () { - var swiper = new Swiper(".mySwiper", { - loop: true, - autoplay: true, - pagination: { - el: ".swiper-pagination", - }, - }); + // var swiper = new Swiper(".mySwiper", { + // loop: true, + // autoplay: true, + // pagination: { + // el: ".swiper-pagination", + // }, + // }); $("#home").click(function () { $("html,body").animate({ scrollTop: $(".concentrationBox").offset().top }, 1000)