Authored by biao

修复lifestyle 我可能喜欢数据异常

@@ -35,13 +35,18 @@ module.exports = function(specificGender) { @@ -35,13 +35,18 @@ module.exports = function(specificGender) {
35 } else if (lifestyleType) { 35 } else if (lifestyleType) {
36 36
37 //有货币页面加载男生首页的数据 37 //有货币页面加载男生首页的数据
38 - url = specificGender ? '/product/recom/maylike?gender=1,3' : '/product/recom/maylikelife'; 38 + url = specificGender === 'lifestyle' ? '/product/recom/maylike?gender=1,3' : '/product/recom/maylikelife';
39 } else { 39 } else {
40 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ? 40 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
41 '1,3' : '2,3', 41 '1,3' : '2,3',
42 url = '/product/recom/maylike?gender=' + gender; 42 url = '/product/recom/maylike?gender=' + gender;
43 } 43 }
44 44
  45 + //以防cookie异常,强制加载男首
  46 + if (specificGender === 'boys') {
  47 + url = '/product/recom/maylike?gender=1,3';
  48 + }
  49 +
45 $curNav = $navList.children('.focus'); 50 $curNav = $navList.children('.focus');
46 51
47 if (lifestyleType) { 52 if (lifestyleType) {