products
推荐产品
以国际优秀螺纹刀具为目标,不断研发新产品,提高产品质量,创硬质合金螺纹刀具优质品牌,以满足国内外用户的需求。
$(function(){
var nav = $(".header"); //得到导航对象
var win = $(window); //得到窗口对象
var sc = $(document); //得到document文档对象。
win.scroll(function () {
if (sc.scrollTop() >= 100) {
nav.addClass("on");
} else {
nav.removeClass("on");
}
})
$(".header .cnhamburger").click(function(){
$(this).toggleClass("is-open");
$(".menuBox").toggleClass("is-open");
})
})
$(function () {
var gallerySwiper = new Swiper('.cnProswiper .swiper-container',{
autoplay: {
delay:4500,
pauseOnMouseEnter:true,
disableOnInteraction: false
},
slidesPerView: 5,
paginationClickable: true,
spaceBetween: 20,
loop: true,
loopedSlides: 5,
pagination:{
el: '.page_box .cn-paginations',
type: 'fraction',
},
navigation: {
nextEl: '.page_box .swiper-next',
prevEl: '.page_box .swiper-prev',
},
breakpoints: {
//当宽度小于等于768
0: {
slidesPerView: 1,
spaceBetween: 20
},
768: {
slidesPerView: 1,
spaceBetween: 20
},
//当宽度小于等于1024
1024: {
slidesPerView: 3,
spaceBetween: 20
},
1400: {
slidesPerView: 5,
spaceBetween: 20
}
}
})
})