Authored by 郭成尧

'160920-listjs-ok'

@@ -278,8 +278,8 @@ function search(opt) { @@ -278,8 +278,8 @@ function search(opt) {
278 params.shop_id = shopId; 278 params.shop_id = shopId;
279 } 279 }
280 280
281 - if (ageLevel) {  
282 - params.age_level = ageLevel; 281 + if (age_level) {
  282 + params.age_level = age_level
283 } 283 }
284 284
285 if (sort) { 285 if (sort) {
@@ -385,7 +385,7 @@ function search(opt) { @@ -385,7 +385,7 @@ function search(opt) {
385 385
386 } 386 }
387 387
388 -// require('../../common/suspend-cart'); //悬浮购物车 388 +require('../../common/suspend-cart'); //悬浮购物车
389 /* tar add 160914 */ 389 /* tar add 160914 */
390 if ($brandHeader.data('isbaseshop') === 1) { 390 if ($brandHeader.data('isbaseshop') === 1) {
391 Object.assign(defaultOpt, {shop_id: $brandHeader.data('id')}); 391 Object.assign(defaultOpt, {shop_id: $brandHeader.data('id')});