gameapi-client/dist-API/assets/index.fcSWyNpt.js

2 lines
621 B
JavaScript
Raw Permalink Normal View History

2025-08-14 10:33:48 +08:00
import{r as o,z as l,a0 as u,G as d,H as m,f as e,o as p,c as h,n as _,X as g}from"./index.R3qQMktZ.js";const f=["src"],w={__name:"index",props:{src:{type:String,required:!0}},setup(s){const r=s,t=o(document.documentElement.clientHeight-94.5+"px;"),n=o(!0),c=l(()=>r.src);return u(()=>{setTimeout(()=>{n.value=!1},300),window.onresize=function(){t.value=document.documentElement.clientHeight-94.5+"px;"}}),(i,v)=>{const a=d("loading");return m((p(),h("div",{style:g("height:"+e(t))},[_("iframe",{src:e(c),frameborder:"no",style:{width:"100%",height:"100%"},scrolling:"auto"},null,8,f)],4)),[[a,e(n)]])}}};export{w as _};