pages.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  7. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
  8. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
  9. "^M(.*)": "@/components/M$1/index.vue",
  10. "^m-(.*)": "@/components/M$1/index.vue"
  11. }
  12. },
  13. "tabBar": {
  14. "height": "56px",
  15. "fontSize": "12px",
  16. "iconWidth": "36px",
  17. "color": "#7A7E83",
  18. "selectedColor": "#3cc51f",
  19. "borderStyle": "black",
  20. "backgroundColor": "#ffffff",
  21. "list": [
  22. {
  23. "pagePath": "pages/index/index",
  24. "iconPath": "static/images/main/work.png",
  25. "selectedIconPath": "static/images/main/work_1.png",
  26. "text": "工作台"
  27. },
  28. {
  29. "pagePath": "pages/mine/index",
  30. "iconPath": "static/images/main/mine.png",
  31. "selectedIconPath": "static/images/main/mine_1.png",
  32. "text": "我的"
  33. }
  34. ]
  35. },
  36. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  37. {
  38. "path": "pages/splash/index",
  39. "layout": false,
  40. "style": {
  41. "navigationStyle": "custom"
  42. }
  43. },
  44. {
  45. "path": "pages/login/index",
  46. "layout": false,
  47. "style": {
  48. "navigationStyle": "custom"
  49. }
  50. },
  51. {
  52. "path": "pages/mine/index",
  53. "style": {
  54. "navigationStyle": "custom"
  55. }
  56. },
  57. {
  58. "path": "pages/privacy/index",
  59. "style": {
  60. "navigationBarTitleText": "绘管家个人信息保护政策"
  61. }
  62. },
  63. {
  64. "path": "pages/index/index",
  65. "style": {
  66. "navigationBarTitleText": "uni-app"
  67. }
  68. },
  69. {
  70. "path": "pages/auth/index",
  71. "style": {
  72. "navigationStyle": "custom"
  73. }
  74. },
  75. {
  76. "path": "pages/test/index",
  77. "actions": ["login"],
  78. "layout": false,
  79. "style": {
  80. "navigationStyle": "custom"
  81. }
  82. }
  83. ],
  84. "globalStyle": {
  85. "navigationBarTextStyle": "black",
  86. "navigationBarTitleText": "uni-app",
  87. "navigationBarBackgroundColor": "#F8F8F8",
  88. "backgroundColor": "#F8F8F8"
  89. },
  90. "uniIdRouter": {}
  91. }