弹出层打开新页面后关闭整个弹窗 layer.open打开iframe页面的调用父页面方法及关闭 //关闭iframe页面var index = parent.layer.getFrameIndex(window.name); //获取窗口索引parent.layer.close(index);