Commit ae839ddd by libai

测试

parent ede1a6c6
Showing with 5 additions and 1 deletions
...@@ -129,6 +129,11 @@ $(function(){ ...@@ -129,6 +129,11 @@ $(function(){
$(".search-input").val(searchData) $(".search-input").val(searchData)
searchGoUser(searchData,3) searchGoUser(searchData,3)
searchGoVideo(searchData,12) searchGoVideo(searchData,12)
if(noVideo==true&&noUser==true){
$(".like-no-box p").text('找到'+searchData+'相關內容 0 個,相關用戶 0 人')
$(".like-no-box").show()
return;
}
} }
$(".search-top-box div").on("click",function(){ $(".search-top-box div").on("click",function(){
var _self=$(this) var _self=$(this)
...@@ -143,7 +148,6 @@ $(function(){ ...@@ -143,7 +148,6 @@ $(function(){
$(".like-no-box").show() $(".like-no-box").show()
return; return;
} }
console.log(noUser,noVideo)
$(".like-no-box").hide() $(".like-no-box").hide()
} }
else if(_self.attr("data-type")==2){ else if(_self.attr("data-type")==2){
......
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