IFrame-ebc88b18.js 761 B

1
  1. import{d as u,ah as i,r as e,l as _,x as f,a as t,o as h,c as d,g as p,au as g,I as x,_ as y,__tla as I}from"./index-a6b4da5c.js";let l,v=Promise.all([(()=>{try{return I}catch{}})()]).then(async()=>{let a;a=["src"],l=y(u({name:"IFrame",__name:"IFrame",props:{src:i.string.def("")},setup(n){const m=n,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:g("height:"+t(r))},[p("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:/zx/mall-newfeifan-zx-business/src/components/IFrame/src/IFrame.vue"]])});export{l as _,v as __tla};