修改样式

master
ELF 5 years ago
parent d6a30964b1
commit 6112d6d00c

@ -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("")){

@ -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{

Loading…
Cancel
Save