http://layer.layui.com/api.html
https://www.layui.com/demo/layer.html
【1】layer.open
<span id="reset" οnclick="uploadfile()">添加</span>
function uploadfile() {
//window.open(this.href, '', 'width=255,height=255');
layer.open({
type: 2,
skin: 'layui-layer-demo', //样式类名
title: '',
closeBtn: 0, //不显示关闭按钮
anim: 2,
area: ['680px', '380px'],
shadeClose: true, //开启遮罩关闭
content: 'img.html'
});
}
<div style="position:absolute;z-index:99;backgrou