// 页面聚焦 document.getElementById("gamebody").onclick = function () { window.focus(); } this.onclick = function () { window.focus(); }