pages.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/plugins/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/gallery/index",
  8. "style": {
  9. "navigationBarTitleText": "工作台",
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path": "pages/statistics/index",
  15. "style": {
  16. "navigationBarTitleText": "统计",
  17. "enablePullDownRefresh": false,
  18. "navigationStyle": "custom"
  19. }
  20. },
  21. {
  22. "path": "pages/news/index",
  23. "style": {
  24. "navigationBarTitleText": "消息",
  25. "enablePullDownRefresh": false,
  26. "navigationStyle": "custom"
  27. }
  28. },
  29. {
  30. "path": "pages/my/index",
  31. "style": {
  32. "navigationBarTitleText": "我的",
  33. "enablePullDownRefresh": false,
  34. "navigationStyle": "custom"
  35. }
  36. }
  37. ],
  38. "subPackages": [{
  39. "root": "pages/mall",
  40. "pages": [{
  41. "path": "mallRecharge/index",
  42. "style": {
  43. "navigationStyle": "custom",
  44. "navigationBarTitleText": "确认充值"
  45. }
  46. },{
  47. "path": "mallSuccess/index",
  48. "style": {
  49. "navigationStyle": "custom",
  50. "navigationBarTitleText": "充值成功"
  51. }
  52. }]
  53. },{
  54. "root": "pages/login",
  55. "pages": [{
  56. "path": "index",
  57. "style": {
  58. "navigationStyle": "custom",
  59. "navigationBarTitleText": "登录"
  60. }
  61. }]
  62. },{
  63. "root": "pages/system",
  64. "pages": [{
  65. "path": "index",
  66. "style": {
  67. "navigationStyle": "custom",
  68. "navigationBarTitleText": "系统消息"
  69. }
  70. }]
  71. },{
  72. "root": "pages/accountRecharge",
  73. "pages": [{
  74. "path": "index",
  75. "style": {
  76. "navigationStyle": "custom",
  77. "navigationBarTitleText": "账户充值记录"
  78. }
  79. }]
  80. }],
  81. "globalStyle": {
  82. "navigationBarTextStyle": "black",
  83. "navigationBarTitleText": "uni-app",
  84. "navigationBarBackgroundColor": "#F8F8F8",
  85. "backgroundColor": "#F8F8F8"
  86. },
  87. "tabBar": {
  88. "color": "#86899B",
  89. "selectedColor": "#FB692A",
  90. "borderStyle": "black",
  91. "backgroundColor": "#ffffff",
  92. "list": [{
  93. "pagePath": "pages/gallery/index",
  94. "iconPath": "/static/image/ic_home.png",
  95. "selectedIconPath": "/static/image/ic_home_selected.png",
  96. "text": "工作台"
  97. }, {
  98. "pagePath": "pages/statistics/index",
  99. "iconPath": "/static/image/ic_dingdan.png",
  100. "selectedIconPath": "/static/image/ic_dingdan_selected.png",
  101. "text": "统计"
  102. }, {
  103. "pagePath": "pages/news/index",
  104. "iconPath": "/static/image/ic_product.png",
  105. "selectedIconPath": "/static/image/ic_product_selected.png",
  106. "text": "消息"
  107. }, {
  108. "pagePath": "pages/my/index",
  109. "iconPath": "/static/image/ic_zhidan.png",
  110. "selectedIconPath": "/static/image/ic_zhidan_selected.png",
  111. "text": "我的"
  112. }]
  113. },
  114. "uniIdRouter": {}
  115. }