<button type="button" onclick="window.close();">
关闭当前页面
原文:https://www.cnblogs.com/xiaobiaomei/p/9283674.html