pages.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. },
  9. {
  10. "path": "pages/index/index",
  11. "style": {
  12. "navigationBarTitleText": "首页"
  13. }
  14. },
  15. {
  16. "path" : "pages/exam/index",
  17. "style" :
  18. {
  19. "navigationBarTitleText" : "考试"
  20. }
  21. },
  22. {
  23. "path" : "pages/my/index",
  24. "style" :
  25. {
  26. "navigationBarTitleText" : "我的"
  27. }
  28. },
  29. {
  30. "path" : "pages/demo/index",
  31. "style" :
  32. {
  33. "navigationBarTitleText" : "demo"
  34. }
  35. },
  36. {
  37. "path" : "pages/course/index",
  38. "style" :
  39. {
  40. "navigationBarTitleText" : "课程"
  41. }
  42. },
  43. {
  44. "path" : "pages/score/index",
  45. "style" :
  46. {
  47. "navigationBarTitleText" : "成绩"
  48. }
  49. }
  50. ],
  51. "tabBar": {
  52. "color": "#565656",
  53. "selectedColor": "#0856E6",
  54. "borderStyle": "black",
  55. "backgroundColor": "#ffffff",
  56. "fontSize": "13px",
  57. "iconWidth": "28px",
  58. "spacing": "0px",
  59. "list": [{
  60. "pagePath": "pages/index/index",
  61. "iconPath": "static/images/tabbar/unselect/index-sj.png",
  62. "selectedIconPath": "static/images/tabbar/select/index-sj.png",
  63. "text": "首页"
  64. }, {
  65. "pagePath": "pages/exam/index",
  66. "iconPath": "static/images/tabbar/unselect/exam-sj.png",
  67. "selectedIconPath": "static/images/tabbar/select/exam-sj.png",
  68. "text": "考试"
  69. }, {
  70. "pagePath": "pages/course/index",
  71. "iconPath": "static/images/tabbar/unselect/kecheng-sj.png",
  72. "selectedIconPath": "static/images/tabbar/select/kecheng-sj.png",
  73. "text": "课程"
  74. }, {
  75. "pagePath": "pages/score/index",
  76. "iconPath": "static/images/tabbar/unselect/score-sj.png",
  77. "selectedIconPath": "static/images/tabbar/select/score-sj.png",
  78. "text": "成绩"
  79. }, {
  80. "pagePath": "pages/my/index",
  81. "iconPath": "static/images/tabbar/unselect/my-sj.png",
  82. "selectedIconPath": "static/images/tabbar/unselect/my-sj.png",
  83. "text": "我的"
  84. }]
  85. },
  86. "globalStyle": {
  87. "navigationBarTextStyle": "black",
  88. "navigationBarTitleText": "麦塔软件",
  89. "navigationBarBackgroundColor": "#F8F8F8",
  90. "backgroundColor": "#F8F8F8"
  91. /* "app-plus": {
  92. "background": "#efeff4"
  93. } */
  94. },
  95. "uniIdRouter": {}
  96. }