...
|
...
|
@@ -40,7 +40,7 @@ let $input = $('#search-input').find('input[name="query"]'), |
|
|
|
|
|
let shopId, sort, brand, outlets, app_type, age_level, msort, misort, coin, app_version, students, couponId, searchFrom;
|
|
|
let size, color, style, standard, gender, price, p_d, oldquery, query, limited, specialoffer, specialsale_id, promotion;
|
|
|
let couponCode;
|
|
|
let couponCode, categoryId;
|
|
|
|
|
|
// 默认筛选条件
|
|
|
let defaultOpt = require('common/query-param');
|
...
|
...
|
@@ -243,6 +243,7 @@ students = getQueryString('students'); |
|
|
couponId = getQueryString('coupon_id');
|
|
|
couponCode = getQueryString('coupon_code');
|
|
|
searchFrom = getQueryString('from');
|
|
|
categoryId = getQueryString('categoryId');
|
|
|
|
|
|
if ($defaultgc.children().length > 0) {
|
|
|
let fsgcgoods = [],
|
...
|
...
|
@@ -522,6 +523,10 @@ function search(opt) { |
|
|
params.from = searchFrom;
|
|
|
}
|
|
|
|
|
|
if (categoryId) {
|
|
|
params.categoryId = categoryId;
|
|
|
}
|
|
|
|
|
|
$.extend(setting, defaultOpt, params);
|
|
|
searching = true;
|
|
|
loading.showLoadingMask();
|
...
|
...
|
|