新增:官网->客服帮助->模糊搜索

master
chenxiaojun 5 years ago
parent b668140aed
commit dea1cb1283

@ -86,7 +86,8 @@
} }
var oLis = DOM.getElesByClass("tabOption"); var oLis = DOM.getElesByClass("tabOption");
var flag = 0; var flag = 0;
var upFlag = oLis.length;; (function() { var upFlag = oLis.length;
(function() {
function fn(e) { function fn(e) {
e = e || window.event; e = e || window.event;
if (e.wheelDelta) { if (e.wheelDelta) {
@ -180,6 +181,12 @@
// console.log(url); // console.log(url);
window.location.href = url; window.location.href = url;
}); });
$('#search_value').bind('keypress', function (event) {
if(event.keyCode == 13){
$('#search_btn').click();
}
});
})(); })();
</script> </script>
</block> </block>
Loading…
Cancel
Save