Commit 62fda92f by libai

测试

parent 14dd8eb4
Showing with 9 additions and 4 deletions
......@@ -168,15 +168,20 @@ function loginGo(){
loginLayer()
return;
}
if($(".search-input").val()==''||$(".search-input").val().split(" ").join("").length == 0){
layer.msg("請輸入要搜索的內容")
return;
}
window.location.href="https://www.footseen.xyz/yazhaiTest/search/index.html?search="+$(".search-input").val()+""
})
$(".search-input").on("keydown",function(event){
if(localStorage.uid==undefined){
loginLayer()
return;
}
if (event.keyCode == "13") {
if(localStorage.uid==undefined){
loginLayer()
return;
}
if($(".search-input").val()==''||$(".search-input").val().split(" ").join("").length == 0){
layer.msg("請輸入要搜索的內容")
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment