2 lines
1.9 KiB
JavaScript
2 lines
1.9 KiB
JavaScript
import{i as d,b as n}from"./element-plus.7fac9e8c.js";import{u as _,h as r,b as u,d as l}from"./index.790484d9.js";import{d as g,b as h,o as f,K as b,L as e,a as i,U as I,I as y,u as v,bg as S,bf as w}from"./@vue.d637abc3.js";import"./lodash-es.151604d4.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.d7d1da82.js";import"./@element-plus.10970f06.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.ffb5376d.js";import"./axios.f9df025a.js";import"./vue-router.1750fa4b.js";import"./pinia.065bb054.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.d1ea016b.js";import"./color.992612d2.js";import"./clone.d8d3ae9a.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.4e7fd6e6.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.bbdcd52a.js";const N=t=>(S("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>i("div",{class:"image-slot"},null,-1)),B={class:"image-slot"},P=g({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...d},setup(t){const o=t,{getImageUrl:p}=_(),s=h(()=>({width:r(o.width),height:r(o.height),borderRadius:r(o.radius)}));return(a,U)=>{const m=u,c=n;return f(),b(c,y({style:s.value},o,{src:v(p)(a.src)}),{placeholder:e(()=>[x]),error:e(()=>[i("div",B,[I(m,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const dt=l(P,[["__scopeId","data-v-8b12a43d"]]);export{dt as default};
|