layer mobile 指定URL连接 弹全屏

mac2022-06-30  83

var url_a = $("#"+id).attr("alt"); //打开新页面 var pageii = layer.open({ type: 1, btn: ["点击关闭本页面"], yes: function(index){ layer.close(index); }, content: "<iframe src="+url_a+" width='100%' height='96%'></iframe>", style: 'position:fixed; left:0; top:0; width:100%; height:96%; border:none;' });

官网网址:http://layer.layui.com/mobile/

转载于:https://www.cnblogs.com/hgj123/p/5583613.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)