• jauery-layer弹出框的使用


    一布局:

      

     <div id="detailLayer">
            <div class="box-header">
                <div class="title"><p class="them">现有员工</p></div>
                <div class="title  export"><a class="export-btn">导出</a></div>
                <div>
                    <span class="layui-layer-setwin">
                        <a class="layui-layer-ico layui-layer-close layui-layer-close1" href="javascript:;"></a>
                    </span>
                </div>
            </div>
            <div class="content">
            </div>
            <div class="detailPag">
            </div>
        </div>

    二:设置参数

      

           //打开弹窗
                layer.open({
                    title: '人员详情',
                    type: 1, //加上边框
                    area: ['1100px', '552px'], //宽高
                    fix: false,
                    move: false, moveOut: true, scrollbar: false, anim: 0,
                    content: $('#detailLayer'),
                    success: function () {
                        $('.layui-layer-title').remove();
                        $('.layui-layer-content').siblings().remove();
                        setTimeout(function () {
                            $('.layui-layer-content').css({ "overflow": "hidden" });
                        }, 200)
                    }
                });
  • 相关阅读:
    二分查找
    二分排序
    How to use hdu?
    HGOI 20200721
    HGOI 20200720
    HGOI 20190719
    HGOI 20200716
    HGOI 20190714
    LCA 的一些扩展算法
    HGOI 20190711
  • 原文地址:https://www.cnblogs.com/jcxfighting/p/8109543.html
Copyright © 2020-2023  润新知