pages.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "app-plus": {
  7. "titleNView": false,
  8. "bounce": "none",
  9. "navigationStyle": "custom"
  10. }
  11. }
  12. },
  13. {
  14. "path": "pages/dream/index",
  15. "style": {
  16. "app-plus": {
  17. "titleNView": false,
  18. "bounce": "none",
  19. "navigationStyle": "custom"
  20. }
  21. }
  22. },
  23. {
  24. "path" : "pages/dream/view",
  25. "style": {
  26. "app-plus": {
  27. "titleNView": false,
  28. "bounce": "none",
  29. "navigationStyle": "custom"
  30. }
  31. }
  32. }
  33. ],
  34. "globalStyle": {
  35. "navigationBarTextStyle": "white",
  36. "navigationBarBackgroundColor": "#3c64c9",
  37. "navigationBarTitleText" : "幻境",
  38. "enablePullDownRefresh": true,
  39. "scrollIndicator": "none",
  40. "navigationStyle": "default",
  41. "app-plus": {
  42. "pullToRefresh": {
  43. "support": true,
  44. "color": "#3c64c9",
  45. "style": "default"
  46. }
  47. }
  48. },
  49. "tabBar": {
  50. "color": "#878d9d",
  51. "selectedColor": "#2a54a0",
  52. "borderStyle": "black",
  53. "backgroundColor": "#ffffff",
  54. "height": "50px",
  55. "fontSize": "10px",
  56. "iconWidth": "24px",
  57. "spacing": "3px",
  58. "list": [{
  59. "pagePath": "pages/index/index",
  60. "iconPath": "static/icon/nav01_a.png",
  61. "selectedIconPath": "static/icon/nav01.png",
  62. "text": "幻"
  63. },
  64. {
  65. "pagePath": "pages/im/explain",
  66. "iconPath": "static/icon/nav02_a.png",
  67. "selectedIconPath": "static/icon/nav02.png",
  68. "text": "镜"
  69. },
  70. {
  71. "pagePath": "pages/ucenter/ucenter",
  72. "iconPath": "static/icon/nav03_a.png",
  73. "selectedIconPath": "static/icon/nav03.png",
  74. "text": "灵"
  75. }
  76. ]
  77. },
  78. // 自动加载组件
  79. "easycom": {
  80. "custom": {
  81. "grace(.*)": "@/lib/graceUI/components/grace$1.vue"
  82. }
  83. }
  84. }