pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. }
  11. }, {
  12. "path": "pages/introduce/introduce",
  13. "style": {
  14. "navigationBarTitleText": "活动介绍",
  15. "enablePullDownRefresh": false,
  16. "navigationStyle": "custom"
  17. }
  18. }, {
  19. "path": "pages/rank/rank",
  20. "style": {
  21. "navigationBarTitleText": "排行榜",
  22. "enablePullDownRefresh": false,
  23. "navigationStyle": "custom"
  24. }
  25. }, {
  26. "path": "pages/mine/mine",
  27. "style": {
  28. "navigationBarTitleText": "我的",
  29. "enablePullDownRefresh": false
  30. }
  31. }, {
  32. "path": "pages/shop/shop",
  33. "style": {
  34. "navigationBarTitleText": "积分商城",
  35. "enablePullDownRefresh": false,
  36. "navigationStyle": "custom"
  37. }
  38. }, {
  39. "path": "pages/activity/activityDetail",
  40. "style": {
  41. "navigationBarTitleText": "作品详情",
  42. "enablePullDownRefresh": false
  43. }
  44. }, {
  45. "path": "pages/mine/points/pointsDetail",
  46. "style": {
  47. "navigationBarTitleText": "积分明细",
  48. "enablePullDownRefresh": false,
  49. "navigationStyle": "custom"
  50. // "navigationBarBackgroundColor":"#ee2c34",
  51. // "navigationBarTextStyle":"white"
  52. }
  53. }, {
  54. "path": "pages/mine/info/info",
  55. "style": {
  56. "navigationBarTitleText": "我的资料",
  57. "enablePullDownRefresh": false
  58. }
  59. }, {
  60. "path": "pages/mine/my-help/my-help",
  61. "style": {
  62. "navigationBarTitleText": "我的助力",
  63. "enablePullDownRefresh": false
  64. }
  65. }
  66. ],
  67. "tabBar": {
  68. "color": "#555555",
  69. "backgroundColor": "#FFFFFF",
  70. "borderStyle": "white",
  71. "selectedColor": "#222222",
  72. "list": [
  73. {
  74. "pagePath": "pages/index/index",
  75. "text": "首页",
  76. "selectedIconPath": "static/tarbar/shouye.png",
  77. "iconPath": "static/tarbar/shouye0.png"
  78. },
  79. {
  80. "pagePath": "pages/shop/shop",
  81. "text": "商城",
  82. "selectedIconPath": "static/tarbar/shangcheng.png",
  83. "iconPath": "static/tarbar/shangcheng0.png"
  84. },
  85. {
  86. "pagePath": "pages/mine/mine",
  87. "text": "我的",
  88. "selectedIconPath": "static/tarbar/wode.png",
  89. "iconPath": "static/tarbar/wode0.png"
  90. }
  91. ]
  92. },
  93. "globalStyle": {
  94. "navigationBarTextStyle": "black",
  95. "navigationBarTitleText": "uni-app",
  96. "navigationBarBackgroundColor": "#F8F8F8",
  97. "backgroundColor": "#F8F8F8"
  98. }
  99. }