Commit f7cd1a08 by hank

产品页IEbug

parent 959f93f8
...@@ -126,13 +126,14 @@ ...@@ -126,13 +126,14 @@
</div> </div>
</div> </div>
<div class="earth"> <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="ctr-container">
<div class="left-btn ctr-btn"></div> <div class="left-btn ctr-btn"></div>
<div class="right-btn ctr-btn"></div> <div class="right-btn ctr-btn"></div>
</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> </div>
</div> </div>
...@@ -443,19 +444,19 @@ ...@@ -443,19 +444,19 @@
swiper.appendSlide(html, 'swiper-slide', 'div'); swiper.appendSlide(html, 'swiper-slide', 'div');
}); });
function tab(container) { function tab(container) {
$('.menu-item').click(function (e) { $('.menu-item').click(function (e) {
$(this) $(this)
.parent() .parent()
.children() .children()
.removeClass('active'); .removeClass('active');
$(this).addClass('active'); $(this).addClass('active');
var index = $(this).index(); var index = $(this).index();
update(); update();
mySwiper.slideTo(0, 1000, false); mySwiper.slideTo(0, 1000, false);
mySwiper.swipeTo(0, 1000, false); mySwiper.swipeTo(0, 1000, false);
}); });
} }
tab(); tab();
} }
window.mySwiper = new Swiper('#swiper1', { window.mySwiper = new Swiper('#swiper1', {
slidesPerView: 'auto', slidesPerView: 'auto',
......
...@@ -268,6 +268,9 @@ ul { ...@@ -268,6 +268,9 @@ ul {
height: 443px; height: 443px;
top: 0; top: 0;
overflow: hidden; overflow: hidden;
z-index: 999;
background: #fff;
opacity: 0.1;
} }
.our-products .earth .ctr-container .ctr-btn { .our-products .earth .ctr-container .ctr-btn {
display: inline-block; display: inline-block;
......
...@@ -296,6 +296,9 @@ ul { ...@@ -296,6 +296,9 @@ ul {
height: 100%; height: 100%;
float: left; 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