Authored by runner

Merge branch 'release/4.8' of http://git.yoho.cn/fe/YOHOBUYWAP into release/4.8

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.
@@ -25,7 +25,8 @@ module.exports = function(specificGender) { @@ -25,7 +25,8 @@ module.exports = function(specificGender) {
25 var kidsType = specificGender === 'kids' || $('.mobile-wrap').hasClass('kids-wrap') ? true : false, 25 var kidsType = specificGender === 'kids' || $('.mobile-wrap').hasClass('kids-wrap') ? true : false,
26 lifestyleType = specificGender === 'lifestyle' || 26 lifestyleType = specificGender === 'lifestyle' ||
27 $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false, 27 $('.mobile-wrap').hasClass('lifestyle-wrap') ? true : false,
28 - yohoCoinType = $('.coin').length ? true : false; 28 + yohoCoinType = $('.coin').length ? true : false,
  29 + logisticType = $('.logistic-page').length ? true : false;
29 var $curNav, 30 var $curNav,
30 index, 31 index,
31 $navList = $('#maybe-like-nav'); 32 $navList = $('#maybe-like-nav');
@@ -41,12 +42,17 @@ module.exports = function(specificGender) { @@ -41,12 +42,17 @@ module.exports = function(specificGender) {
41 } else if (lifestyleType) { 42 } else if (lifestyleType) {
42 43
43 //有货币页面加载男生首页的数据 44 //有货币页面加载男生首页的数据
44 - url = specificGender === 'lifestyle' ? '/product/recom/maylike?gender=1,3&rec_pos=100009' : '/product/recom/maylikelife'; 45 + url = specificGender === 'lifestyle' ? '/product/recom/maylike?gender=1,3&rec_pos=100001' : '/product/recom/maylikelife';
45 } else if (yohoCoinType) { 46 } else if (yohoCoinType) {
46 47
47 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ? 48 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
48 '1,3&rec_pos=100009' : '2,3&rec_pos=100009', 49 '1,3&rec_pos=100009' : '2,3&rec_pos=100009',
49 url = '/product/recom/maylike?gender=' + gender; 50 url = '/product/recom/maylike?gender=' + gender;
  51 + } else if (logisticType) { //物流页面
  52 +
  53 + gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
  54 + '1,3&rec_pos=100006' : '2,3&rec_pos=100006',
  55 + url = '/product/recom/maylike?gender=' + gender;
50 } else { 56 } else {
51 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ? 57 gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
52 '1,3&rec_pos=100001' : '2,3&rec_pos=100002', 58 '1,3&rec_pos=100001' : '2,3&rec_pos=100002',