|
|
@ -1,16 +1,16 @@ |
|
|
|
export const mockOrders = [ |
|
|
|
const mockOrders = [ |
|
|
|
{ |
|
|
|
id: '20241223184523001', |
|
|
|
shopName: '轻奢时代芙蓉兴盛', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 10, |
|
|
|
orderTime: '2024-12-23 18:45:23', |
|
|
@ -22,13 +22,13 @@ export const mockOrders = [ |
|
|
|
shopName: '轻奢时代芙蓉兴盛', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 10, |
|
|
|
orderTime: '2024-12-23 18:45:23', |
|
|
@ -40,13 +40,13 @@ export const mockOrders = [ |
|
|
|
shopName: '轻奢时代芙蓉兴盛', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 10, |
|
|
|
orderTime: '2024-12-23 18:45:23', |
|
|
@ -58,10 +58,10 @@ export const mockOrders = [ |
|
|
|
shopName: '爷爷不泡茶奶茶店(鲁北路)', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 1, name: '红烧肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 10, |
|
|
|
orderTime: '2024-12-23 18:45:23', |
|
|
@ -73,8 +73,8 @@ export const mockOrders = [ |
|
|
|
shopName: '芙蓉兴盛小文轩便利店', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 4, |
|
|
|
orderTime: '2024-12-23 17:30:15', |
|
|
@ -86,8 +86,8 @@ export const mockOrders = [ |
|
|
|
shopName: '晨光文具店', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 4, |
|
|
|
orderTime: '2024-12-23 17:30:15', |
|
|
@ -99,8 +99,8 @@ export const mockOrders = [ |
|
|
|
shopName: 'KFC肯德基中山路店', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 4, |
|
|
|
orderTime: '2024-12-23 17:30:15', |
|
|
@ -112,8 +112,8 @@ export const mockOrders = [ |
|
|
|
shopName: '轩宇蛋炒饭', |
|
|
|
shopLogo: '/static/image/古茗店面.webp', |
|
|
|
foods: [ |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' } |
|
|
|
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.webp' }, |
|
|
|
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.webp' } |
|
|
|
], |
|
|
|
foodCount: 4, |
|
|
|
orderTime: '2024-12-23 17:30:15', |
|
|
@ -122,7 +122,7 @@ export const mockOrders = [ |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|
export const mockFoodMember = |
|
|
|
const mockFoodMember = |
|
|
|
[ |
|
|
|
{ |
|
|
|
id: '1', |
|
|
@ -189,21 +189,21 @@ export const mockFoodMember = |
|
|
|
name: '茄子肉沫', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '豆角炒鸡蛋', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '酸辣土豆丝', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
} |
|
|
|
] |
|
|
@ -217,14 +217,14 @@ export const mockFoodMember = |
|
|
|
name: '茄子肉沫', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '豆角炒鸡蛋', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
} |
|
|
|
] |
|
|
@ -238,7 +238,7 @@ export const mockFoodMember = |
|
|
|
name: '茄子肉沫', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
} |
|
|
|
] |
|
|
@ -252,7 +252,7 @@ export const mockFoodMember = |
|
|
|
name: '茄子肉沫', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
} |
|
|
|
] |
|
|
@ -266,14 +266,14 @@ export const mockFoodMember = |
|
|
|
name: '茄子肉沫', |
|
|
|
price: 9.9, |
|
|
|
quantity: 1, |
|
|
|
image: '/static/image/红烧肉.png', |
|
|
|
image: '/static/image/红烧肉.webp', |
|
|
|
sold: 235 |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
] |
|
|
|
|
|
|
|
export const mockGroupMeals = |
|
|
|
const mockGroupMeals = |
|
|
|
[ |
|
|
|
{ |
|
|
|
id: '1', |
|
|
@ -335,4 +335,12 @@ export const mockGroupMeals = |
|
|
|
price: '18.00', |
|
|
|
status: 'delivered' |
|
|
|
}, |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
// 统一导出
|
|
|
|
module.exports = { |
|
|
|
mockOrders, |
|
|
|
mockFoodMember, |
|
|
|
mockGroupMeals |
|
|
|
} |
|
|
|
|