| | |
| | | // extend: 'myskin/FlareClusterLayer.css' |
| | | // }); |
| | | // layuiLayer.close(layuiLayer.index); |
| | | |
| | | if (nowIndex != null) { |
| | | layuiLayer.close(nowIndex); |
| | | } |
| | | layuiLayer.open({ |
| | | title: '', |
| | | anim: 2, |
| | | type: 2, |
| | | shadeClose: true, |
| | | shade: false, |
| | | skin: 'demo-class', |
| | | id: 'onelyTwo', |
| | | maxmin: false, //开启最大化最小化按钮 |
| | | area: ['250px', '250px'], |
| | | area: ['100px', '100px'], |
| | | // area: 'auto', |
| | | // offset: winSize, |
| | | offset: 'b', |
| | | skin: 'flare', |
| | | isOutAnim: false, |
| | | closeBtn: 2, //关闭按钮,可通过配置1和2来展示,0关闭 |
| | | closeBtn: 1, //关闭按钮,可通过配置1和2来展示,0关闭 |
| | | content: ['./popup/user.html'], |
| | | resize: false, |
| | | scrollbar: false, |
| | | // tipsMore: true, //允许多个tipe |
| | | // content: num, |
| | | success: function (layero, index) { //成功后添加全局点击关闭 |
| | | nowIndex = index; |
| | | console.log(data, 53413541) |
| | | $("#layui-layer-iframe" + index).contents().find("#user").val(data); |
| | | // layuiLayer.close(index) |