敢为人鲜小程序前端代码仓库
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.

337 lines
8.7 KiB

  1. export const mockOrders = [
  2. {
  3. id: '20241223184523001',
  4. shopName: '轻奢时代芙蓉兴盛',
  5. shopLogo: '/static/image/古茗店面.webp',
  6. foods: [
  7. { id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' },
  8. { id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' },
  9. { id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' },
  10. { id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  11. { id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  12. { id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  13. { id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' }
  14. ],
  15. foodCount: 10,
  16. orderTime: '2024-12-23 18:45:23',
  17. totalPrice: 88.00,
  18. status: 'pending'
  19. },
  20. {
  21. id: '20241223184523001',
  22. shopName: '轻奢时代芙蓉兴盛',
  23. shopLogo: '/static/image/古茗店面.webp',
  24. foods: [
  25. { id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' },
  26. { id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' },
  27. { id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' },
  28. { id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  29. { id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  30. { id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  31. { id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' }
  32. ],
  33. foodCount: 10,
  34. orderTime: '2024-12-23 18:45:23',
  35. totalPrice: 88.00,
  36. status: 'pending'
  37. },
  38. {
  39. id: '20241223184523001',
  40. shopName: '轻奢时代芙蓉兴盛',
  41. shopLogo: '/static/image/古茗店面.webp',
  42. foods: [
  43. { id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' },
  44. { id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' },
  45. { id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' },
  46. { id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  47. { id: 5, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  48. { id: 6, name: '豆角炒肉', image: '/static/image/红烧肉.png' },
  49. { id: 7, name: '豆角炒肉', image: '/static/image/红烧肉.png' }
  50. ],
  51. foodCount: 10,
  52. orderTime: '2024-12-23 18:45:23',
  53. totalPrice: 88.00,
  54. status: 'pending'
  55. },
  56. {
  57. id: '20241223184523002',
  58. shopName: '爷爷不泡茶奶茶店(鲁北路)',
  59. shopLogo: '/static/image/古茗店面.webp',
  60. foods: [
  61. { id: 1, name: '红烧肉', image: '/static/image/红烧肉.png' },
  62. { id: 2, name: '青椒炒肉', image: '/static/image/红烧肉.png' },
  63. { id: 3, name: '香菇炒肉', image: '/static/image/红烧肉.png' },
  64. { id: 4, name: '豆角炒肉', image: '/static/image/红烧肉.png' }
  65. ],
  66. foodCount: 10,
  67. orderTime: '2024-12-23 18:45:23',
  68. totalPrice: 88.00,
  69. status: 'pending'
  70. },
  71. {
  72. id: '20241223184523003',
  73. shopName: '芙蓉兴盛小文轩便利店',
  74. shopLogo: '/static/image/古茗店面.webp',
  75. foods: [
  76. { id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
  77. { id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
  78. ],
  79. foodCount: 4,
  80. orderTime: '2024-12-23 17:30:15',
  81. totalPrice: 45.50,
  82. status: 'processing'
  83. },
  84. {
  85. id: '20241223184523003',
  86. shopName: '晨光文具店',
  87. shopLogo: '/static/image/古茗店面.webp',
  88. foods: [
  89. { id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
  90. { id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
  91. ],
  92. foodCount: 4,
  93. orderTime: '2024-12-23 17:30:15',
  94. totalPrice: 45.50,
  95. status: 'shipping'
  96. },
  97. {
  98. id: '20241223184523003',
  99. shopName: 'KFC肯德基中山路店',
  100. shopLogo: '/static/image/古茗店面.webp',
  101. foods: [
  102. { id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
  103. { id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
  104. ],
  105. foodCount: 4,
  106. orderTime: '2024-12-23 17:30:15',
  107. totalPrice: 45.50,
  108. status: 'delivered'
  109. },
  110. {
  111. id: '20241223184523003',
  112. shopName: '轩宇蛋炒饭',
  113. shopLogo: '/static/image/古茗店面.webp',
  114. foods: [
  115. { id: 5, name: '回锅肉', image: '/static/image/红烧肉.png' },
  116. { id: 6, name: '豆角炒鸡蛋', image: '/static/image/红烧肉.png' }
  117. ],
  118. foodCount: 4,
  119. orderTime: '2024-12-23 17:30:15',
  120. totalPrice: 45.50,
  121. status: 'completed'
  122. },
  123. ];
  124. export const mockFoodMember =
  125. [
  126. {
  127. id: '1',
  128. name: '张三',
  129. avatar: '/static/image/中森明菜.webp',
  130. food: [
  131. {
  132. name: '茄子肉沫',
  133. price: 9.9,
  134. quantity: 1,
  135. image: '/static/image/古茗店面.webp',
  136. sold: 235
  137. },
  138. {
  139. name: '豆角炒鸡蛋',
  140. price: 9.9,
  141. quantity: 1,
  142. image: '/static/image/古茗店面.webp',
  143. sold: 235
  144. },
  145. {
  146. name: '酸辣土豆丝',
  147. price: 9.9,
  148. quantity: 1,
  149. image: '/static/image/古茗店面.webp',
  150. sold: 235
  151. }
  152. ]
  153. },
  154. {
  155. id: '2',
  156. name: '清九',
  157. avatar: '/static/image/中森明菜.webp',
  158. food: [
  159. {
  160. name: '茄子肉沫',
  161. price: 9.9,
  162. quantity: 1,
  163. image: '/static/image/古茗店面.webp',
  164. sold: 235
  165. },
  166. {
  167. name: '豆角炒鸡蛋',
  168. price: 9.9,
  169. quantity: 1,
  170. image: '/static/image/古茗店面.webp',
  171. sold: 235
  172. },
  173. {
  174. name: '酸辣土豆丝',
  175. price: 9.9,
  176. quantity: 1,
  177. image: '/static/image/古茗店面.webp',
  178. sold: 235
  179. }
  180. ]
  181. },
  182. {
  183. id: '3',
  184. name: '李四',
  185. avatar: '/static/image/中森明菜.webp',
  186. food: [
  187. {
  188. name: '茄子肉沫',
  189. price: 9.9,
  190. quantity: 1,
  191. image: '/static/image/红烧肉.png',
  192. sold: 235
  193. },
  194. {
  195. name: '豆角炒鸡蛋',
  196. price: 9.9,
  197. quantity: 1,
  198. image: '/static/image/红烧肉.png',
  199. sold: 235
  200. },
  201. {
  202. name: '酸辣土豆丝',
  203. price: 9.9,
  204. quantity: 1,
  205. image: '/static/image/红烧肉.png',
  206. sold: 235
  207. }
  208. ]
  209. },
  210. {
  211. id: '4',
  212. name: '王五',
  213. avatar: '/static/image/中森明菜.webp',
  214. food: [
  215. {
  216. name: '茄子肉沫',
  217. price: 9.9,
  218. quantity: 1,
  219. image: '/static/image/红烧肉.png',
  220. sold: 235
  221. },
  222. {
  223. name: '豆角炒鸡蛋',
  224. price: 9.9,
  225. quantity: 1,
  226. image: '/static/image/红烧肉.png',
  227. sold: 235
  228. }
  229. ]
  230. },
  231. {
  232. id: '5',
  233. name: '赵六',
  234. avatar: '/static/image/中森明菜.webp',
  235. food: [
  236. {
  237. name: '茄子肉沫',
  238. price: 9.9,
  239. quantity: 1,
  240. image: '/static/image/红烧肉.png',
  241. sold: 235
  242. }
  243. ]
  244. },
  245. {
  246. id: '6',
  247. name: '孙七',
  248. avatar: '/static/image/中森明菜.webp',
  249. food: [
  250. {
  251. name: '茄子肉沫',
  252. price: 9.9,
  253. quantity: 1,
  254. image: '/static/image/红烧肉.png',
  255. sold: 235
  256. }
  257. ]
  258. },
  259. {
  260. id: '7',
  261. name: '周八',
  262. avatar: '/static/image/中森明菜.webp',
  263. food: [
  264. {
  265. name: '茄子肉沫',
  266. price: 9.9,
  267. quantity: 1,
  268. image: '/static/image/红烧肉.png',
  269. sold: 235
  270. }
  271. ]
  272. }
  273. ]
  274. export const mockGroupMeals =
  275. [
  276. {
  277. id: '1',
  278. name: '霸王茶姬',
  279. price: '18.00',
  280. status: 'processing'
  281. },
  282. {
  283. id: '2',
  284. name: '茶白道',
  285. price: '18.00',
  286. status: 'shipping'
  287. },
  288. {
  289. id: '3',
  290. name: '爷爷爱泡茶',
  291. price: '18.00',
  292. status: 'shipping'
  293. },
  294. {
  295. id: '4',
  296. name: '快乐番薯',
  297. price: '18.00',
  298. status: 'processing'
  299. },
  300. {
  301. id: '5',
  302. name: '古茗',
  303. price: '18.00',
  304. status: 'completed'
  305. },
  306. {
  307. id: '6',
  308. name: '义和堂',
  309. price: '18.00',
  310. status: 'processing'
  311. },
  312. {
  313. id: '7',
  314. name: '瑞星咖啡',
  315. price: '18.00',
  316. status: 'completed'
  317. },
  318. {
  319. id: '8',
  320. name: '库迪咖啡',
  321. price: '18.00',
  322. status: 'delivered'
  323. },
  324. {
  325. id: '9',
  326. name: 'KFC',
  327. price: '18.00',
  328. status: 'delivered'
  329. },
  330. {
  331. id: '10',
  332. name: '塔斯顶',
  333. price: '18.00',
  334. status: 'delivered'
  335. },
  336. ]