jQuery 弹窗

$(".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
                            });
                        })
View Code

在弹窗上再加一个弹窗:

$(".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
                    });
                })
View Code

 

posted @ 2017-08-03 16:33  AAABONE  阅读(118)  评论(0编辑  收藏  举报