index-da990d38.js 1.7 KB

1
  1. import{d as g,r as w,o as a,c as l,h as m,a as s,F as f,v as b,g as o,w as y,az as z,t as C,Q as c,a0 as d,q as A,D,_ as F,__tla as j}from"./index-3fb48822.js";import{E as q,__tla as B}from"./el-image-27385f7d.js";import{__tla as E}from"./el-image-viewer-ff953702.js";let v,I=Promise.all([(()=>{try{return j}catch{}})(),(()=>{try{return B}catch{}})(),(()=>{try{return E}catch{}})()]).then(async()=>{let i,n,p;i=["onClick"],n={class:"h-full w-full flex items-center justify-center"},p=g({name:"FloatingActionButton",__name:"index",props:{property:{type:Object,required:!0}},setup(O){const t=w(!0),_=()=>{t.value=!t.value};return(e,P)=>{const x=A,h=q,k=D;return a(),l(f,null,[m("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"}])},[s(t)?(a(!0),l(f,{key:0},b(e.property.list,(r,u)=>(a(),l("div",{key:u,class:"flex flex-col items-center",onClick:Q=>e.handleActive(u)},[o(h,{src:r.imgUrl,fit:"contain",class:"h-27px w-27px"},{error:y(()=>[m("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:z({color:r.textColor})},C(r.text),5)):c("",!0)],8,i))),128)):c("",!0),o(k,{type:"primary",size:"large",circle:"",onClick:_},{default:y(()=>[o(x,{icon:"ep:plus",class:d(["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=F(p,[["__scopeId","data-v-5ef8fad6"],["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue"]])});export{I as __tla,v as default};