1 |
- !function(){var e=document.createElement("style");e.innerHTML=".iframe-view-box[data-v-14e221be],.iframe-view[data-v-14e221be]{width:100%;height:calc(100vh - 84px)}.iframe-view[data-v-14e221be]{border:0px}\n",document.head.appendChild(e),System.register(["./index-legacy.b1d2c0da.js"],(function(e){"use strict";var r,a,t,i,n,d,c;return{setters:[function(e){r=e._,a=e.d,t=e.r,i=e.o,n=e.c,d=e.u,c=e.a}],execute:function(){const u={class:"iframe-view-box"},s=["src"],l={key:1,style:{padding:"0.8em"}},m=a({name:"iframe-view"});e("default",r(Object.assign(m,{setup(e){const r=c(),a=t({url:r.meta.iframeUrl||decodeURIComponent(r.query.url)});return(e,r)=>(i(),n("div",u,[d(a).url&&"undefined"!==d(a).url?(i(),n("iframe",{key:0,class:"iframe-view",src:d(a).url},null,8,s)):(i(),n("div",l,"Iframe 视图请提供 url 参数"))]))}}),[["__scopeId","data-v-14e221be"]]))}}}))}();
|