Authored by 李靖

逛列表页swiper报错

@@ -34,7 +34,9 @@ if ($loadMoreInfo.length > 0) { @@ -34,7 +34,9 @@ if ($loadMoreInfo.length > 0) {
34 $noMore = $loadMoreInfo.children('.no-more'); 34 $noMore = $loadMoreInfo.children('.no-more');
35 } 35 }
36 36
37 -info.initSwiper(curType); 37 +if ($('.swiper-container').length > 0) {
  38 + info.initSwiper(curType);
  39 +}
38 40
39 info.initInfosEvt($infoList); 41 info.initInfosEvt($infoList);
40 42