pages.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. }
  19. },
  20. {
  21. "path": "pages/news/index",
  22. "style": {
  23. "navigationBarTitleText": "消息",
  24. "enablePullDownRefresh": false
  25. }
  26. },
  27. {
  28. "path": "pages/my/index",
  29. "style": {
  30. "navigationBarTitleText": "我的",
  31. "enablePullDownRefresh": false
  32. }
  33. }
  34. ],
  35. "subPackages": [{
  36. "root": "pages/mall",
  37. "pages": [{
  38. "path": "mallRecharge/index",
  39. "style": {
  40. "navigationStyle": "custom",
  41. "navigationBarTitleText": "确认充值"
  42. }
  43. }]
  44. }],
  45. "globalStyle": {
  46. "navigationBarTextStyle": "black",
  47. "navigationBarTitleText": "uni-app",
  48. "navigationBarBackgroundColor": "#F8F8F8",
  49. "backgroundColor": "#F8F8F8"
  50. },
  51. "tabBar": {
  52. "color": "#7A7E83",
  53. "selectedColor": "#3cc51f",
  54. "borderStyle": "black",
  55. "backgroundColor": "#ffffff",
  56. "list": [{
  57. "pagePath": "pages/gallery/index",
  58. "iconPath": "",
  59. "selectedIconPath": "",
  60. "text": "工作台"
  61. }, {
  62. "pagePath": "pages/statistics/index",
  63. "iconPath": "",
  64. "selectedIconPath": "",
  65. "text": "统计"
  66. }, {
  67. "pagePath": "pages/news/index",
  68. "iconPath": "",
  69. "selectedIconPath": "",
  70. "text": "消息"
  71. }, {
  72. "pagePath": "pages/my/index",
  73. "iconPath": "",
  74. "selectedIconPath": "",
  75. "text": "我的"
  76. }]
  77. },
  78. "uniIdRouter": {}
  79. }