$(".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 }); })
在弹窗上再加一个弹窗:
$(".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 }); })