...
|
...
|
@@ -18,7 +18,7 @@ export class DetailView extends View { |
|
|
this.illustrateContents.hide().addClass('down-animate');
|
|
|
|
|
|
setTimeout(() => {
|
|
|
new Swiper('.banner-swiper', {
|
|
|
let swiper = new Swiper('.banner-swiper', {
|
|
|
preloadImages: false,
|
|
|
lazyLoading: true,
|
|
|
lazyLoadingInPrevNext: true,
|
...
|
...
|
@@ -29,6 +29,14 @@ export class DetailView extends View { |
|
|
prevButton: '.my-swiper-button-prev',
|
|
|
spaceBetween: 3
|
|
|
});
|
|
|
|
|
|
$('.banner-swiper').click(function() {
|
|
|
$('.banner-top').toggleClass('hover');
|
|
|
swiper.onResize();
|
|
|
});
|
|
|
$('.banner-top-single').click(function() {
|
|
|
$('.banner-top-single').toggleClass('hover');
|
|
|
});
|
|
|
}, 500);
|
|
|
|
|
|
let $cartBar = $('.cart-bar');
|
...
|
...
|
|