pages.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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/index/fail",
  39. "style": {
  40. "navigationBarTitleText": "下单失败",
  41. "app-plus": {
  42. "titleNView": false
  43. }
  44. }
  45. },
  46. {
  47. "path": "pages/order/index",
  48. "style": {
  49. "navigationBarTitleText": "我的订单",
  50. "app-plus": {
  51. "titleNView": false
  52. }
  53. }
  54. },
  55. {
  56. "path": "pages/index/add",
  57. "style": {
  58. "navigationBarTitleText": "预约信息"
  59. }
  60. },
  61. {
  62. "path": "pages/order/add",
  63. "style": {
  64. "navigationBarTitleText": "新增订单"
  65. }
  66. },
  67. {
  68. "path": "pages/user/index",
  69. "style": {
  70. "navigationBarTitleText": "个人中心",
  71. "app-plus": {
  72. "titleNView": false
  73. }
  74. }
  75. },
  76. {
  77. "path": "pages/order/worker",
  78. "style": {
  79. "navigationBarTitleText": "选择护工",
  80. "app-plus": {
  81. "titleNView": false
  82. }
  83. }
  84. },
  85. {
  86. "path": "pages/order/detail",
  87. "style": {
  88. "navigationBarTitleText": "订单详情",
  89. "app-plus": {
  90. "titleNView": false
  91. }
  92. }
  93. }
  94. ],
  95. "globalStyle": {
  96. "navigationBarTextStyle": "black",
  97. "navigationBarTitleText": "陪护",
  98. "navigationBarBackgroundColor": "#FFFFFF",
  99. "backgroundColor": "#333333"
  100. },
  101. "tabBar": {
  102. "color": "#C0C4CC", //未选中的菜单文字颜色
  103. "selectedColor": "#004db5", //选中时的菜单文字颜色
  104. "borderStyle": "black",
  105. "backgroundColor": "#ffffff", //背景
  106. "list": [{
  107. "pagePath": "pages/index/index", //页面地址
  108. "iconPath": "static/home1.png", //未选中时的图片
  109. "selectedIconPath": "static/home2.png", //选中时的图片
  110. "text": "首页" //菜单文字
  111. },
  112. {
  113. "pagePath": "pages/user/index",
  114. "iconPath": "static/user1.png",
  115. "selectedIconPath": "static/user2.png",
  116. "text": "我的"
  117. }
  118. ]
  119. }
  120. }