2 lines
920 B
JavaScript
2 lines
920 B
JavaScript
import{an as m,aA as d}from"./bootstrap-DsjPfOC_.js";import{m as f,b9 as b,ad as s,b2 as r,bb as h,aT as _,j as o,ae as n,bJ as g,u as l,bp as v,I as y}from"../jse/index-index-CO0ZsLf2.js";const x=["onClick"],w={class:"flex h-full w-full items-center justify-center"},k={class:"absolute right-1 top-1 text-xs"},$=f({name:"Popover",__name:"index",props:{property:{}},setup(c){const i=c,t=b(0);function p(a){t.value=a}return(a,I)=>(r(!0),s(y,null,h(i.property.list,(u,e)=>(r(),s("div",{key:e,class:"absolute bottom-1/2 right-1/2 h-[454px] w-[292px] rounded border border-gray-300 bg-white p-0.5",style:_({zIndex:100+e+(t.value===e?100:0),marginRight:`${-146-e*20}px`,marginBottom:`${-227-e*20}px`}),onClick:B=>p(e)},[o(l(d),{src:u.imgUrl,preview:!1,class:"h-full w-full object-contain"},{error:g(()=>[n("div",w,[o(l(m),{icon:"lucide:image"})])]),_:1},8,["src"]),n("div",k,v(e+1),1)],12,x))),128))}});export{$ as default};
|