Authored by 郝肖肖

修正 banner swiper Dom

... ... @@ -173,7 +173,7 @@ function ajaxResource() {
$('.banner-center-swiper').each(function() {
if ($(this).find('li').length > 1) {
new Swiper('.banner-center-swiper', {
new Swiper(this, {
preloadImages: false,
lazyLoading: true,
lazyLoadingInPrevNext: true,
... ... @@ -185,8 +185,6 @@ function ajaxResource() {
slideElement: 'li',
pagination: '.banner-center .pagination-inner',
});
} else {
$(this).unbind();
}
});
... ...