$("body").append("<div id='mask' style='position: absolute;width: 800px;height: 50px;background: grey;top: 722px;left: 390px;'></div>");
$("body").bind("keydown", (e) => {console.log(e); if(e.which==88){$("#mask").toggle()}});

 

相关文章:

  • 2022-12-23
  • 2021-12-18
  • 2021-07-15
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-22
  • 2021-10-08
  • 2021-08-05
  • 2021-12-19
  • 2022-12-23
  • 2021-04-10
相关资源
相似解决方案