pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "TabBar": "@/components/tab-bar/tab-bar.vue",
  6. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
  7. "^u-(.*)": "@components/u-$1/u-$1.vue",
  8. "^qiun-(.*)": "@/components/uCharts/qiun-$1/qiun-$1.vue",
  9. "^vb-(.*)": "@/components/vber/$1/vb-$1.vue"
  10. }
  11. },
  12. "pages": [
  13. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  14. {
  15. "path": "pages/index/welcome",
  16. "style": {
  17. "navigationBarTitleText": "Vber移动端"
  18. }
  19. },
  20. {
  21. "path": "pages/account/login",
  22. "style": {
  23. "navigationBarTitleText": "登录"
  24. }
  25. },
  26. {
  27. "path": "pages/account/register",
  28. "style": {
  29. "navigationBarTitleText": "注册新用户"
  30. }
  31. },
  32. {
  33. "path": "pages/index/index",
  34. "style": {
  35. "navigationBarTitleText": "首页"
  36. }
  37. },
  38. {
  39. "path": "pages/mine/index",
  40. "style": {
  41. "navigationBarTitleText": "个人中心"
  42. }
  43. },
  44. {
  45. "path": "pages/account/forgetPwd",
  46. "style": {
  47. "navigationBarTitleText": "忘记密码"
  48. }
  49. },
  50. {
  51. "path": "pages/account/systemLogin",
  52. "style": {
  53. "navigationBarTitleText": "后台管理系统"
  54. }
  55. },
  56. {
  57. "path": "pages/work/index",
  58. "style": {
  59. "navigationBarTitleText": "工作台"
  60. }
  61. }
  62. ],
  63. "subPackages": [
  64. {
  65. "root": "pages-sub/mine",
  66. "pages": [
  67. {
  68. "path": "profile/edit",
  69. "style": {
  70. "navigationBarTitleText": "完善个人信息"
  71. }
  72. },
  73. {
  74. "path": "profile/avatar",
  75. "style": {
  76. "navigationBarTitleText": "上传头像"
  77. }
  78. },
  79. {
  80. "path": "setting",
  81. "style": {
  82. "navigationBarTitleText": "应用设置"
  83. }
  84. },
  85. {
  86. "path": "privacy",
  87. "style": {
  88. "navigationBarTitleText": "隐私设置"
  89. }
  90. },
  91. {
  92. "path": "pwd",
  93. "style": {
  94. "navigationBarTitleText": "修改密码"
  95. }
  96. },
  97. {
  98. "path": "about",
  99. "style": {
  100. "navigationBarTitleText": "关于我们"
  101. }
  102. },
  103. {
  104. "path": "help",
  105. "style": {
  106. "navigationBarTitleText": "常见问题"
  107. }
  108. }
  109. ]
  110. },
  111. {
  112. "root": "pages-sub/common",
  113. "pages": [
  114. {
  115. "path": "textview",
  116. "style": {
  117. "navigationBarTitleText": "浏览文本"
  118. }
  119. },
  120. {
  121. "path": "webview",
  122. "style": {
  123. "navigationBarTitleText": "浏览网页"
  124. }
  125. }
  126. ]
  127. }
  128. ],
  129. "tabBar": {
  130. "custom": false,
  131. "color": "#8a8a8a",
  132. "selectedColor": "#1989fa",
  133. "borderStyle": "white",
  134. "backgroundColor": "#ffffff",
  135. "list": [
  136. {
  137. "pagePath": "pages/index/index",
  138. "iconPath": "static/images/tabbar/home.png",
  139. "selectedIconPath": "static/images/tabbar/home2.png",
  140. "text": "首页"
  141. },
  142. {
  143. "pagePath": "pages/work/index",
  144. "iconPath": "static/images/tabbar/work.png",
  145. "selectedIconPath": "static/images/tabbar/work2.png",
  146. "text": "工作台"
  147. },
  148. {
  149. "pagePath": "pages/mine/index",
  150. "iconPath": "static/images/tabbar/mine.png",
  151. "selectedIconPath": "static/images/tabbar/mine2.png",
  152. "text": "个人中心"
  153. }
  154. ]
  155. },
  156. "globalStyle": {
  157. "navigationBarTitleText": "Vber移动端",
  158. "navigationBarTextStyle": "white",
  159. //"navigationBarBackgroundColor": "#0e9489",
  160. "navigationBarBackgroundColor": "#1989fa",
  161. "backgroundColor": "#F8F8F8"
  162. },
  163. "lazyCodeLoading": "requiredComponents"
  164. }