pages.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. "path" : "pages/unitTest/index",
  44. "style" :
  45. {
  46. "navigationBarTitleText" : "单元测试",
  47. "navigationStyle": "custom"
  48. }
  49. }
  50. ],
  51. "tabBar": {
  52. "custom": true,
  53. "list": []
  54. },
  55. // "tabBar": {
  56. // "height": "90rpx",
  57. // "iconWidth": "134rpx",
  58. // "spacing": "0px",
  59. // "backgroundColor": "transparent",
  60. // "list": [{
  61. // "pagePath": "pages/study/index",
  62. // "iconPath": "static/images/tabbar/unselect/plan-sj.png",
  63. // "selectedIconPath": "static/images/tabbar/select/plan-sj.png"
  64. // }, {
  65. // "pagePath": "pages/study/index",
  66. // "iconPath": "static/images/tabbar/unselect/develop-sj.png",
  67. // "selectedIconPath": "static/images/tabbar/select/develop-sj.png"
  68. // }, {
  69. // "pagePath": "pages/study/index",
  70. // "iconPath": "static/images/tabbar/unselect/partner-sj.png",
  71. // "selectedIconPath": "static/images/tabbar/select/partner-sj.png"
  72. // }, {
  73. // "pagePath": "pages/my/index",
  74. // "iconPath": "static/images/tabbar/unselect/my-sj.png",
  75. // "selectedIconPath": "static/images/tabbar/select/my-sj.png"
  76. // }]
  77. // },
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "麦塔软件",
  81. "navigationBarBackgroundColor": "#F8F8F8",
  82. "backgroundColor": "#F8F8F8"
  83. /* "app-plus": {
  84. "background": "#efeff4"
  85. } */
  86. },
  87. "uniIdRouter": {},
  88. "condition" : { //模式配置,仅开发期间生效
  89. "current": 0, //当前激活的模式(list 的索引项)
  90. "list": [
  91. {
  92. "name": "login", //模式名称
  93. "path": "pages/login/index", //启动页面,必选
  94. "query": "" //启动参数,在页面的onLoad函数里面得到
  95. }
  96. ]
  97. }
  98. }