pages.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. }],
  100. "globalStyle": {
  101. "navigationBarTextStyle": "black",
  102. "navigationBarTitleText": "uni-app",
  103. "navigationBarBackgroundColor": "#F8F8F8",
  104. "backgroundColor": "#F8F8F8"
  105. },
  106. "tabBar": {
  107. "color": "#888888",
  108. "selectedColor": "#1677FF",
  109. "borderStyle": "white",
  110. "backgroundColor": "#FFFFFF",
  111. "list": [{
  112. "iconPath": "static/tabbar/index.png",
  113. "selectedIconPath": "static/tabbar/index-selected.png",
  114. "pagePath": "pages/tabbar/application/application",
  115. "text": "申请"
  116. }, {
  117. "iconPath": "static/tabbar/message.png",
  118. "selectedIconPath": "static/tabbar/message-selected.png",
  119. "pagePath": "pages/tabbar/message/message",
  120. "text": "消息"
  121. }, {
  122. "iconPath": "static/tabbar/mine-new.png",
  123. "selectedIconPath": "static/tabbar/mine-selected.png",
  124. "pagePath": "pages/tabbar/mine/mine",
  125. "text": "我的"
  126. }]
  127. },
  128. "uniIdRouter": {}
  129. }