2 lines
1.9 KiB
JavaScript
2 lines
1.9 KiB
JavaScript
import{i as d,b as n}from"./element-plus.74337649.js";import{u as _,h as r,b as u,d as l}from"./index.59d2be02.js";import{d as g,b as h,o as f,P as b,Q as e,a as i,W as y,M as I,u as v,bg as S,bf as w}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.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.79024f1a.js";const N=t=>(S("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>i("div",{class:"image-slot"},null,-1)),P={class:"image-slot"},B=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(m,k)=>{const a=u,c=n;return f(),b(c,I({style:s.value},o,{src:v(p)(m.src)}),{placeholder:e(()=>[x]),error:e(()=>[i("div",P,[y(a,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const _t=l(B,[["__scopeId","data-v-8b12a43d"]]);export{_t as default};
|