pages.json 3.1 KB

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