var e=Object.defineProperty,a=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,n=(a,t,r)=>t in a?e(a,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[t]=r;import{r as o,b as s,J as l,f as c,m as i,j as u,w as p,l as g,F as d,n as f,P as b,p as m,c as y,e as v,x,h as _}from"./index.cb0ea8b3.js";import{_ as k}from"./plugin-vue_export-helper.21dcd24c.js";var j=k({setup(){const e=o({categoryList:[],goBack(){b.goBack()},goUrl(e){m({url:`/pages/goodList/index?menuId=${e}`})},getBanner:()=>{y.dzResource().then((a=>{e.categoryList=a.benDiMenu,console.log(a.benDiMenu)}))}});s((()=>{e.getBanner()}));return((e,o)=>{for(var s in o||(o={}))t.call(o,s)&&n(e,s,o[s]);if(a)for(var s of a(o))r.call(o,s)&&n(e,s,o[s]);return e})({},l(e))}},[["render",function(e,a,t,r,n,o){const s=v("van-icon"),l=x,b=v("van-sticky"),m=v("van-image"),y=v("van-col"),k=v("van-row");return c(),i("div",{class:"container"},[u(b,null,{default:p((()=>[u(l,{class:"justify-center bg-white sh pd-px-20 mg-b-20"},{default:p((()=>[u(s,{class:"top-left",name:"arrow-left",onClick:e.goBack},null,8,["onClick"]),u(l,{class:"top-center"},{default:p((()=>[g("智能专区")])),_:1})])),_:1})])),_:1}),u(l,{style:{"margin-top":"3px","margin-bottom":"50rpx"}},{default:p((()=>[u(l,null,{default:p((()=>[u(k,{gutter:"10",class:"pd-h-px-10"},{default:p((()=>[(c(!0),i(d,null,f(e.categoryList,((a,t)=>(c(),_(y,{span:"12",key:t},{default:p((()=>[u(m,{onClick:t=>e.goUrl(a.id),style:{"margin-bottom":"20rpx"},radius:"20rpx",src:a.logoImg},null,8,["onClick","src"])])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})])}],["__scopeId","data-v-2b5b8558"]]);export{j as default};
