layui常用方法时间:2023-03-09 05:54:59 很好用的一个ui组件,弹出,分页等 http://layer.layui.com/ 1 带叉叉的弹窗 layer.open({ type: , title: false, //不显示标题 content: 'hehe', //捕获的元素 area: ['400px', '200px'], //宽高 //scrollbar: false, cancel: function(index) { layer.close(index); } });