pages.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/index",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. },
  9. {
  10. "path": "pages/login/login",
  11. "style": {
  12. "navigationStyle": "custom"
  13. }
  14. },
  15. {
  16. "path": "pages/selectGradesTerms/index",
  17. "style": {
  18. "navigationBarTitleText": "选择年级和学期",
  19. "navigationStyle": "custom"
  20. }
  21. },
  22. {
  23. "path": "pages/study/index",
  24. "style": {
  25. "navigationBarTitleText": "学习",
  26. "navigationStyle": "custom"
  27. }
  28. },
  29. {
  30. "path": "pages/study/lookShipin",
  31. "style": {
  32. "navigationBarTitleText": "视频",
  33. "navigationStyle": "custom"
  34. }
  35. },
  36. {
  37. "path": "pages/my/index",
  38. "style": {
  39. "navigationStyle": "custom"
  40. }
  41. }
  42. ],
  43. "tabBar": {
  44. "height": "150rpx",
  45. "iconWidth": "134rpx",
  46. "spacing": "0px",
  47. "backgroundColor": "transparent",
  48. "borderStyle": "transparent",
  49. "list": [{
  50. "pagePath": "pages/study/index",
  51. "iconPath": "static/images/tabbar/unselect/plan-sj.png",
  52. "selectedIconPath": "static/images/tabbar/select/plan-sj.png"
  53. }, {
  54. "pagePath": "pages/study/catalogue",
  55. "iconPath": "static/images/tabbar/unselect/develop-sj.png",
  56. "selectedIconPath": "static/images/tabbar/select/develop-sj.png"
  57. }, {
  58. "pagePath": "pages/study/catalogue",
  59. "iconPath": "static/images/tabbar/unselect/partner-sj.png",
  60. "selectedIconPath": "static/images/tabbar/select/partner-sj.png"
  61. }, {
  62. "pagePath": "pages/my/index",
  63. "iconPath": "static/images/tabbar/unselect/my-sj.png",
  64. "selectedIconPath": "static/images/tabbar/select/my-sj.png"
  65. }]
  66. },
  67. "globalStyle": {
  68. "navigationBarTextStyle": "black",
  69. "navigationBarTitleText": "麦塔软件",
  70. "navigationBarBackgroundColor": "#F8F8F8",
  71. "backgroundColor": "#F8F8F8"
  72. /* "app-plus": {
  73. "background": "#efeff4"
  74. } */
  75. },
  76. "uniIdRouter": {},
  77. "condition" : { //模式配置,仅开发期间生效
  78. "current": 0, //当前激活的模式(list 的索引项)
  79. "list": [
  80. {
  81. "name": "login", //模式名称
  82. "path": "pages/login", //启动页面,必选
  83. "query": "" //启动参数,在页面的onLoad函数里面得到
  84. }
  85. ]
  86. }
  87. }