物管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
933 B

import{d as r,c as i,B as l,p as d,o as t,b as o,g as a}from"./index-bVOhw2NF.js";const c=r({name:"EsH5",components:{},props:{options:{type:Object,default:()=>({})},element:{type:Object,default:()=>({})}},emits:["updateValue","update:eventData"],setup(e){const s=i(()=>`display: block; object-fit: ${e.options.fitStyle};`);return{...l(e.options),getStyle:s}}}),f={style:{width:"100%",height:"100%"},draggable:"false"},p=["src"],u={key:1,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center",border:"1px solid #00ffff","box-sizing":"border-box",color:"#F5A623"}};function m(e,s,n,h,b,g){return t(),o("div",f,[e.href?(t(),o("iframe",{key:0,src:e.href,width:"100%",height:"100%",sandbox:"allow-scripts allow-modals allow-same-origin",frameborder:"0",draggable:"false"},null,8,p)):a("",!0),e.href?a("",!0):(t(),o("div",u," 暂无内容 "))])}const _=d(c,[["render",m]]);export{_ as default};