-
Notifications
You must be signed in to change notification settings - Fork 1
/
menu.js
165 lines (149 loc) · 8.82 KB
/
menu.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
function Menu() {
// empty constructor
}
Menu.profile = [
// {
// category: 'fastfood',
// categoryName: '现炒快餐',
// list: [
// { id: 'mapodoufufan', name: '麻婆豆腐饭🌶️🌶️', price: 10 },
// { id: 'shousibaocaifan', name: '手撕包菜饭🌶️', price: 10 },
// { id: 'suanlatudousifan', name: '酸辣土豆丝饭🌶️', price: 10 },
// { id: 'qingjiaochaodanfan', name: '青椒炒蛋饭🌶️', price: 12 },
// { id: 'xihongshichaodanfan', name: '西红柿炒蛋饭', price: 12 },
// { id: 'suancaichaodanfan', name: '酸菜炒蛋饭', price: 12 },
// { id: 'suancaitoupianfan', name: '酸菜肉片饭', price: 12 },
// { id: 'qingjiaoroupianfan', name: '青椒肉片饭🌶️', price: 12 },
// { id: 'muerroupianfan', name: '木耳肉片饭', price: 12 },
// { id: 'qieziroumofan', name: '茄子肉末饭', price: 12 },
// { id: 'waipocairoumofan', name: '外婆菜肉末饭🌶️', price: 12 },
// { id: 'suandoujiaoroumofan', name: '酸豆角肉末饭🌶️', price: 12 },
// { id: 'tudouroupianfan', name: '土豆肉片饭', price: 12 },
// { id: 'qincaixiangganfan', name: '芹菜香干饭', price: 12 },
//
// { id: 'kuguachaodanfan', name: '苦瓜炒蛋饭', price: 13 },
// { id: 'youxianxiangganfan', name: '攸县香干饭🌶️🌶️', price: 13 },
// { id: 'doujiaorousifan', name: '豆角肉丝饭', price: 13 },
// { id: 'xiaosunrousifan', name: '小笋肉丝饭🌶️', price: 13 },
// { id: 'fuzhuroupianfan', name: '腐竹肉片饭', price: 13 },
// { id: 'yuxiangqiezifan', name: '鱼香茄子饭🌶️', price: 13 },
// { id: 'xiangxiwaipicaifan', name: '湘西外婆菜饭🌶️', price: 13 },
// { id: 'jianjiaohuiguoroufan', name: '尖椒回锅肉饭🌶️', price: 13 },
// { id: 'xiangganhuiguoroufan', name: '香干回锅肉饭🌶️', price: 15 },
// { id: 'doujiaohuiguoroufan', name: '豆角回锅肉饭', price: 15 },
// { id: 'zhusunhuiguoroufan', name: '竹笋回锅肉饭🌶️', price: 15 },
// { id: 'suancaihuiguoroufan', name: '酸菜回锅肉饭', price: 15 },
// { id: 'jiachangdoufufan', name: '家常豆腐饭🌶️', price: 15 },
// { id: 'yuxiangrousifan', name: '鱼香肉丝饭🌶️', price: 15 },
// { id: 'suancaixiaosunrousifan', name: '酸菜小笋肉丝饭🌶️', price: 15 },
// { id: 'liangguaroupianfan', name: '凉瓜肉片饭', price: 15 },
//
// { id: 'jiachangxiaochaojifan', name: '家常小炒鸡饭🌶️🌶️', price: 15 },
// { id: 'nongjiaxiaochaoroufan', name: '农家小炒肉饭🌶️🌶️', price: 15 },
// { id: 'suanlajizafan', name: '酸辣鸡杂饭🌶️', price: 15 },
// { id: 'xianggurousifan', name: '香菇肉丝饭🌶️', price: 15 },
// { id: 'xiangguhuajifan', name: '香菇滑鸡饭', price: 15 },
// { id: 'luobuganlaroufan', name: '萝卜干腊肉饭🌶️', price: 16 },
// { id: 'jianjiaolaroufan', name: '尖椒腊肉饭🌶️', price: 16 },
// { id: 'xiangganlaroufan', name: '香干腊肉饭🌶️', price: 16 },
// { id: 'doujiaolaroufan', name: '豆角腊肉饭', price: 16 },
// { id: 'yansunlaroufan', name: '烟笋腊肉饭🌶️', price: 16 },
// { id: 'xianggularoufan', name: '香菇腊肉饭', price: 16 },
// { id: 'liangguaniuroufan', name: '凉瓜牛肉饭', price: 18 },
// { id: 'xiangguniuroufan', name: '香菇牛肉饭', price: 18 },
// { id: 'yansunniuroufan', name: '烟笋牛肉饭🌶️', price: 18 },
// { id: 'yeshanjiaoniuroufan', name: '野山椒牛肉饭🌶️🌶️', price: 18 }
// ],
// },
//
// {
// category: 'curedfood',
// categoryName: '烧腊类',
// list: [
// { id: 'ludoufufan', name: '卤豆腐饭', price_min: 10, price_max: 15 },
// { id: 'kejiaxianjifan', name: '客家咸鸡饭', price_min: 10, price_max: 15 },
// { id: 'luwuhuaroufan', name: '卤五花肉饭', price_min: 10, price_max: 15 },
// { id: 'zhuzhoufan', name: '猪肘饭', price_min: 10, price_max: 15 },
// { id: 'shaoyafan', name: '烧鸭饭', price_min: 12, price_max: 15 },
// { id: 'lushouroufan', name: '卤瘦肉饭', price_min: 12, price_max: 15 },
// { id: 'shousijifan', name: '手撕鸡饭', price_min: 12, price_max: 15 },
// { id: 'baiqiejifan', name: '白切鸡饭', price_min: 12, price_max: 15 },
// { id: 'zhuerfan', name: '猪耳饭', price_min: 13, price_max: 18 },
// { id: 'chashaofan', name: '叉烧饭', price_min: 13, price_max: 18 },
// { id: 'luweishuangpinfan', name: '卤味双拼饭', price_min: 15, price_max: 20 },
// { id: 'yatuifan', name: '鸭腿饭', price_min: 15, price_max: 20 }
// ]
// },
{
category: 'xiangsifang',
categoryName: '香四方',
list: [
{ id: 'jiucaichaohexiafan', name: '韭菜炒河虾饭', price: 14 },
{ id: 'suancaiyufan', name: '酸菜鱼饭', price: 16 },
{ id: 'shousibaocaifan', name: '手撕包菜饭', price: 11 },
{ id: 'suanlatudousifan', name: '酸辣土豆丝饭', price: 11 },
{ id: 'xianggudoufuroumofan', name: '香菇豆腐肉末饭', price: 12 },
{ id: 'liangguachaodanfan', name: '凉瓜炒蛋饭', price: 12 },
{ id: 'waipocaichaodanfan', name: '外婆菜炒蛋饭', price: 12 },
{ id: 'ganbiansijidoufan', name: '干煸四季豆饭', price: 12 },
{ id: 'suanrongqingcaifan', name: '蒜蓉青菜饭', price: 12 },
{ id: 'lingyumaicaifan', name: '鲮鱼麦菜饭', price: 13 },
{ id: 'qingjiaozhacairousifan', name: '青椒榨菜肉丝饭', price: 13 },
{ id: 'youxianxiangganfan', name: '攸县香干饭', price: 13 },
{ id: 'maodouchaoroufan', name: '毛豆炒肉饭', price: 13 },
{ id: 'yansunchaoroufan', name: '烟笋炒肉饭', price: 13 },
{ id: 'ganchaoniuhe', name: '干炒牛河', price: 14 },
{ id: 'qieziroumofan', name: '茄子肉末饭', price: 12 },
{ id: 'youdoufuchaoroufan', name: '油豆腐炒肉饭', price: 13 },
{ id: 'jinzhengurousifan', name: '金针菇肉丝饭', price: 13 },
{ id: 'laoganmahuiguoroufan', name: '老干妈回锅肉饭', price: 13 },
{ id: 'fuzhuroupianfan', name: '腐竹肉片饭', price: 13 },
{ id: 'xiangganhuiguoroufan', name: '香干回锅肉饭', price: 13 },
{ id: 'jinzhenguribendoufufan', name: '金针菇日本豆腐饭', price: 15 },
{ id: 'tudoupaigufan', name: '土豆排骨饭', price: 15 },
{ id: 'huotuichaodanfan', name: '火腿炒蛋饭', price: 13 },
{ id: 'qingcaipaigufan', name: '青菜排骨饭', price: 15 },
{ id: 'laoganmajikuaifan', name: '老干妈鸡块饭', price: 14 },
{ id: 'hongshaodaiyufan', name: '红烧带鱼饭', price: 15 },
{ id: 'tufeizhuganfan', name: '土匪猪肝饭', price: 13 },
{ id: 'nongjiayiwanxiangfan', name: '农家一碗香饭', price: 14 },
{ id: 'xihongshichaodanfan', name: '西红柿炒蛋饭', price: 12 },
{ id: 'suanlajizafan', name: '酸辣鸡杂饭', price: 14 },
{ id: 'hongshaofuzhufan', name: '红烧腐竹饭', price: 12 },
{ id: 'xiaohuangdouyachaoroufan', name: '小黄豆芽炒肉饭', price: 12 },
{ id: 'suanlaxiaosunroumofan', name: '酸辣小笋肉末饭', price: 12 },
{ id: 'duojiaoyukuaifan', name: '剁椒鱼块饭', price: 13 },
{ id: 'xilanhuachaoroufan', name: '西兰花炒肉饭', price: 14 },
{ id: 'hongshaopaigufan', name: '红烧排骨饭', price: 15 },
{ id: 'mifan', name: '米饭', price: 3 },
{ id: 'shuizhuroupianfan', name: '水煮肉片饭', price: 18 },
{ id: 'tudoujikuaifan', name: '土豆鸡块饭', price: 15 },
{ id: 'qianyedoufufan', name: '千叶豆腐饭', price: 12 },
{ id: 'pudoujiaochaoroufan', name: '曝豆角炒肉饭', price: 14 },
{ id: 'pudoujiaojizhenfan', name: '曝豆角鸡胗饭', price: 15 },
{ id: 'paojiaojinzhengufan', name: '泡椒金针菇饭', price: 12 },
{ id: 'wosunroupianfan', name: '莴笋肉片饭', price: 13 },
{ id: 'suanlaoupianfan', name: '酸辣藕片饭', price: 12 },
{ id: 'sijidourousifan', name: '四季豆肉丝饭', price: 14 },
{ id: 'nongjiaxiaochaoroufan', name: '农家小炒肉饭', price: 13 },
{ id: 'yansuanlaroufan', name: '烟笋腊肉饭', price: 15 },
{ id: 'piaoxiangniunanfan', name: '飘香牛腩饭', price: 16 },
{ id: 'yeshanjiaoniuroufan', name: '野山椒牛肉饭', price: 18 },
{ id: 'fuzhuniunanfan', name: '腐竹牛腩饭', price: 16 },
]
}
];
Menu.prototype = {
getAll: function () {
return Menu.profile;
},
getByCategory: function (category) {
var cat;
for (var i = 0, N = Menu.profile.length; i < N; i++) {
if (category === Menu.profile[i].category) {
return Menu.profile[i];
}
}
},
}
module.exports = Menu;