1 |
- import{d as b,r as g,o as a,c as l,B as f,a as s,F as m,R as w,f as o,A as d,aH as C,E as z,a3 as c,ad as y,Q as A,J as B,_ as E,__tla as F}from"./index-286756b9.js";import{E as j,__tla as D}from"./el-image-73c105b7.js";import{__tla as q}from"./el-image-viewer-e0e5d3be.js";let v,H=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return q}catch{}})()]).then(async()=>{let i,n,p;i=["onClick"],n={class:"h-full w-full flex items-center justify-center"},p=b({name:"FloatingActionButton",__name:"index",props:{property:{type:Object,required:!0}},setup(I){const t=g(!0),_=()=>{t.value=!t.value};return(e,J)=>{const x=A,h=j,k=B;return a(),l(m,null,[f("div",{class:y(["absolute bottom-32px right-[calc(50%-375px/2+32px)] flex z-12 gap-12px items-center",{"flex-row":e.property.direction==="horizontal","flex-col":e.property.direction==="vertical"}])},[s(t)?(a(!0),l(m,{key:0},w(e.property.list,(r,u)=>(a(),l("div",{key:u,class:"flex flex-col items-center",onClick:O=>e.handleActive(u)},[o(h,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:d(()=>[f("div",n,[o(x,{icon:"ep:picture",color:r.textColor},null,8,["color"])])]),_:2},1032,["src"]),e.property.showText?(a(),l("span",{key:0,class:"mt-4px text-12px",style:C({color:r.textColor})},z(r.text),5)):c("",!0)],8,i))),128)):c("",!0),o(k,{type:"primary",size:"large",circle:"",onClick:_},{default:d(()=>[o(x,{icon:"ep:plus",class:y(["fab-icon",{active:s(t)}])},null,8,["class"])]),_:1})],2),s(t)?(a(),l("div",{key:0,class:"modal-bg",onClick:_})):c("",!0)],64)}}}),v=E(p,[["__scopeId","data-v-5ef8fad6"],["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{H as __tla,v as default};
|