IFrame-412cfd2a.js 763 B

1
  1. import{d as i,ah as u,r as e,l as _,x as f,a as t,o as h,c as d,g,au as p,I as x,_ as y,__tla as I}from"./index-4133fd21.js";let n,v=Promise.all([(()=>{try{return I}catch{}})()]).then(async()=>{let a;a=["src"],n=y(i({name:"IFrame",__name:"IFrame",props:{src:u.string.def("")},setup(l){const m=l,s=e(!0),r=e(""),c=e(null);return _(()=>{setTimeout(()=>{r.value=document.documentElement.clientHeight-94.5+"px",s.value=!1},300)}),(F,b)=>{const o=x;return f((h(),d("div",{style:p("height:"+t(r))},[g("iframe",{ref_key:"frameRef",ref:c,src:m.src,frameborder:"no",scrolling:"auto",style:{width:"100%",height:"100%"}},null,8,a)],4)),[[o,t(s)]])}}}),[["__file","D:/zhongxing/mall-newfeifan-zx-business/src/components/IFrame/src/IFrame.vue"]])});export{n as _,v as __tla};