|
@@ -1148,6 +1148,7 @@
|
|
|
}
|
|
|
//回车事件
|
|
|
document.onkeydown = function () {
|
|
|
+ debugger
|
|
|
if(window.event && window.event.keyCode == 13) {
|
|
|
window.event.returnValue = false;
|
|
|
//超级搜索
|
|
@@ -1185,11 +1186,11 @@
|
|
|
} else {
|
|
|
var isNowIndex = $(".tabs-box .tabs-nav .active").index()
|
|
|
if (!$(".tabs-box").hasClass('hidden') && isNowIndex !== 0) {
|
|
|
- if (isNowIndex === 1) {
|
|
|
- $("#supersearchPage input[name=super_searchinput]").blur();
|
|
|
- window.isKeyDownToEntSearch = true
|
|
|
- if (vEntSearchComponent) {
|
|
|
- vEntSearchComponent.toggleEntShow(true)
|
|
|
+ if (isNowIndex === 2) {
|
|
|
+ $("#supersearchPage input[name=super_searchinput]").blur()
|
|
|
+- (window.isKeyDownToEntSearch = true)
|
|
|
+ if (vBuyerSearchComponent) {
|
|
|
+ vBuyerSearchComponent.toggleEntShow(true)
|
|
|
}
|
|
|
}
|
|
|
}
|