2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{i as d,b as n}from"./element-plus.9175fe58.js";import{u as _,g as e,b as u,d as l}from"./index.026c5631.js";import{d as g,b as h,o as b,M as f,O as r,K as y,u as I,a as i,W as v,bk as S,bj as w}from"./@vue.c3e77981.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.1f51da93.js";import"./axios.13991fdc.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.6c5d06b3.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.23ed6179.js";import"./color.9c368256.js";import"./clone.e9277309.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.212df0f4.js";import"./vue-clipboard3.f310ddad.js";import"./clipboard.141ef824.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";const N=t=>(S("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>i("div",{class:"image-slot"},null,-1)),k={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:s}=_(),p=h(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(a,P)=>{const m=u,c=n;return b(),f(c,y({style:p.value},o,{src:I(s)(a.src)}),{placeholder:r(()=>[x]),error:r(()=>[i("div",k,[v(m,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const at=l(B,[["__scopeId","data-v-8b12a43d"]]);export{at as default};
|