pages.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "tabBar": {
  3. "color": "#7A7E83",
  4. "selectedColor": "#ffaa00",
  5. "borderStyle": "black",
  6. "backgroundColor": "#ffffff",
  7. "list": [
  8. {
  9. "pagePath": "pages/index/index",
  10. "iconPath": "static/image/index.png",
  11. "selectedIconPath": "static/image/index-s.png",
  12. "text": "首页"
  13. },
  14. {
  15. "pagePath": "pages/order/index",
  16. "iconPath": "static/image/order.png",
  17. "selectedIconPath": "static/image/order-s.png",
  18. "text": "订单"
  19. },
  20. {
  21. "pagePath": "pages/my/index",
  22. "iconPath": "static/image/my.png",
  23. "selectedIconPath": "static/image/my-s.png",
  24. "text": "我的"
  25. }
  26. ]
  27. },
  28. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  29. {
  30. "path": "pages/index/index",
  31. "style": {
  32. "navigationBarTitleText": "首页",
  33. "enablePullDownRefresh": true,
  34. "onReachBottomDistance": 100 //距离底部100像素时,触发加载更多功能
  35. }
  36. },
  37. {
  38. "path": "pages/login/login",
  39. "style": {
  40. "navigationBarTitleText": "登录"
  41. }
  42. },
  43. {
  44. "path": "pages/order/index",
  45. "style": {
  46. "navigationBarTitleText": "订单",
  47. "enablePullDownRefresh": true
  48. }
  49. },
  50. {
  51. "path": "pages/order/add",
  52. "style": {
  53. "navigationBarTitleText": "订单信息"
  54. }
  55. },
  56. {
  57. "path": "pages/my/index",
  58. "style": {
  59. "navigationBarTitleText": "个人中心"
  60. }
  61. },
  62. {
  63. "path": "pages/lr/index",
  64. "style": {
  65. "navigationBarTitleText": "添加客户信息"
  66. }
  67. },
  68. {
  69. "path": "pages/lr/bhAdd",
  70. "style": {
  71. "navigationBarTitleText": "添加病史记录"
  72. }
  73. }
  74. ],
  75. "globalStyle": {
  76. "navigationBarTextStyle": "black",
  77. "navigationBarTitleText": "uni-app",
  78. "navigationBarBackgroundColor": "#F8F8F8",
  79. "backgroundColor": "#F8F8F8"
  80. },
  81. "uniIdRouter": {}
  82. }