tabBar.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. const TabBars=[
  2. {
  3. "pagePath": "/pages/index/index",
  4. "iconPath": "/static/tabBar/index.png",
  5. "selectedIconPath": "/static/tabBar/indexEd.png",
  6. "text": "首页",
  7. "permissions":["patient"]
  8. },
  9. {
  10. "pagePath": "/views/record/index",
  11. "iconPath": "/static/tabBar/record.png",
  12. "selectedIconPath": "/static/tabBar/recordEd.png",
  13. "text": "记录",
  14. "permissions":["patient"]
  15. },
  16. // {
  17. // "pagePath": "/views/record/index",
  18. // "iconPath": "/static/tabBar/therapy.png",
  19. // "selectedIconPath": "/static/tabBar/therapyEd.png",
  20. // "text": "治疗",
  21. // "permissions":["patient"]
  22. // },
  23. {
  24. "pagePath": "/pages/index/index",
  25. "iconPath": "/static/tabBar/diagnose.png",
  26. "selectedIconPath": "/static/tabBar/diagnoseEd.png",
  27. "text": "诊断",
  28. "permissions":["doctor"]
  29. },
  30. {
  31. "pagePath": "/views/record/index",
  32. "iconPath": "/static/tabBar/therapy.png",
  33. "selectedIconPath": "/static/tabBar/therapyEd.png",
  34. "text": "治疗",
  35. "permissions":["doctor"]
  36. },
  37. {
  38. "pagePath": "/pages/myCenter/index",
  39. "iconPath": "/static/tabBar/mine.png",
  40. "selectedIconPath": "/static/tabBar/mineEd.png",
  41. "text": "我的",
  42. "permissions":["patient","doctor"]
  43. }
  44. ];
  45. export default TabBars;