使用layer.js 进行界面弹窗操作

1、界面效果如下




2、代码如下

    var width = $(window).width();
    var height = $(window).height();
    height = height*0.88;
    width = width*0.88;
    var option = {
        url : url,//开窗地址
        title:'电路比对结果详情',
        width:width,
        height:height
    };

    popWin(option);


3、插件下载及更多实例请访问官网

http://www.layui.com/doc/modules/layer.html


猜你喜欢

转载自blog.csdn.net/wohiusdashi/article/details/80765925