Authored by Rock Zhang

更新到201501191833静态资源

@@ -459,20 +459,7 @@ var brandsData, @@ -459,20 +459,7 @@ var brandsData,
459 459
460 loading.showLoadingMask(); 460 loading.showLoadingMask();
461 461
462 -//热门品牌滑动  
463 -hotBrandsSwiper = new Swiper('.brands-swiper', {  
464 - grabCursor: true,  
465 - slidesPerView: 'auto',  
466 - wrapperClass: 'brands-list',  
467 - slideElement: 'li'  
468 -});  
469 462
470 -swiper = new Swiper('.swiper-container', {  
471 - lazyLoading: true,  
472 - loop: true,  
473 - autoplay: 3000,  
474 - pagination: '.swiper-pagination .pagination-inner'  
475 -});  
476 463
477 lazyLoad($('img.lazy')); 464 lazyLoad($('img.lazy'));
478 $('.yoho-header').css({ 465 $('.yoho-header').css({
@@ -488,6 +475,22 @@ $('.yoho-header').css({ @@ -488,6 +475,22 @@ $('.yoho-header').css({
488 475
489 $('.hide-when-loading').show(); 476 $('.hide-when-loading').show();
490 loading.hideLoadingMask(); 477 loading.hideLoadingMask();
  478 +
  479 + //banner滑动
  480 + swiper = new Swiper('.swiper-container', {
  481 + lazyLoading: true,
  482 + loop: true,
  483 + autoplay: 3000,
  484 + pagination: '.swiper-pagination .pagination-inner'
  485 + });
  486 +
  487 + //热门品牌滑动
  488 + hotBrandsSwiper = new Swiper('.brands-swiper', {
  489 + grabCursor: true,
  490 + slidesPerView: 'auto',
  491 + wrapperClass: 'brands-list',
  492 + slideElement: 'li'
  493 +});
491 })(); 494 })();
492 495
493 $fixTitleBar = $('<div class="title-bar fixed-title-bar"><h2></h2></div>'); 496 $fixTitleBar = $('<div class="title-bar fixed-title-bar"><h2></h2></div>');
@@ -1889,7 +1892,9 @@ module.exports = function(specificGender) { @@ -1889,7 +1892,9 @@ module.exports = function(specificGender) {
1889 if (kidsType) { 1892 if (kidsType) {
1890 url = '/product/recom/maylikekids'; 1893 url = '/product/recom/maylikekids';
1891 } else if (lifestyleType) { 1894 } else if (lifestyleType) {
1892 - url = '/product/recom/maylikelife'; 1895 +
  1896 + //有货币页面加载男生首页的数据
  1897 + url = specificGender ? '/product/recom/maylike?gender=1,3' : '/product/recom/maylikelife';
1893 } else { 1898 } else {
1894 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ? 1899 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
1895 '1,3' : '2,3', 1900 '1,3' : '2,3',
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.