2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{i as n,b as _}from"./element-plus.5df6f736.js";import{u,g as r,b as l,d as g}from"./index.1f78e617.js";import{d as h,b,o as f,J as y,K as e,H as I,u as i,a as p,T as S,b7 as v,b6 as w}from"./@vue.108c970a.js";import"./@vueuse.d3d080b7.js";import"./@element-plus.d6eabd08.js";import"./lodash-es.29c53eac.js";import"./dayjs.50c3b6f7.js";import"./axios.c2a2014a.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.33f675f2.js";import"./vue-router.ed788fee.js";import"./pinia.eff1ffd5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.5d5b8bda.js";import"./color.da05fa89.js";import"./clone.06747a68.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.1c707d7b.js";import"./ms.a9ae1d6d.js";import"./nprogress.fc605139.js";import"./vue-clipboard3.dc900a40.js";import"./clipboard.6beb87aa.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.241b9b5d.js";const N=t=>(v("data-v-8b12a43d"),t=t(),w(),t),x=N(()=>p("div",{class:"image-slot"},null,-1)),B={class:"image-slot"},P=h({__name:"decoration-img",props:{width:{type:[String,Number],default:"auto"},height:{type:[String,Number],default:"auto"},radius:{type:[String,Number],default:0},...n},setup(t){const o=t,{getImageUrl:s}=u(),a=b(()=>({width:r(o.width),height:r(o.height),borderRadius:r(o.radius)}));return(m,k)=>{const c=l,d=_;return f(),y(d,I({style:i(a)},o,{src:i(s)(m.src)}),{placeholder:e(()=>[x]),error:e(()=>[p("div",B,[S(c,{name:"el-icon-Picture",size:30})])]),_:1},16,["style","src"])}}});const ct=g(P,[["__scopeId","data-v-8b12a43d"]]);export{ct as default};
|