layer.open({
type: 2,
area:["500px","400px"],
content: "test.html"
})修改弹出框大小。在layer.opren()方法里面使用area:[]设置弹出框的宽/高。
layui调整弹框尺寸大小代码分享
layer.open({
type: 2,
area:["500px","400px"],
content: "test.html"
})修改弹出框大小。在layer.opren()方法里面使用area:[]设置弹出框的宽/高。