From 5745fee3bdf95556a2999fc9699bcf73120a21ba Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Sat, 12 Oct 2019 18:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E5=AE=98=E7=BD=91->?= =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E5=B8=AE=E5=8A=A9->=E6=A8=A1=E7=B3=8A?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Media/View/default/Service/detail.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Application/Media/View/default/Service/detail.html b/Application/Media/View/default/Service/detail.html index 4ed693f54..dc66c8ed9 100644 --- a/Application/Media/View/default/Service/detail.html +++ b/Application/Media/View/default/Service/detail.html @@ -86,7 +86,8 @@ } var oLis = DOM.getElesByClass("tabOption"); var flag = 0; - var upFlag = oLis.length;; (function() { + var upFlag = oLis.length; + (function() { function fn(e) { e = e || window.event; if (e.wheelDelta) { @@ -180,6 +181,12 @@ // console.log(url); window.location.href = url; }); + + $('#search_value').bind('keypress', function (event) { + if(event.keyCode == 13){ + $('#search_btn').click(); + } + }); })(); \ No newline at end of file