敢为人鲜小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

338 lines
8.7 KiB

export 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' }
],
foodCount: 10,
orderTime: '2024-12-23 18:45:23',
totalPrice: 88.00,
status: 'pending'
},
{
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' }
],
foodCount: 10,
orderTime: '2024-12-23 18:45:23',
totalPrice: 88.00,
status: 'pending'
},
{
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' }
],
foodCount: 10,
orderTime: '2024-12-23 18:45:23',
totalPrice: 88.00,
status: 'pending'
},
{
id: '20241223184523002',
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' }
],
foodCount: 10,
orderTime: '2024-12-23 18:45:23',
totalPrice: 88.00,
status: 'pending'
},
{
id: '20241223184523003',
shopName: '芙蓉兴盛小文轩便利店',
shopLogo: '/static/image/古茗店面.webp',
foods: [
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
],
foodCount: 4,
orderTime: '2024-12-23 17:30:15',
totalPrice: 45.50,
status: 'processing'
},
{
id: '20241223184523003',
shopName: '晨光文具店',
shopLogo: '/static/image/古茗店面.webp',
foods: [
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
],
foodCount: 4,
orderTime: '2024-12-23 17:30:15',
totalPrice: 45.50,
status: 'shipping'
},
{
id: '20241223184523003',
shopName: 'KFC肯德基中山路店',
shopLogo: '/static/image/古茗店面.webp',
foods: [
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
],
foodCount: 4,
orderTime: '2024-12-23 17:30:15',
totalPrice: 45.50,
status: 'delivered'
},
{
id: '20241223184523003',
shopName: '轩宇蛋炒饭',
shopLogo: '/static/image/古茗店面.webp',
foods: [
{ id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
{ id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
],
foodCount: 4,
orderTime: '2024-12-23 17:30:15',
totalPrice: 45.50,
status: 'completed'
},
];
export const mockFoodMember =
[
{
id: '1',
name: '张三',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
},
{
name: '豆角炒鸡蛋',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
},
{
name: '酸辣土豆丝',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
}
]
},
{
id: '2',
name: '清九',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
},
{
name: '豆角炒鸡蛋',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
},
{
name: '酸辣土豆丝',
price: 9.9,
quantity: 1,
image: '/static/image/古茗店面.webp',
sold: 235
}
]
},
{
id: '3',
name: '李四',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
},
{
name: '豆角炒鸡蛋',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
},
{
name: '酸辣土豆丝',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
}
]
},
{
id: '4',
name: '王五',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
},
{
name: '豆角炒鸡蛋',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
}
]
},
{
id: '5',
name: '赵六',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
}
]
},
{
id: '6',
name: '孙七',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
}
]
},
{
id: '7',
name: '周八',
avatar: '/static/image/中森明菜.webp',
food: [
{
name: '茄子肉沫',
price: 9.9,
quantity: 1,
image: '/static/image/红烧肉.png',
sold: 235
}
]
}
]
export const mockGroupMeals =
[
{
id: '1',
name: '霸王茶姬',
price: '18.00',
status: 'processing'
},
{
id: '2',
name: '茶白道',
price: '18.00',
status: 'shipping'
},
{
id: '3',
name: '爷爷爱泡茶',
price: '18.00',
status: 'shipping'
},
{
id: '4',
name: '快乐番薯',
price: '18.00',
status: 'processing'
},
{
id: '5',
name: '古茗',
price: '18.00',
status: 'completed'
},
{
id: '6',
name: '义和堂',
price: '18.00',
status: 'processing'
},
{
id: '7',
name: '瑞星咖啡',
price: '18.00',
status: 'completed'
},
{
id: '8',
name: '库迪咖啡',
price: '18.00',
status: 'delivered'
},
{
id: '9',
name: 'KFC',
price: '18.00',
status: 'delivered'
},
{
id: '10',
name: '塔斯顶',
price: '18.00',
status: 'delivered'
},
]