Commit e0668c1685c6ed469bb3854f8142ea0e0dc33f74

Authored by “wangming”
1 parent a0aeefab

理解不到,哈哈哈

美国版/Food Labeling Management App UniApp/src/pages/labels/labels.vue
@@ -168,7 +168,6 @@ onShow(() => { @@ -168,7 +168,6 @@ onShow(() => {
168 const labelCategories = [ 168 const labelCategories = [
169 { id: 'prep', name: 'Prep', icon: 'chef', iconColor: 'green' as const, bgClass: 'green' }, 169 { id: 'prep', name: 'Prep', icon: 'chef', iconColor: 'green' as const, bgClass: 'green' },
170 { id: 'grabngo', name: "Grab'n'Go", icon: 'package', iconColor: 'orange' as const, bgClass: 'orange' }, 170 { id: 'grabngo', name: "Grab'n'Go", icon: 'package', iconColor: 'orange' as const, bgClass: 'orange' },
171 - { id: 'expiry', name: 'Expiry', icon: 'calendar', iconColor: 'red' as const, bgClass: 'red' },  
172 ] 171 ]
173 172
174 interface LabelType { 173 interface LabelType {
@@ -218,31 +217,6 @@ const productCategoriesByLabel: Record<string, ProductCategory[]> = { @@ -218,31 +217,6 @@ const productCategoriesByLabel: Record<string, ProductCategory[]> = {
218 { id: 'heated', name: 'Heated', desc: 'For heated/cooked items' }, 217 { id: 'heated', name: 'Heated', desc: 'For heated/cooked items' },
219 ], 218 ],
220 }, 219 },
221 - {  
222 - id: 'beef',  
223 - name: 'Beef',  
224 - image: 'https://images.unsplash.com/photo-1607623488235-e2e6794c30b5?w=400',  
225 - templateSize: '2"x2"',  
226 - templateName: 'Basic',  
227 - lastEdited: '2025.12.04 09:20',  
228 - labelTypes: [  
229 - { id: 'defrost', name: 'Defrost', desc: 'For defrosted items' },  
230 - { id: 'opened', name: 'Opened/Preped', desc: 'For opened or prepared items' },  
231 - { id: 'heated', name: 'Heated', desc: 'For heated/cooked items' },  
232 - ],  
233 - },  
234 - {  
235 - id: 'bacon',  
236 - name: 'Bacon',  
237 - image: 'https://images.unsplash.com/photo-1528607929212-2636ec44253e?w=400',  
238 - templateSize: '2"x2"',  
239 - templateName: 'Basic',  
240 - lastEdited: '2025.12.03 14:30',  
241 - labelTypes: [  
242 - { id: 'raw', name: 'Raw Bacon', desc: 'Uncooked, requires refrigeration' },  
243 - { id: 'cooked', name: 'Cooked Bacon', desc: 'Fully cooked, ready to eat' },  
244 - ],  
245 - },  
246 ], 220 ],
247 }, 221 },
248 ], 222 ],
@@ -263,134 +237,6 @@ const productCategoriesByLabel: Record<string, ProductCategory[]> = { @@ -263,134 +237,6 @@ const productCategoriesByLabel: Record<string, ProductCategory[]> = {
263 lastEdited: '2025.12.03 11:45', 237 lastEdited: '2025.12.03 11:45',
264 labelTypes: [], 238 labelTypes: [],
265 }, 239 },
266 - {  
267 - id: 'turkey-club',  
268 - name: 'Turkey Club',  
269 - image: 'https://images.unsplash.com/photo-1534422298391-e4f8c172dddb?w=400',  
270 - templateSize: '2"x6"',  
271 - templateName: "G'n'G",  
272 - lastEdited: '2025.12.04 09:30',  
273 - labelTypes: [],  
274 - },  
275 - {  
276 - id: 'cheese-burger',  
277 - name: 'Cheese Burger',  
278 - image: 'https://images.unsplash.com/photo-1568901346375-23c9450c58cd?w=400',  
279 - templateSize: '2"x6"',  
280 - templateName: "G'n'G",  
281 - lastEdited: '2025.12.03 15:20',  
282 - labelTypes: [],  
283 - },  
284 - ],  
285 - },  
286 - {  
287 - id: 'salads',  
288 - name: 'Salads',  
289 - icon: 'food',  
290 - iconColor: 'green',  
291 - colorClass: 'bg-green',  
292 - products: [  
293 - {  
294 - id: 'caesar-salad',  
295 - name: 'Caesar Salad',  
296 - image: 'https://images.unsplash.com/photo-1546793665-c74683f339c1?w=400',  
297 - templateSize: '2"x4"',  
298 - templateName: "G'n'G",  
299 - lastEdited: '2025.12.04 09:00',  
300 - labelTypes: [],  
301 - },  
302 - {  
303 - id: 'greek-salad',  
304 - name: 'Greek Salad',  
305 - image: 'https://images.unsplash.com/photo-1540189543-6e6f32e2c1f0?w=400',  
306 - templateSize: '2"x4"',  
307 - templateName: "G'n'G",  
308 - lastEdited: '2025.12.03 12:30',  
309 - labelTypes: [],  
310 - },  
311 - ],  
312 - },  
313 - {  
314 - id: 'beverages',  
315 - name: 'Beverages',  
316 - icon: 'food',  
317 - iconColor: 'blue',  
318 - colorClass: 'bg-blue',  
319 - products: [  
320 - {  
321 - id: 'fresh-juice',  
322 - name: 'Fresh Juice',  
323 - image: 'https://images.unsplash.com/photo-1621506289937-a8e4df240d0b?w=400',  
324 - templateSize: '2"x2"',  
325 - templateName: "G'n'G",  
326 - lastEdited: '2025.12.04 07:45',  
327 - labelTypes: [],  
328 - },  
329 - {  
330 - id: 'smoothie',  
331 - name: 'Smoothie',  
332 - image: 'https://images.unsplash.com/photo-1553530666-ba11a7da3888?w=400',  
333 - templateSize: '2"x2"',  
334 - templateName: "G'n'G",  
335 - lastEdited: '2025.12.03 11:00',  
336 - labelTypes: [],  
337 - },  
338 - ],  
339 - },  
340 - ],  
341 - expiry: [  
342 - {  
343 - id: 'dairy',  
344 - name: 'Dairy',  
345 - icon: 'food',  
346 - iconColor: 'blue',  
347 - colorClass: 'bg-blue',  
348 - products: [  
349 - {  
350 - id: 'milk',  
351 - name: 'Milk',  
352 - image: 'https://images.unsplash.com/photo-1563636619-e9143da7973b?w=400',  
353 - templateSize: '2"x2"',  
354 - templateName: 'Basic',  
355 - lastEdited: '2025.12.04 08:30',  
356 - labelTypes: [],  
357 - },  
358 - {  
359 - id: 'cheese',  
360 - name: 'Cheese',  
361 - image: 'https://images.unsplash.com/photo-1486297678162-eb2a19b0a32d?w=400',  
362 - templateSize: '2"x2"',  
363 - templateName: 'Basic',  
364 - lastEdited: '2025.12.03 11:15',  
365 - labelTypes: [],  
366 - },  
367 - ],  
368 - },  
369 - {  
370 - id: 'deli',  
371 - name: 'Deli',  
372 - icon: 'food',  
373 - iconColor: 'red',  
374 - colorClass: 'bg-red',  
375 - products: [  
376 - {  
377 - id: 'sliced-ham',  
378 - name: 'Sliced Ham',  
379 - image: 'https://images.unsplash.com/photo-1529692236671-f1f6cf9683ba?w=400',  
380 - templateSize: '2"x2"',  
381 - templateName: 'Basic',  
382 - lastEdited: '2025.12.04 10:00',  
383 - labelTypes: [],  
384 - },  
385 - {  
386 - id: 'turkey-deli',  
387 - name: 'Turkey Deli',  
388 - image: 'https://images.unsplash.com/photo-1607623488235-e2e6794c30b5?w=400',  
389 - templateSize: '2"x2"',  
390 - templateName: 'Basic',  
391 - lastEdited: '2025.12.03 14:20',  
392 - labelTypes: [],  
393 - },  
394 ], 240 ],
395 }, 241 },
396 ], 242 ],