layer弹出层显示在top顶层

top.layer.open({
type : 2,
title : '修改',
maxmin : true,
shadeClose : false,
area : [ '1200px', '600px' ],
content : prefix + '/edit/' + id ,// iframe的url
end: function(){
reLoad();//刷新层
}
});


// 关闭层
var index = top.layer.getFrameIndex(window.name); // 获取窗口索引
top.layer.close(index);

 

posted @ 2018-08-10 09:14  liw66  阅读(3930)  评论(0编辑  收藏  举报