document.onclick = function(){ $(".gameCategory").hide();} 转载于:https://www.cnblogs.com/RonnieQin/p/8342257.html