1 |
- import{d as k,T as w,D as c,o as a,c as s,F as x,C,j as l,t as I,i as d,w as o,k as T,n as j,s as q,p as z,M as D,_ as P,__tla as A}from"./index-66208f93.js";let _,B=Promise.all([(()=>{try{return A}catch{}})()]).then(async()=>{let t,r,i,n;t={class:"waterfall"},r=["href"],i=["src"],n={class:"item-name"},_=P(k({__name:"ImageTable",props:{list:{type:Array,required:!0},loading:{type:Boolean,required:!0}},emits:["delete"],setup(u,{emit:p}){const m=u,f=p;return(F,M)=>{const g=j,y=q,v=z,b=w("hasPermi"),h=D;return c((a(),s("div",t,[(a(!0),s(x,null,C(m.list,e=>(a(),s("div",{class:"waterfall-item",key:e.id},[l("a",{target:"_blank",href:e.url},[l("img",{class:"material-img",src:e.url},null,8,i),l("div",n,I(e.name),1)],8,r),d(v,{justify:"center"},{default:o(()=>[c((a(),T(y,{type:"danger",circle:"",onClick:E=>f("delete",e.id)},{default:o(()=>[d(g,{icon:"ep:delete"})]),_:2},1032,["onClick"])),[[b,["mp:material:delete"]]])]),_:2},1024)]))),128))])),[[h,m.loading]])}}}),[["__scopeId","data-v-909ef7d4"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/mp/material/components/ImageTable.vue"]])});export{B as __tla,_ as default};
|