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

37 lines
701 B

  1. export const mockCartData = {
  2. totalPrice: 0.0,
  3. selectedCount: 0,
  4. items: [
  5. {
  6. id: 1,
  7. name: '豆角炒鸡蛋',
  8. price: 9.9,
  9. image: '/static/image/红烧肉.png',
  10. quantity: 1,
  11. sold: 235
  12. },
  13. {
  14. id: 2,
  15. name: '豆角炒鸡蛋',
  16. price: 9.9,
  17. image: '/static/image/红烧肉.png',
  18. quantity: 1,
  19. sold: 235
  20. },
  21. {
  22. id: 3,
  23. name: '豆角炒鸡蛋',
  24. price: 9.9,
  25. image: '/static/image/红烧肉.png',
  26. quantity: 1,
  27. sold: 235
  28. },
  29. {
  30. id: 4,
  31. name: '豆角炒鸡蛋',
  32. price: 9.9,
  33. image: '/static/image/红烧肉.png',
  34. quantity: 1,
  35. sold: 235
  36. }
  37. ]
  38. }