lee
parent
0b3bfeca82
commit
82402d2f03
|
@ -59,8 +59,8 @@ jQuery(function($){
|
||||||
crossFade: true,
|
crossFade: true,
|
||||||
},
|
},
|
||||||
navigation: {
|
navigation: {
|
||||||
nextEl: '.memorabili-swiper .swiper-button-prev',
|
prevEl: '.memorabili-swiper .swiper-button-prev',
|
||||||
prevEl: '.memorabili-swiper .swiper-button-next',
|
nextEl: '.memorabili-swiper .swiper-button-next',
|
||||||
},
|
},
|
||||||
|
|
||||||
})
|
})
|
||||||
|
@ -71,13 +71,27 @@ jQuery(function($){
|
||||||
slidesPerView : '4',
|
slidesPerView : '4',
|
||||||
centeredSlides : false,
|
centeredSlides : false,
|
||||||
navigation: {
|
navigation: {
|
||||||
nextEl: '.memorabili-swiper .swiper-button-prev',
|
prevEl: '.memorabili-swiper .swiper-button-prev',
|
||||||
prevEl: '.memorabili-swiper .swiper-button-next',
|
nextEl: '.memorabili-swiper .swiper-button-next',
|
||||||
},
|
},
|
||||||
|
on:{
|
||||||
|
slideChange: function(){
|
||||||
|
var a = this.activeIndex;
|
||||||
|
var b = a + 4;
|
||||||
|
var c = a - 1;
|
||||||
|
$(".memorabili-swiper").find(".swiper-slide").css("opacity",1);
|
||||||
|
$(".memorabili-swiper").find(".swiper-slide").eq(c).css("opacity",0);
|
||||||
|
$(".memorabili-swiper").find(".swiper-slide").eq(b).css("opacity",0);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 案例分页
|
||||||
|
if($(".page-img img").src == null){
|
||||||
|
$(".page-img").css("width",0)
|
||||||
|
}
|
||||||
|
|
||||||
// 人才招聘切换
|
// 人才招聘切换
|
||||||
$(".join-list li").click(function() {
|
$(".join-list li").click(function() {
|
||||||
|
|
Loading…
Reference in New Issue