Authored by uedxwg

修复品牌一览第一张图片无法加载

... ... @@ -37,13 +37,6 @@ hotBrandsSwiper = new Swiper('.brands-swiper', {
slideElement: 'li'
});
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
loop: true,
autoplay: 3000,
pagination: '.swiper-pagination .pagination-inner'
});
lazyLoad($('img.lazy'));
$('.yoho-header').css({
'z-index': 2,
... ... @@ -58,6 +51,12 @@ $('.yoho-header').css({
$('.hide-when-loading').show();
loading.hideLoadingMask();
swiper = new Swiper('.swiper-container', {
lazyLoading: true,
loop: true,
autoplay: 3000,
pagination: '.swiper-pagination .pagination-inner'
});
})();
$fixTitleBar = $('<div class="title-bar fixed-title-bar"><h2></h2></div>');
... ...