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