2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{i as d,b as n}from"./element-plus.ab0703f2.js";import{u as _,g as e,b as u,d as l}from"./index.5ab034a5.js";import{d as g,b as h,o as b,P as f,Q as r,M as y,u as I,a as i,W as v,bk as S,bj as w}from"./@vue.340249d8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.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.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.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"},k=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,B)=>{const m=u,c=n;return b(),f(c,y({style:s.value},o,{src:I(p)(a.src)}),{placeholder:r(()=>[x]),error:r(()=>[i("div",P,[v(m,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const mt=l(k,[["__scopeId","data-v-8b12a43d"]]);export{mt as default};
|