zoukankan      html  css  js  c++  java
  • Layerui 弹出层的位置设置

    距顶 offset: '300px'

    例1: layer.msg("请先选择项!", { offset: '300px' });
    例2: layer.confirm("确定删除吗", {
                        btn: ['确认', '取消'],
                        offset: '300px'
                        
                    }, function (index) {
                        layer.close(index);
                        $.post("feedbacklist.aspx?cmd=del", { "idlist": idlist }, function (resp) {
                            if (resp.res == 1) {
                                window.location.href = location.href; //刷新当前页
                                parent.layer.msg(resp.msg);
                            }
                            layer.msg(resp.msg);

                        }, "json");
                    }, function (index) {
                        layer.close(index);
                    });

  • 相关阅读:
    匿名方法
    优化从 App.config 读取配置文件
    显示(explicit )与隐式(implicit)转换操作符
    ( 转 ) 聊一聊C#的Equals()和GetHashCode()方法
    协变和逆变
    html frameset的介绍
    html <frame>标签使用
    html <table>标签信息
    html 列表相关信息
    html <form>相关表单
  • 原文地址:https://www.cnblogs.com/weimingxin/p/8541236.html
Copyright © 2011-2022 走看看