...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
* @date: 2015/10/12
|
|
|
*/
|
|
|
|
|
|
module.exports = function(specificGender) {
|
|
|
module.exports = function(likeParameter) {
|
|
|
var $ = require('yoho-jquery'),
|
|
|
Hammer = require('yoho-hammer'),
|
|
|
ellipsis = require('yoho-mlellipsis'),
|
...
|
...
|
@@ -20,7 +20,8 @@ module.exports = function(specificGender) { |
|
|
gender = null,
|
|
|
num,
|
|
|
url,
|
|
|
RECPOSE = '110001';
|
|
|
specificGender = likeParameter && likeParameter.gender,
|
|
|
RECPOSE = likeParameter && likeParameter.recpose || '110001';
|
|
|
|
|
|
// The kidsType can be specified by the parameter. Add by @ZhaoBiao
|
|
|
var kidsType = specificGender === 'kids' || $('.mobile-wrap').hasClass('kids-wrap') ? true : false,
|
...
|
...
|
@@ -241,7 +242,7 @@ module.exports = function(specificGender) { |
|
|
}
|
|
|
|
|
|
// 优惠券页面直接加载你可能喜欢。add by @zhaobiao
|
|
|
if (specificGender) {
|
|
|
if (specificGender || likeParameter && likeParameter.isExecute) {
|
|
|
search();
|
|
|
}
|
|
|
|
...
|
...
|
|