pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index",
  8. "style": {
  9. "navigationBarTitleText": "首页",
  10. "navigationStyle":"custom"
  11. }
  12. },
  13. {
  14. "path": "pages/personCenter/personCenter",
  15. "style": {
  16. "navigationBarTitleText": "我的",
  17. "navigationBarBackgroundColor": "#86defa"
  18. }
  19. },
  20. {
  21. "path": "pages/login/login",
  22. "style": {
  23. "navigationBarTitleText": "登录"
  24. }
  25. }, {
  26. "path": "pages/login/phoneLogin",
  27. "style": {
  28. "navigationBarTitleText": "手机号登录"
  29. }
  30. },
  31. {
  32. "path": "pages/about",
  33. "style": {
  34. "navigationBarTitleText": "关于我们"
  35. }
  36. },
  37. {
  38. "path": "pages/xieyi/index",
  39. "style": {
  40. "navigationBarTitleText": "用户协议"
  41. }
  42. },
  43. {
  44. "path": "pages/h5Page/index",
  45. "style": {
  46. "navigationBarTitleText": "车领主"
  47. }
  48. },
  49. {
  50. "path": "pages/personData/personData",
  51. "style": {
  52. "navigationBarTitleText": "个人信息"
  53. }
  54. },
  55. {
  56. "path": "pages/scan-frame/scan-frame",
  57. "style": {
  58. "navigationBarTitleText": "扫描VIN"
  59. }
  60. }
  61. ,{
  62. "path" : "pages/vinInput/vinInput",
  63. "style" :
  64. {
  65. "navigationBarTitleText": "手动输入VIN",
  66. "enablePullDownRefresh": false
  67. }
  68. }
  69. ,{
  70. "path" : "pages/vinInput/confirmVin",
  71. "style" :
  72. {
  73. "navigationBarTitleText": "确认VIN",
  74. "enablePullDownRefresh": false
  75. }
  76. }
  77. ],
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "uni-app",
  81. "navigationBarBackgroundColor": "#F8F8F8",
  82. "backgroundColor": "#F8F8F8"
  83. },
  84. "tabBar": {
  85. "color": "#7A7E83",
  86. "selectedColor": "#191919",
  87. "backgroundColor": "#ffffff",
  88. "fontSize": "14px",
  89. "list": [{
  90. "pagePath": "pages/index/index",
  91. "iconPath": "static/tab/tab_home_normal.png",
  92. "selectedIconPath": "static/tab/tab_home_pressed.png",
  93. "text": "首页"
  94. },
  95. {
  96. "pagePath": "pages/personCenter/personCenter",
  97. "iconPath": "static/tab/tab_personal_normal.png",
  98. "selectedIconPath": "static/tab/tab_personal_pressed.png",
  99. "text": "我的"
  100. }
  101. ]
  102. }
  103. }