From 73ddd3e2e6848bde528f84f2487828fa35506bdc Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 27 Dec 2021 11:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=90=BD=E5=9C=B0=E9=A1=B5?= =?UTF-8?q?=E4=B8=8D=E5=BE=AA=E7=8E=AF=E7=82=B9=E5=87=BB=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E4=B8=8D=E5=BC=B9=E5=87=BA=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/View/default/Home/landingPage.html | 12 ++++-------- Application/Home/View/default/Home/landingPage2.html | 3 +++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index e666fc2d5..2a42626cf 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -1007,7 +1007,7 @@ function getCurUserId() { function swiperGet2(){ var mySwiper = new Swiper('.mounting-box .swiper-container', { - loop: true, + loop: false, observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper lazyLoading:true,//图片延迟加载 @@ -1031,7 +1031,7 @@ function getCurUserId() { // }, autoplay: { delay: 2000, - stopOnLastSlide: false, + stopOnLastSlide: true, disableOnInteraction: false, }, onSlideChangeEnd: function(swiper){ @@ -1402,7 +1402,7 @@ function getCurUserId() { function swiperGet(){ var swiper1 = new Swiper('.second-box .swiper-container', { - loop: true, + loop: false, observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper // autoplayDisableOnInteraction:false,// @@ -1414,12 +1414,8 @@ function getCurUserId() { }, autoplay: { delay: 2000, - stopOnLastSlide: false, + stopOnLastSlide: true, disableOnInteraction: false, - }, - onSlideChangeEnd: function(swiper){ - // swiper.update(); - swiper1.startAutoplay(); } }); }; diff --git a/Application/Home/View/default/Home/landingPage2.html b/Application/Home/View/default/Home/landingPage2.html index a4511760f..c48df53c7 100644 --- a/Application/Home/View/default/Home/landingPage2.html +++ b/Application/Home/View/default/Home/landingPage2.html @@ -161,6 +161,9 @@ $('.down-link').on('click', function () { $('#downTips').show(); }) + $(".home-video").on("click",function() { + return false; + }) $('#downTips').on('click', function () {