Authored by 郝肖肖

Merge branch 'feature/searchOptimi' into release/5.5

@@ -43,6 +43,8 @@ var size, color, style, standard, gender, price, p_d, query, limited, specialoff @@ -43,6 +43,8 @@ var size, color, style, standard, gender, price, p_d, query, limited, specialoff
43 // 默认筛选条件 43 // 默认筛选条件
44 var defaultOpt = require('common/query-param'); 44 var defaultOpt = require('common/query-param');
45 45
  46 +require('common');
  47 +
46 // 首屏加载标志 48 // 首屏加载标志
47 var firstScreen = $('.firstscreen-goods').children().size() > 0; 49 var firstScreen = $('.firstscreen-goods').children().size() > 0;
48 var isRecYas = window.queryString.needSuggestion === 'Y' || $('.word-content').length ? 'Y' : 'N'; // 是否是关键词 50 var isRecYas = window.queryString.needSuggestion === 'Y' || $('.word-content').length ? 'Y' : 'N'; // 是否是关键词
@@ -94,8 +96,6 @@ var category = $('#category-point').val(); @@ -94,8 +96,6 @@ var category = $('#category-point').val();
94 96
95 var noResultHbs = require('product/search/no-result-new.hbs'); 97 var noResultHbs = require('product/search/no-result-new.hbs');
96 98
97 -require('common');  
98 -  
99 C_ID = window._ChannelVary[window.cookie('_Channel')]; 99 C_ID = window._ChannelVary[window.cookie('_Channel')];
100 100
101 // 首屏无数据 101 // 首屏无数据