layui常用方法
http://www.uimaker.com/layui/doc/modules/layer.html#layer.open
layer.open({ type: 2, //0(信息框,默认是0),1(页面层),2(iframe层),3(加载层),4(tips层) title: title, //标题 area: [size[0] + 'px', size[1] + 'px'], //宽高 fixed: false, //不固定 maxmin: false, //最大最小化 content: url //内容 这里url是地址 });
共 0 条评论