diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 653c574d8..e6c516b9f 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -814,6 +814,7 @@ var PhoneObj = { { $(".mode").show(); $('.mounting').show(); + swiperGet2(); // $('#beta-url').attr('href', $('[name=betaUrl]').val()) } @@ -854,10 +855,10 @@ var PhoneObj = { alert("密码不能为空"); return false; } - if (verifyCode == "") { + /* if (verifyCode == "") { alert("验证码不能为空"); return false; - } + } */ if (promoteId == "") { alert("推广员ID不能为空"); return false; @@ -883,6 +884,7 @@ var PhoneObj = { setLoginStatus(result.data.user_id) $('.login').hide(); showMounting() + } else { alert(result.msg); } @@ -1184,7 +1186,7 @@ var PhoneObj = { }); function swiperGet(){ - var swiper = new Swiper('.swiper-container', { + var swiper1 = new Swiper('.second-box .swiper-container', { loop: true, observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper @@ -1200,9 +1202,12 @@ var PhoneObj = { stopOnLastSlide: false, disableOnInteraction: false, }, + onSlideChangeEnd: function(swiper){ + // swiper.update(); + swiper1.startAutoplay(); + } }); }; - swiperGet(); $(".commonWindow li").click(function(){ var divShow = $(".commonWindow .content").children("div"); if($(this).hasClass("")){ @@ -1282,7 +1287,7 @@ var PhoneObj = { $(".doubt").click(function(){ var isTipSafari = is_tip_safari(); if (isTipSafari) { - $('.safari').show(); + $('.safari').show(); return; } $(".second").show(); diff --git a/Public/Home/css/index2.css b/Public/Home/css/index2.css index 04415fa0d..8e4822296 100644 --- a/Public/Home/css/index2.css +++ b/Public/Home/css/index2.css @@ -778,12 +778,16 @@ position: fixed; top: 0; left: 0; - width: 100%; - height: 100%; + width: 5.7rem; + height: 8rem; + left: 50%; + top: 50%; + margin-left: -2.85rem; + margin-top: -4rem; display: flex; align-items: center; justify-content: center; - background:rgba(0,0,0,0.6); + background:rgba(0,0,0,0); z-index: 1000; } .mounting-box{