...
|
...
|
@@ -75,7 +75,8 @@ function getSource(column, postition, event) { |
|
|
} catch (e) {}
|
|
|
}
|
|
|
|
|
|
function submitSearch() {
|
|
|
|
|
|
window.submitSearch = function() {
|
|
|
var $keywordinput = $('#query_key').val();
|
|
|
var column = 'Search';
|
|
|
var postition = 'Head Search';
|
...
|
...
|
@@ -97,6 +98,7 @@ function submitSearch() { |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 定义购物车扩展
|
|
|
*/
|
...
|
...
|
@@ -185,7 +187,7 @@ function actionGoodsCart() { |
|
|
listIndex = (listIndex + 1) % queryNum;
|
|
|
getText(this);
|
|
|
} else if (event.which === 13) {
|
|
|
submitSearch();
|
|
|
window.submitSearch();
|
|
|
} else {
|
|
|
getKeywords(this);
|
|
|
}
|
...
|
...
|
|