摘要: //文本里面可以加html标签 let sure = layer.msg('<span style="font-size:20px">确定喜欢她吗?</span>', { time: 0 //0表示不自动关闭 ,time自动关闭所需毫秒 ,单位是毫秒(1秒=1000毫秒) , btn: ['<spa 阅读全文
posted @ 2020-07-17 15:26 Ao_min 阅读(5767) 评论(0) 推荐(0) 编辑
摘要: let html = "这里面写任何html内容"; 比如:let html ='<div class="nav_upload">\n' + ' <input type="text" value="我是html"/>\n' + '</div>\n' + '<script>\n' + '这里写交互功能 阅读全文
posted @ 2020-07-17 15:24 Ao_min 阅读(4644) 评论(0) 推荐(0) 编辑
摘要: 如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '数据选择器', content: $('#select_pe_content').html(), area: ["920px", "250px"], }); 如果conte 阅读全文
posted @ 2020-07-17 14:57 Ao_min 阅读(8103) 评论(0) 推荐(0) 编辑