12345 |
- <<<<<<<< HEAD:dist/assets/index-e678b753.js
- import{d as P,r as o,L as S,o as t,v as u,w as g,c as l,F as v,q as w,a as s,g as b,au as x,Z as T,t as k,P as y,_ as U,__tla as $}from"./index-d75b4e4d.js";import{E as F,a as H,__tla as L}from"./el-carousel-item-552ab06e.js";import{E as O,__tla as Z}from"./el-image-c9652061.js";import{__tla as A}from"./el-image-viewer-b9e519ff.js";let C,B=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return A}catch{}})()]).then(async()=>{let _,d;_={class:"flex flex-row flex-wrap"},d=P({name:"MenuSwiper",__name:"index",props:{property:{type:Object,required:!0}},setup(j){const a=j,p=o([]),h=o(0),n=o(0),m=o("");return S(()=>a.property,()=>{m.value=1/a.property.column*100+"%",n.value=32+(a.property.layout==="iconText"?62:42),h.value=a.property.row*n.value;const i=a.property.row*a.property.column;p.value=[];let r=[];for(const c of a.property.list)r.length===i&&(r=[]),r.length===0&&p.value.push(r),r.push(c)},{immediate:!0,deep:!0}),(i,r)=>{const c=O,z=F,E=H;return t(),u(E,{height:`${s(h)}px`,autoplay:!1,arrow:"hover","indicator-position":"outside"},{default:g(()=>[(t(!0),l(v,null,w(s(p),(q,D)=>(t(),u(z,{key:D},{default:g(()=>[b("div",_,[(t(!0),l(v,null,w(q,(e,M)=>{var f;return t(),l("div",{key:M,class:"relative flex flex-col items-center justify-center",style:x({width:s(m),height:`${s(n)}px`})},[b("div",{class:T(["relative","h-42px w-42px"])},[(f=e.badge)!=null&&f.show?(t(),l("span",{key:0,class:"absolute right--10px top--10px z-1 h-20px rounded-10px p-x-6px text-center text-12px leading-20px",style:x({color:e.badge.textColor,backgroundColor:e.badge.bgColor})},k(e.badge.text),5)):y("",!0),e.iconUrl?(t(),u(c,{key:1,src:e.iconUrl,class:"h-full w-full"},null,8,["src"])):y("",!0)],2),i.property.layout==="iconText"?(t(),l("span",{key:0,class:"text-12px",style:x({color:e.titleColor,height:"20px",lineHeight:"20px"})},k(e.title),5)):y("",!0)],4)}),128))])]),_:2},1024))),128))]),_:1},8,["height"])}}}),C=U(d,[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue"]])});export{B as __tla,C as default};
- ========
- import{d as P,r as o,L as S,o as t,v as u,w as g,c as l,F as v,q as w,a as s,g as b,au as x,Z as T,t as k,P as _,_ as U,__tla as $}from"./index-c9fff140.js";import{E as F,a as H,__tla as L}from"./el-carousel-item-6b3476a6.js";import{E as O,__tla as Z}from"./el-image-7432aa55.js";import{__tla as A}from"./el-image-viewer-0aee2692.js";let C,B=Promise.all([(()=>{try{return $}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return A}catch{}})()]).then(async()=>{let y,d;y={class:"flex flex-row flex-wrap"},d=P({name:"MenuSwiper",__name:"index",props:{property:{type:Object,required:!0}},setup(j){const a=j,p=o([]),h=o(0),n=o(0),m=o("");return S(()=>a.property,()=>{m.value=1/a.property.column*100+"%",n.value=32+(a.property.layout==="iconText"?62:42),h.value=a.property.row*n.value;const i=a.property.row*a.property.column;p.value=[];let r=[];for(const c of a.property.list)r.length===i&&(r=[]),r.length===0&&p.value.push(r),r.push(c)},{immediate:!0,deep:!0}),(i,r)=>{const c=O,z=F,E=H;return t(),u(E,{height:`${s(h)}px`,autoplay:!1,arrow:"hover","indicator-position":"outside"},{default:g(()=>[(t(!0),l(v,null,w(s(p),(q,D)=>(t(),u(z,{key:D},{default:g(()=>[b("div",y,[(t(!0),l(v,null,w(q,(e,M)=>{var f;return t(),l("div",{key:M,class:"relative flex flex-col items-center justify-center",style:x({width:s(m),height:`${s(n)}px`})},[b("div",{class:T(["relative","h-42px w-42px"])},[(f=e.badge)!=null&&f.show?(t(),l("span",{key:0,class:"absolute right--10px top--10px z-1 h-20px rounded-10px p-x-6px text-center text-12px leading-20px",style:x({color:e.badge.textColor,backgroundColor:e.badge.bgColor})},k(e.badge.text),5)):_("",!0),e.iconUrl?(t(),u(c,{key:1,src:e.iconUrl,class:"h-full w-full"},null,8,["src"])):_("",!0)],2),i.property.layout==="iconText"?(t(),l("span",{key:0,class:"text-12px",style:x({color:e.titleColor,height:"20px",lineHeight:"20px"})},k(e.title),5)):_("",!0)],4)}),128))])]),_:2},1024))),128))]),_:1},8,["height"])}}}),C=U(d,[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/MenuSwiper/index.vue"]])});export{B as __tla,C as default};
- >>>>>>>> 2589804fb89eb98fd6498c1ee41a354dcce32af3:dist/assets/index-75e5a3ee.js
|