import{d as x,s as g,e,f as o,g as s,F as h,j as f,t as d,A as v,u as a,R as y,S as F,_ as k}from"./index.0308b213.js";const l=c=>(y("data-v-8b8a71c4"),c=c(),F(),c),E={class:"box"},L={class:"nav-list four-pre"},b={key:"nav-list-00",class:"item"},S=l(()=>s("div",{class:"title"},"\u5168\u90E8",-1)),z=l(()=>s("div",{class:"select"},null,-1)),B=l(()=>s("div",{style:{"font-size":"11px",color:"#808080"}},"\u7CBE\u54C1\u63A8\u8350",-1)),C=[S,z,B],I={class:"title"},w={style:{"font-size":"11px",color:"#808080"}},A={class:"goods-list"},M={style:{"margin-right":"5px"}},N={class:"item-goods__desc"},R=["src"],V={class:"item-goods__content flex flex-column flex-1"},W={class:"span-26 item-goods__title"},j=l(()=>s("div",{style:{display:"flex","align-items":"center"}},[s("div",{style:{color:"#ff0000","margin-right":"5px"}},"\uFFE588"),s("div",{style:{color:"#c6c6c6","font-size":"10px","text-decoration":"line-through"}},"\uFFE5188")],-1)),D={style:{"margin-left":"5px"}},$={class:"item-goods__desc"},q=["src"],G={class:"item-goods__content flex flex-column flex-1"},H={class:"span-26 item-goods__title"},J=l(()=>s("div",{style:{display:"flex","align-items":"center"}},[s("div",{style:{color:"#ff0000","margin-right":"5px"}},"\uFFE588"),s("div",{style:{color:"#c6c6c6","font-size":"10px","text-decoration":"line-through"}},"\uFFE5188")],-1)),K=x({props:{config:null},setup(c){const i=c,n=g(()=>{var r;const _=[];return(r=i==null?void 0:i.config)==null||r.cateList.forEach(t=>{_.push(...t.goods)}),_}),m=g(()=>n.value.slice(0,Math.ceil(n.value.length/2))),p=g(()=>n.value.slice(Math.ceil(n.value.length/2)));return(_,r)=>(e(),o("div",E,[s("div",L,[(e(),o("div",b,C)),i.config&&i.config.cateList?(e(!0),o(h,{key:0},f(i.config.cateList,(t,u)=>(e(),o("div",{key:`nav-list-${u}`,class:"item"},[s("div",I,d(t.title),1),s("div",w,d(t.info),1)]))),128)):v("",!0)]),s("div",A,[s("div",M,[a(m)?(e(!0),o(h,{key:0},f(a(m),(t,u)=>(e(),o("div",{class:"item-goods",key:t.id},[s("div",N,[s("img",{class:"item-goods__img",src:t.thumb},null,8,R),s("div",V,[s("span",W,d(t.title),1),j])])]))),128)):v("",!0)]),s("div",D,[a(p)?(e(!0),o(h,{key:0},f(a(p),(t,u)=>(e(),o("div",{class:"item-goods",key:t.id},[s("div",$,[s("img",{class:"item-goods__img",src:t.thumb},null,8,q),s("div",G,[s("span",H,d(t.title),1),J])])]))),128)):v("",!0)])])]))}});const P=k(K,[["__scopeId","data-v-8b8a71c4"]]);export{P as default};
