//关闭当前窗口 function closeCurrentWindow(){ top.window.opener=null; top.window.open("", "_self"); top.window.close(); }