Authored by 梁志锋

gulp ge 文件提交

@@ -1894,13 +1894,18 @@ module.exports = function(specificGender) { @@ -1894,13 +1894,18 @@ module.exports = function(specificGender) {
1894 } else if (lifestyleType) { 1894 } else if (lifestyleType) {
1895 1895
1896 //有货币页面加载男生首页的数据 1896 //有货币页面加载男生首页的数据
1897 - url = specificGender ? '/product/recom/maylike?gender=1,3' : '/product/recom/maylikelife'; 1897 + url = specificGender === 'lifestyle' ? '/product/recom/maylike?gender=1,3' : '/product/recom/maylikelife';
1898 } else { 1898 } else {
1899 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ? 1899 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
1900 '1,3' : '2,3', 1900 '1,3' : '2,3',
1901 url = '/product/recom/maylike?gender=' + gender; 1901 url = '/product/recom/maylike?gender=' + gender;
1902 } 1902 }
1903 1903
  1904 + //以防cookie异常,强制加载男首
  1905 + if (specificGender === 'boys') {
  1906 + url = '/product/recom/maylike?gender=1,3';
  1907 + }
  1908 +
1904 $curNav = $navList.children('.focus'); 1909 $curNav = $navList.children('.focus');
1905 1910
1906 if (lifestyleType) { 1911 if (lifestyleType) {
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.