2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
import{i as n,b as _}from"./element-plus.54aed4cc.js";import{u,g as e,b as l,d as g}from"./index.58a5fcc1.js";import{d as h,e as f,o as b,K as I,L as r,I as y,u as i,a as p,U as S,b7 as v,b6 as w}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.f1e4cccc.js";import"./axios.d363e68d.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.c4b79a6f.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3c571821.js";import"./color.0ff1625c.js";import"./clone.78cb864b.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a0babc59.js";import"./ms.a9ae1d6d.js";import"./nprogress.046b2704.js";import"./vue-clipboard3.8c1c7368.js";import"./clipboard.5f2f245e.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.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=f(()=>({width:e(o.width),height:e(o.height),borderRadius:e(o.radius)}));return(m,U)=>{const c=l,d=_;return b(),I(d,y({style:i(a)},o,{src:i(s)(m.src)}),{placeholder:r(()=>[x]),error:r(()=>[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};
|