Showing
1 changed file
with
2 additions
and
5 deletions
@@ -70,9 +70,8 @@ chHammer.on('tap', function() { | @@ -70,9 +70,8 @@ chHammer.on('tap', function() { | ||
70 | // 跳到搜索页 | 70 | // 跳到搜索页 |
71 | function goSearch(query) { | 71 | function goSearch(query) { |
72 | // 保存搜索的内容 | 72 | // 保存搜索的内容 |
73 | - | ||
74 | writeSearch.setHistoryValFun(query); | 73 | writeSearch.setHistoryValFun(query); |
75 | - document.location.href = searchUrl + '?query=' + encodeURIComponent(query); | 74 | + document.location.href = searchUrl + '?from=search&query=' + encodeURIComponent(query); |
76 | } | 75 | } |
77 | 76 | ||
78 | // 搜索输入联动 | 77 | // 搜索输入联动 |
@@ -186,12 +185,10 @@ $('.search-items .search-group').on('click', 'li', function(event) { | @@ -186,12 +185,10 @@ $('.search-items .search-group').on('click', 'li', function(event) { | ||
186 | POS_ID = 1; | 185 | POS_ID = 1; |
187 | FLR_INDEX = 1; | 186 | FLR_INDEX = 1; |
188 | } else { | 187 | } else { |
189 | - var PRD_NUM = $(this).index() + 1; | ||
190 | - | ||
191 | POS_ID = 3; | 188 | POS_ID = 3; |
192 | FLR_INDEX = 3; | 189 | FLR_INDEX = 3; |
193 | 190 | ||
194 | - yasRequest(query, PRD_NUM, 1); | 191 | + yasRequest(query, $(this).index() + 1, 1); |
195 | } | 192 | } |
196 | 193 | ||
197 | if (window._yas && window._yas.sendCustomInfo) { | 194 | if (window._yas && window._yas.sendCustomInfo) { |
-
Please register or login to post a comment