...
|
...
|
@@ -61,10 +61,9 @@ chHammer.on('tap', function() { |
|
|
});
|
|
|
|
|
|
// 跳到搜索页
|
|
|
function GoSearch(query) {
|
|
|
function goSearch(query) {
|
|
|
// 保存搜索的内容
|
|
|
writeSearch.setHistoryValFun(query);
|
|
|
console.log(searchUrl);
|
|
|
document.location.href = searchUrl + '?query=' + query;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -112,7 +111,7 @@ function inputAction() { |
|
|
}
|
|
|
|
|
|
$searchAssociate.find('li').on('touchend', function() {
|
|
|
GoSearch($(this).find('.keyword').html());
|
|
|
goSearch($(this).find('.keyword').html());
|
|
|
});
|
|
|
},
|
|
|
error: function() {
|
...
|
...
|
@@ -134,7 +133,7 @@ $('.search-items .search-group').on('click', 'li', function(event) { |
|
|
query = $(event.target).find('a').html();
|
|
|
}
|
|
|
|
|
|
GoSearch(query);
|
|
|
goSearch(query);
|
|
|
});
|
|
|
|
|
|
inputAction();
|
...
|
...
|
|