1 |
- import{d as b,r as g,o as l,c as a,j as f,a as o,F as m,C,i as r,w as y,ay as w,t as z,S as c,a1 as d,n as j,s as A,_ as F,__tla as B}from"./index-2f799233.js";import{E as D,__tla as E}from"./el-image-4d26fa76.js";import{__tla as q}from"./el-image-viewer-8e9e3571.js";let v,I=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return E}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(O){const t=g(!0),_=()=>{t.value=!t.value};return(e,P)=>{const u=j,h=D,k=A;return l(),a(m,null,[f("div",{class:d(["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"}])},[o(t)?(l(!0),a(m,{key:0},C(e.property.list,(s,x)=>(l(),a("div",{key:x,class:"flex flex-col items-center",onClick:S=>e.handleActive(x)},[r(h,{src:s.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[f("div",n,[r(u,{icon:"ep:picture",color:s.textColor},null,8,["color"])])]),_:2},1032,["src"]),e.property.showText?(l(),a("span",{key:0,class:"mt-4px text-12px",style:w({color:s.textColor})},z(s.text),5)):c("",!0)],8,i))),128)):c("",!0),r(k,{type:"primary",size:"large",circle:"",onClick:_},{default:y(()=>[r(u,{icon:"ep:plus",class:d(["fab-icon",{active:o(t)}])},null,8,["class"])]),_:1})],2),o(t)?(l(),a("div",{key:0,class:"modal-bg",onClick:_})):c("",!0)],64)}}}),v=F(p,[["__scopeId","data-v-5ef8fad6"],["__file","D:/zx/mall-newfeifan-zx-business/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{I as __tla,v as default};
|