pages.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "首页",
  7. "enablePullDownRefresh": false,
  8. "app-plus": {
  9. "titleNView": false
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/index/wechat",
  15. "style": {
  16. "navigationBarTitleText": "登录",
  17. "app-plus": {
  18. "titleNView": false
  19. }
  20. }
  21. },
  22. {
  23. "path": "pages/index/worker",
  24. "style": {
  25. "navigationBarTitleText": "护工列表"
  26. }
  27. },
  28. {
  29. "path": "pages/index/success",
  30. "style": {
  31. "navigationBarTitleText": "下单成功",
  32. "app-plus": {
  33. "titleNView": false
  34. }
  35. }
  36. },
  37. {
  38. "path": "pages/order/index",
  39. "style": {
  40. "navigationBarTitleText": "我的订单",
  41. "app-plus": {
  42. "titleNView": false
  43. }
  44. }
  45. },
  46. {
  47. "path": "pages/index/add",
  48. "style": {
  49. "navigationBarTitleText": "预约信息"
  50. }
  51. },
  52. {
  53. "path": "pages/order/add",
  54. "style": {
  55. "navigationBarTitleText": "新增订单"
  56. }
  57. },
  58. {
  59. "path": "pages/user/index",
  60. "style": {
  61. "navigationBarTitleText": "个人中心",
  62. "app-plus": {
  63. "titleNView": false
  64. }
  65. }
  66. },
  67. {
  68. "path": "pages/order/worker",
  69. "style": {
  70. "navigationBarTitleText": "选择护工",
  71. "app-plus": {
  72. "titleNView": false
  73. }
  74. }
  75. },
  76. {
  77. "path": "pages/order/detail",
  78. "style": {
  79. "navigationBarTitleText": "订单详情",
  80. "app-plus": {
  81. "titleNView": false
  82. }
  83. }
  84. }
  85. ],
  86. "globalStyle": {
  87. "navigationBarTextStyle": "black",
  88. "navigationBarTitleText": "陪护",
  89. "navigationBarBackgroundColor": "#FFFFFF",
  90. "backgroundColor": "#333333"
  91. },
  92. "tabBar": {
  93. "color": "#C0C4CC", //未选中的菜单文字颜色
  94. "selectedColor": "#004db5", //选中时的菜单文字颜色
  95. "borderStyle": "black",
  96. "backgroundColor": "#ffffff", //背景
  97. "list": [{
  98. "pagePath": "pages/index/index", //页面地址
  99. "iconPath": "static/home1.png", //未选中时的图片
  100. "selectedIconPath": "static/home2.png", //选中时的图片
  101. "text": "首页" //菜单文字
  102. },
  103. {
  104. "pagePath": "pages/user/index",
  105. "iconPath": "static/user1.png",
  106. "selectedIconPath": "static/user2.png",
  107. "text": "我的"
  108. }
  109. ]
  110. }
  111. }