pages.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/welcome",
  5. "style": {
  6. "navigationBarTitleText": "欢迎页",
  7. "enablePullDownRefresh": false
  8. }
  9. },
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationBarTitleText": "首页"
  14. }
  15. }, {
  16. "path": "pages/my/userInfo",
  17. "style": {
  18. "navigationBarTitleText": "个人信息",
  19. "enablePullDownRefresh": false
  20. }
  21. }, {
  22. "path": "pages/my/my",
  23. "style": {
  24. "navigationBarTitleText": "个人中心",
  25. "enablePullDownRefresh": false,
  26. "navigationStyle": "custom"
  27. }
  28. }
  29. ],
  30. "subPackages": [{
  31. "root": "modules/common",
  32. "pages": [{
  33. "path": "login/login",
  34. "style": {
  35. "navigationBarTitleText": "登录",
  36. "enablePullDownRefresh": false
  37. }
  38. },
  39. {
  40. "path": "version",
  41. "style": {
  42. "navigationBarTitleText": "版本记录",
  43. "enablePullDownRefresh": false
  44. }
  45. },
  46. {
  47. "path": "feedback",
  48. "style": {
  49. "navigationBarTitleText": "意见反馈",
  50. "enablePullDownRefresh": false
  51. }
  52. },
  53. {
  54. "path": "licensePlate/list",
  55. "style": {
  56. "navigationBarTitleText": "车辆管理",
  57. "enablePullDownRefresh": false
  58. }
  59. },
  60. {
  61. "path": "licensePlate/add",
  62. "style": {
  63. "navigationBarTitleText": "车辆管理",
  64. "enablePullDownRefresh": false
  65. }
  66. },
  67. {
  68. "path": "addrbook/list",
  69. "style": {
  70. "navigationBarTitleText": "通讯录",
  71. "enablePullDownRefresh": false
  72. }
  73. },
  74. {
  75. "path": "addrbook/detail",
  76. "style": {
  77. "navigationBarTitleText": "通讯录",
  78. "enablePullDownRefresh": false
  79. }
  80. },
  81. {
  82. "path": "address/list",
  83. "style": {
  84. "navigationBarTitleText": "地址管理",
  85. "enablePullDownRefresh": false
  86. }
  87. },
  88. {
  89. "path": "address/add",
  90. "style": {
  91. "navigationBarTitleText": "地址管理",
  92. "enablePullDownRefresh": false
  93. }
  94. },
  95. {
  96. "path": "notice",
  97. "style": {
  98. "navigationBarTitleText": "我的消息",
  99. "enablePullDownRefresh": false
  100. }
  101. },
  102. {
  103. "path": "org",
  104. "style": {
  105. "navigationBarTitleText": "组织架构",
  106. "enablePullDownRefresh": false
  107. }
  108. }, {
  109. "path": "about/policy",
  110. "style": {
  111. "navigationBarTitleText": "隐私政策",
  112. "enablePullDownRefresh": false
  113. }
  114. }, {
  115. "path": "about/agreement",
  116. "style": {
  117. "navigationBarTitleText": "用户协议",
  118. "enablePullDownRefresh": false
  119. }
  120. }, {
  121. "path": "setting",
  122. "style": {
  123. "navigationBarTitleText": "设置",
  124. "enablePullDownRefresh": false
  125. }
  126. }
  127. ]
  128. }],
  129. "preloadRule": {
  130. "pages/my/my": {
  131. "network": "all",
  132. "packages": ["modules/common"]
  133. }
  134. },
  135. "globalStyle": {
  136. "navigationBarTextStyle": "black",
  137. "navigationBarTitleText": "uni-app",
  138. "navigationBarBackgroundColor": "#F8F8F8",
  139. "backgroundColor": "#F8F8F8"
  140. },
  141. "tabBar": {
  142. "selectedColor": "#0063F5",
  143. "list": [{
  144. "pagePath": "pages/index/index",
  145. "text": "首页",
  146. "iconPath": "static/images/tabbar/home.png",
  147. "selectedIconPath": "static/images/tabbar/home-on.png"
  148. },
  149. {
  150. "pagePath": "pages/my/my",
  151. "text": "我的",
  152. "iconPath": "static/images/tabbar/my.png",
  153. "selectedIconPath": "static/images/tabbar/my-on.png"
  154. }
  155. ]
  156. }
  157. }