voyageCard.js 407 B

123456789101112131415161718192021222324252627282930
  1. // components/voyageCard/voyageCard.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. item: {
  8. type: Object
  9. }
  10. },
  11. /**
  12. * 组件的初始数据
  13. */
  14. data: {
  15. status: {
  16. 未开航: "not-started",
  17. 运输中: "transit",
  18. 卸货中: "transit",
  19. 卸货完成: "unload-finish"
  20. }
  21. },
  22. /**
  23. * 组件的方法列表
  24. */
  25. methods: {
  26. }
  27. })