2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{i as d,b as n}from"./element-plus.10e48c93.js";import{u as _,h as e,b as u,d as l}from"./index.5b774352.js";import{d as g,e as h,o as f,K as b,L as r,a as i,U as I,I as y,u as v,bf as S,be as w}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.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.40d5feba.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:e(o.width),height:e(o.height),borderRadius:e(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:r(()=>[x]),error:r(()=>[i("div",B,[I(m,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const ct=l(P,[["__scopeId","data-v-8b12a43d"]]);export{ct as default};
|