...
|
...
|
@@ -12,8 +12,8 @@ var homePage = $('.home-page').data('page'), |
|
|
|
|
|
require('../common');
|
|
|
|
|
|
require('../plugins/slider');
|
|
|
require('../plugins/slider2');
|
|
|
// require('../plugins/slider');
|
|
|
// require('../plugins/slider2');
|
|
|
require('../plugins/logo-brand');
|
|
|
|
|
|
require('../plugins/accordion');
|
...
|
...
|
@@ -39,13 +39,9 @@ if ($.inArray(homePage, ['boys', 'girls', 'kids', 'lifestyle']) > -1) { |
|
|
});
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
lazyLoad($('img.lazy'));
|
|
|
if (homePage === 'boys') {
|
|
|
$('.slide-container').slider({
|
|
|
pagination: '.thumb-pagination'
|
|
|
});
|
|
|
require('../common/top-slider');
|
|
|
} else {
|
|
|
$('.center-col').slider();
|
|
|
$('.slide-container').slider();
|
...
|
...
|
@@ -55,11 +51,13 @@ if (homePage === 'boys') { |
|
|
$('.logo-brand').logoBrand({
|
|
|
url: brandUrl
|
|
|
});
|
|
|
$('.img-brand').slider2();
|
|
|
|
|
|
// $('.img-brand').slider2();
|
|
|
} else {
|
|
|
$('.logo-brand').logoBrand({
|
|
|
showNum: 10,
|
|
|
url: brandUrl
|
|
|
});
|
|
|
$('.img-slider-wrapper').slider2();
|
|
|
|
|
|
// $('.img-slider-wrapper').slider2();
|
|
|
} |
...
|
...
|
|