...
|
...
|
@@ -49,11 +49,14 @@ module.exports = function(specificGender) { |
|
|
gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
|
|
|
'1,3&rec_pos=100009' : '2,3&rec_pos=100009',
|
|
|
url = '/product/recom/maylike?gender=' + gender;
|
|
|
} else if (logisticType) { //物流页面
|
|
|
RECPOSE = 110009;
|
|
|
|
|
|
} else if (logisticType) { //物流页面
|
|
|
gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
|
|
|
'1,3&rec_pos=100006' : '2,3&rec_pos=100006',
|
|
|
url = '/product/recom/maylike?gender=' + gender;
|
|
|
RECPOSE = 110006;
|
|
|
|
|
|
} else {
|
|
|
gender = (specificGender === 'boys' || $('.mobile-wrap').hasClass('boys-wrap')) ?
|
|
|
'1,3&rec_pos=100001' : '2,3&rec_pos=100002',
|
...
|
...
|
@@ -67,9 +70,9 @@ module.exports = function(specificGender) { |
|
|
|
|
|
//首页男生和女生,推荐位ID,埋点
|
|
|
if (window.location.pathname === '/boys') {
|
|
|
RECPOSE = '110001';
|
|
|
RECPOSE = 110001;
|
|
|
} else if (window.location.pathname === '/girls') {
|
|
|
RECPOSE = '110002';
|
|
|
RECPOSE = 110002;
|
|
|
}
|
|
|
|
|
|
$curNav = $navList.children('.focus');
|
...
|
...
|
@@ -232,6 +235,6 @@ module.exports = function(specificGender) { |
|
|
'ACTION_ID': 1,
|
|
|
'page_num': Math.ceil(index / pageNum)
|
|
|
});
|
|
|
return false;
|
|
|
return true;
|
|
|
});
|
|
|
}; |
...
|
...
|
|