![](https://i-blog.csdnimg.cn/blog_migrate/5f94c2fecb4ccb2f76f50c965d122407.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/50828477840f9be8f01bb82af691c7d1.gif)
$(".btnPower").click(function () { var url = $(this).attr("data-url"); var name = $(this).attr("data-name"); layer.open({ type: 2, title: name, shadeClose: true, shade: 0.4, area: ['680px', '350px'], content: url }); })
在弹窗上再加一个弹窗:
![](https://i-blog.csdnimg.cn/blog_migrate/5f94c2fecb4ccb2f76f50c965d122407.gif)
![](https://i-blog.csdnimg.cn/blog_migrate/50828477840f9be8f01bb82af691c7d1.gif)
$(".btn02").click(function () { var url = $(this).attr("data-url"); parent.layer.open({ type: 2, title: "操作日志", shadeClose: true, shade: 0.5, area: ['680px', '350px'], content: url }); })