家居生活电器
ELECTRICAL APPLIANCES
-
1、NanoCaptur II代升级
2、全新升级复合粘炭滤网
3、空气质量实时显示温度、湿度、TVOC三色显示
-
1、大风量快速净化
2、静音风道及风机
3、便捷操作面板
<
/div>
< style >
.box_skitter
ul
{
display: block;
}
<
/style>
< script >
$(function () {
$("nav li:eq(6)").addClass("cur");
Enter($(".products-wrap .menu li").eq(0), "left", 0, $(".products-wrap .menu li").length, 400, 300);
// $('.box_skitter').skitter({
// animation: 'fade',
// interval: 3500,
// navigation: true,
// numbers: true,
// preview: true,
// numbers_align: 'center'
// });
if ($(".box_skitter .swiper-slide").length > 1) {
var boxskitter = new Swiper('.box_skitter', {
pagination: '.box_skitter .swiper-pagination',
paginationClickable: true
})
}
// box_skitter
var getUrlParam = function (name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if (r != null) return decodeURI(r[2]);
return null;
}
var page = getUrlParam('page');
console.log(page);
if (page == null || page == 1) {
var scroll = new ImitateScroll('scrollBox', 'scrollObj', 'scrollBar', 'scrollBtn')
$('.products-wrap .pro-typelist .list .right li').each(function () {
var index = $(this).index();
console.log(index)
$(this).find('.list-a').attr('id', 'scrollBox' + index);
$(this).find('.box').attr('id', 'scrollObj' + index);
$(this).find('.bar').attr('id', 'scrollBar' + index);
$(this).find('.btn').attr('id', 'scrollBtn' + index);
var scro = scroll + index;
var scro = new ImitateScroll('scrollBox' + index, 'scrollObj' + index, 'scrollBar' + index, 'scrollBtn' + index)
})
}
$('.products-wrap .pro-typelist .list .bottom li').each(function () {
var index = $(this).index();
console.log(index)
$(this).find('.list-b').attr('id', 'scrollBox0' + index);
$(this).find('.list-box').attr('id', 'scrollObj0' + index);
$(this).find('.list-bar').attr('id', 'scrollBar0' + index);
$(this).find('.list-btn').attr('id', 'scrollBtn0' + index);
var scro0 = scroll + index;
var scro0 = new ImitateScroll('scrollBox0' + index, 'scrollObj0' + index, 'scrollBar0' + index, 'scrollBtn0' + index)
})
})