var Dialog=require("./dialogPC.js"),Preview={mobile:function(e){var r=$(window).height()-20,i=218*r/400,a=140*r/1e3,n=105*r/1e3;r=parseInt(r),i=parseInt(i),a=parseInt(a),n=parseInt(n);var o=['<div style="width:',i,"px;height:",r,'px;background:url(/assets/lib/img/phone.png) no-repeat center transparent;background-size:cover;">','<iframe style="border:none;width:',i,"px;height:",r-a-n,"px;margin-top:",a,'px;" src="',e,'"></iframe>',"</div>"],t={openCallback:function(){$(".layui-layer-page").css({borderRadius:"20px"})}};Dialog.dialogContent(o.join(""),t)}};module.exports=Preview;