用途:js关闭页面打开的弹出层layer,然后刷新主页面
window.parent.location.reload();
var
index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
window.parent.location.reload();
var
index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);