Commit f7cd1a08 by hank

产品页IEbug

parent 959f93f8
......@@ -126,13 +126,14 @@
</div>
</div>
<div class="earth">
<img class="earth-bg" src="../img/earth1.png" alt="" />
<!-- animated rotateIn infinite -->
<img src="../img/earthselect.png" class="select " alt="" />
<div class="ctr-container">
<div class="left-btn ctr-btn"></div>
<div class="right-btn ctr-btn"></div>
</div>
<img class="earth-bg" src="../img/earth1.png" alt="" />
<!-- animated rotateIn infinite -->
<img src="../img/earthselect.png" class="select " alt="" />
</div>
</div>
</div>
......@@ -443,19 +444,19 @@
swiper.appendSlide(html, 'swiper-slide', 'div');
});
function tab(container) {
$('.menu-item').click(function (e) {
$(this)
.parent()
.children()
.removeClass('active');
$(this).addClass('active');
var index = $(this).index();
update();
mySwiper.slideTo(0, 1000, false);
mySwiper.swipeTo(0, 1000, false);
});
}
tab();
$('.menu-item').click(function (e) {
$(this)
.parent()
.children()
.removeClass('active');
$(this).addClass('active');
var index = $(this).index();
update();
mySwiper.slideTo(0, 1000, false);
mySwiper.swipeTo(0, 1000, false);
});
}
tab();
}
window.mySwiper = new Swiper('#swiper1', {
slidesPerView: 'auto',
......
......@@ -268,6 +268,9 @@ ul {
height: 443px;
top: 0;
overflow: hidden;
z-index: 999;
background: #fff;
opacity: 0.1;
}
.our-products .earth .ctr-container .ctr-btn {
display: inline-block;
......
......@@ -296,6 +296,9 @@ ul {
height: 100%;
float: left;
}
z-index: 999;
background: #fff;
opacity: 0.1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment