pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. // 注意一定要放在custom里,wxa5c97dfa28e626a9否则无效,https://ask.dcloud.net.cn/question/131175
  5. "custom": {
  6. "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  7. "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  8. "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
  9. }
  10. },
  11. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  12. {
  13. "path": "pages/tabbar/application/application",
  14. "style": {
  15. "navigationStyle": "custom",
  16. "navigationBarTextStyle": "black"
  17. }
  18. },
  19. {
  20. "path": "pages/tabbar/message/message",
  21. "style": {
  22. "navigationStyle": "custom",
  23. "navigationBarTextStyle": "black"
  24. }
  25. },
  26. {
  27. "path": "pages/tabbar/mine/mine",
  28. "style": {
  29. "navigationBarTitleText": "我的",
  30. "navigationStyle": "custom"
  31. }
  32. }
  33. ],
  34. "preloadRule": {
  35. "pages/tabbar/application/application": {
  36. "network": "all",
  37. "packages": ["pages/subpack"]
  38. }
  39. },
  40. "subPackages": [{
  41. "root": "pages/subpack",
  42. "pages": [{
  43. "path": "pages/login/login",
  44. "style": {
  45. "navigationStyle": "custom",
  46. "navigationBarTextStyle": "black"
  47. }
  48. },
  49. {
  50. "path": "pages/bindInfo/bindInfo",
  51. "style": {
  52. "navigationStyle": "custom",
  53. "navigationBarTextStyle": "black"
  54. }
  55. },
  56. {
  57. "path": "pages/myInfo/info",
  58. "style": {
  59. "navigationStyle": "custom",
  60. "navigationBarTitleText": "个人信息"
  61. }
  62. },
  63. {
  64. "path": "pages/application/list",
  65. "style": {
  66. "navigationStyle": "custom",
  67. "navigationBarTitleText": "申请列表"
  68. }
  69. },
  70. {
  71. "path": "pages/application/info",
  72. "style": {
  73. "navigationStyle": "custom",
  74. "navigationBarTitleText": "申请详情-流程相关"
  75. }
  76. },
  77. {
  78. "path": "pages/application/choose",
  79. "style": {
  80. "navigationStyle": "custom",
  81. "navigationBarTitleText": "选择护理公司/人员"
  82. }
  83. },
  84. {
  85. "path": "pages/apply/apply",
  86. "style": {
  87. "navigationStyle": "custom",
  88. "navigationBarTextStyle": "black"
  89. }
  90. },
  91. {
  92. "path": "pages/choose-people/choose-people",
  93. "style": {
  94. "navigationStyle": "custom",
  95. "navigationBarTextStyle": "black"
  96. }
  97. },
  98. {
  99. "path": "pages/protocol/list",
  100. "style": {
  101. "navigationStyle": "custom",
  102. "navigationBarTitleText": "协议列表"
  103. }
  104. },
  105. {
  106. "path": "pages/protocol/info",
  107. "style": {
  108. "navigationStyle": "custom",
  109. "navigationBarTitleText": "协议详情"
  110. }
  111. },
  112. {
  113. "path": "pages/choose-hospital/choose-hospital",
  114. "style": {
  115. "navigationStyle": "custom",
  116. "navigationBarTextStyle": "black"
  117. }
  118. },
  119. {
  120. "path": "pages/nurse/clockIn",
  121. "style": {
  122. "navigationStyle": "custom",
  123. "navigationBarTitleText": "护理打卡-打卡表单"
  124. }
  125. },
  126. {
  127. "path": "pages/nurse/death",
  128. "style": {
  129. "navigationStyle": "custom",
  130. "navigationBarTitleText": "护理打卡-死亡表单"
  131. }
  132. }
  133. ]
  134. }],
  135. "globalStyle": {
  136. "navigationBarTextStyle": "black",
  137. "navigationBarTitleText": "uni-app",
  138. "navigationBarBackgroundColor": "#F8F8F8",
  139. "backgroundColor": "#F8F8F8"
  140. },
  141. "tabBar": {
  142. "color": "#888888",
  143. "selectedColor": "#1677FF",
  144. "borderStyle": "white",
  145. "backgroundColor": "#FFFFFF",
  146. "list": [{
  147. "iconPath": "static/tabbar/index.png",
  148. "selectedIconPath": "static/tabbar/index-selected.png",
  149. "pagePath": "pages/tabbar/application/application",
  150. "text": "首页"
  151. }, {
  152. "iconPath": "static/tabbar/message.png",
  153. "selectedIconPath": "static/tabbar/message-selected.png",
  154. "pagePath": "pages/tabbar/message/message",
  155. "text": "消息"
  156. }, {
  157. "iconPath": "static/tabbar/mine-new.png",
  158. "selectedIconPath": "static/tabbar/mine-selected.png",
  159. "pagePath": "pages/tabbar/mine/mine",
  160. "text": "我的"
  161. }]
  162. },
  163. "uniIdRouter": {}
  164. }