import{A as e,B as t,H as n,M as r,W as i,_ as a,c as o,f as s,g as c,m as l,x as u}from"./index-HVdHQ9Gs.js";var d={id:`Menu`,class:`general-page`},f={class:`columns`},p={class:`cat`},m={class:`subtitle`},h={class:`items`},g={class:`number`},_={class:`name`},v={key:0,class:`sub`},y=2,b=o(u({__name:`Menu`,setup(o){let u=[{cat:`🍖 猪肉`,items:[{name:`玉米排骨汤`,recommend:!0},{name:`红烧蜜汁五花肉`,sub:`+卤蛋`,recommend:!0},{name:`蒜香炸排骨`},{name:`椒盐排骨`},{name:`酱香排骨`},{name:`四川回锅肉`},{name:`蒜蓉粉丝蒸排骨`}]},{cat:`🍗 鸡肉`,items:[{name:`土豆炖鸡腿`,recommend:!0},{name:`香烤鸡腿`,recommend:!0},{name:`可乐鸡翅`},{name:`照烧鸡翅`}]},{cat:`🥩 牛肉`,items:[{name:`煎牛排`},{name:`牛肉粉丝汤`}]},{cat:`🐟 海鲜`,items:[{name:`煎三文鱼皮`}]},{cat:`🥗 菜`,items:[{name:`肉丁炒芹菜`,recommend:!0},{name:`干锅菜花`,recommend:!0},{name:`韭菜炒蛋`},{name:`红烧土豆`},{name:`葱花鸡蛋`},{name:`白菜炖粉条`},{name:`素炒绿叶菜`,sub:`大白菜/小油菜`}]},{cat:`🍜 面条`,items:[{name:`味噌叉烧豚骨面`},{name:`番茄牛肉面`},{name:`黑椒炒意面`},{name:`炒面`,sub:`挂面/乌冬/意面/方便面`}]},{cat:`🍥 其他的`,items:[{name:`鸡蛋火腿吐司`,recommend:!0},{name:`茶叶蛋`}]},{cat:`🍛 主食`,items:[{name:`照烧肥牛饭`,sub:`肥牛片/五花肉`,recommend:!0},{name:`咖喱饭`,sub:`牛肉块/肥牛片/五花肉`},{name:`炒饭`}]},{cat:`🍰 蛋糕`,subtitle:`（要提前几天预定哦！ qwq`,items:[{name:`提拉米苏`,recommend:!0}]},{cat:`🍸 饮料`,items:[{name:`白桃奶油鸡尾酒`,recommend:!0,original:!0},{name:`火龙果葡萄酒`,original:!0},{name:`水果宾治鸡尾酒`}]}],b=t(Array.from({length:y},()=>[])),x=Array.from(u);x.sort((e,t)=>t.items.length-e.items.length);let S=Array(y).fill(0);for(let e of x){let t=S.indexOf(Math.min(...S));e.column=t,S[t]+=e.items.length}for(let e=0;e<y;e++)b.value[e]=u.filter(t=>t.column==e);let C=0;return b.value.forEach(e=>e.forEach(e=>e.items.forEach(e=>e.id=C++))),(t,o)=>(e(),a(`div`,d,[o[0]||=l(`div`,{class:`title`},[l(`h2`,null,`小桂桂的私房菜 菜单`),l(`div`,{class:`subtitle`},`在桂桂家里可以吃到这些哦`)],-1),l(`div`,f,[(e(!0),a(s,null,r(b.value,(t,o)=>(e(),a(`div`,{class:`column`,key:o},[(e(!0),a(s,null,r(t,t=>(e(),a(`div`,{class:`category`,key:t.cat},[l(`div`,p,i(t.cat)+`！`,1),l(`div`,m,i(t.subtitle),1),l(`div`,h,[(e(!0),a(s,null,r(t.items,t=>(e(),a(`div`,{class:n([`item`,{recommend:t.recommend,original:t.original}]),key:t.name},[l(`span`,g,i(t.id)+`. `,1),l(`span`,_,i(t.name),1),t.sub?(e(),a(`span`,v,`（`+i(t.sub)+`）`,1)):c(``,!0)],2))),128))])]))),128))]))),128))])]))}}),[[`__scopeId`,`data-v-718de825`]]);export{b as default};