pages.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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/chang-pwd/chang-pwd",
  65. "style": {
  66. "navigationStyle": "custom",
  67. "navigationBarTitleText": "修改密码"
  68. }
  69. }, {
  70. "path": "pages/application/list",
  71. "style": {
  72. "navigationStyle": "custom",
  73. "navigationBarTitleText": "申请列表"
  74. }
  75. },
  76. {
  77. "path": "pages/application/info",
  78. "style": {
  79. "navigationStyle": "custom",
  80. "navigationBarTitleText": "申请详情-流程相关"
  81. }
  82. },
  83. {
  84. "path": "pages/application/choose",
  85. "style": {
  86. "navigationStyle": "custom",
  87. "navigationBarTitleText": "选择护理公司/人员"
  88. }
  89. },
  90. {
  91. "path": "pages/apply/apply",
  92. "style": {
  93. "navigationStyle": "custom",
  94. "navigationBarTextStyle": "black"
  95. }
  96. },
  97. {
  98. "path": "pages/choose-people/choose-people",
  99. "style": {
  100. "navigationStyle": "custom",
  101. "navigationBarTextStyle": "black"
  102. }
  103. },
  104. {
  105. "path": "pages/protocol/list",
  106. "style": {
  107. "navigationStyle": "custom",
  108. "navigationBarTitleText": "协议列表"
  109. }
  110. },
  111. {
  112. "path": "pages/protocol/info",
  113. "style": {
  114. "navigationStyle": "custom",
  115. "navigationBarTitleText": "协议详情"
  116. }
  117. },
  118. {
  119. "path": "pages/choose-hospital/choose-hospital",
  120. "style": {
  121. "navigationStyle": "custom",
  122. "navigationBarTextStyle": "black"
  123. }
  124. },
  125. {
  126. "path": "pages/nurse/clockIn",
  127. "style": {
  128. "navigationStyle": "custom",
  129. "navigationBarTitleText": "护理打卡-打卡表单"
  130. }
  131. },
  132. {
  133. "path": "pages/nurse/death",
  134. "style": {
  135. "navigationStyle": "custom",
  136. "navigationBarTitleText": "护理打卡-死亡表单"
  137. }
  138. },
  139. {
  140. "path": "pages/nurse/end-care",
  141. "style": {
  142. "navigationStyle": "custom",
  143. "navigationBarTitleText": "护理打卡-结束"
  144. }
  145. }, {
  146. "path": "login-pwd/login-pwd",
  147. "style": {
  148. "navigationStyle": "custom",
  149. "navigationBarTitleText": "账号密码登录"
  150. }
  151. }
  152. ]
  153. }],
  154. "globalStyle": {
  155. "navigationBarTextStyle": "black",
  156. "navigationBarTitleText": "uni-app",
  157. "navigationBarBackgroundColor": "#F8F8F8",
  158. "backgroundColor": "#F8F8F8"
  159. },
  160. "tabBar": {
  161. "color": "#888888",
  162. "selectedColor": "#1677FF",
  163. "borderStyle": "white",
  164. "backgroundColor": "#FFFFFF",
  165. "list": [{
  166. "iconPath": "static/tabbar/index.png",
  167. "selectedIconPath": "static/tabbar/index-selected.png",
  168. "pagePath": "pages/tabbar/application/application",
  169. "text": "首页"
  170. }, {
  171. "iconPath": "static/tabbar/message.png",
  172. "selectedIconPath": "static/tabbar/message-selected.png",
  173. "pagePath": "pages/tabbar/message/message",
  174. "text": "消息"
  175. }, {
  176. "iconPath": "static/tabbar/mine-new.png",
  177. "selectedIconPath": "static/tabbar/mine-selected.png",
  178. "pagePath": "pages/tabbar/mine/mine",
  179. "text": "我的"
  180. }]
  181. },
  182. "uniIdRouter": {}
  183. }