pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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/game/index",
  38. "style": {
  39. "navigationStyle": "custom"
  40. }
  41. },
  42. {
  43. "path": "pages/my/index",
  44. "style": {
  45. "navigationStyle": "custom"
  46. }
  47. },
  48. {
  49. "path" : "pages/unitTest/index",
  50. "style" :
  51. {
  52. "navigationBarTitleText" : "单元测试",
  53. "navigationStyle": "custom"
  54. }
  55. },
  56. {
  57. "path" : "pages/pay/svip",
  58. "style" :
  59. {
  60. "navigationStyle": "custom"
  61. }
  62. },
  63. {
  64. "path" : "pages/pay/order",
  65. "style" :
  66. {
  67. "navigationStyle": "custom"
  68. }
  69. },
  70. {
  71. "path" : "pages/pay/orderPay",
  72. "style" :
  73. {
  74. "navigationStyle": "custom"
  75. }
  76. }
  77. ],
  78. "tabBar": {
  79. "custom": true,
  80. "list": []
  81. },
  82. // "tabBar": {
  83. // "height": "90rpx",
  84. // "iconWidth": "134rpx",
  85. // "spacing": "0px",
  86. // "backgroundColor": "transparent",
  87. // "list": [{
  88. // "pagePath": "pages/study/index",
  89. // "iconPath": "static/images/tabbar/unselect/plan-sj.png",
  90. // "selectedIconPath": "static/images/tabbar/select/plan-sj.png"
  91. // }, {
  92. // "pagePath": "pages/study/index",
  93. // "iconPath": "static/images/tabbar/unselect/develop-sj.png",
  94. // "selectedIconPath": "static/images/tabbar/select/develop-sj.png"
  95. // }, {
  96. // "pagePath": "pages/study/index",
  97. // "iconPath": "static/images/tabbar/unselect/partner-sj.png",
  98. // "selectedIconPath": "static/images/tabbar/select/partner-sj.png"
  99. // }, {
  100. // "pagePath": "pages/my/index",
  101. // "iconPath": "static/images/tabbar/unselect/my-sj.png",
  102. // "selectedIconPath": "static/images/tabbar/select/my-sj.png"
  103. // }]
  104. // },
  105. "globalStyle": {
  106. "navigationBarTextStyle": "black",
  107. "navigationBarTitleText": "麦塔软件",
  108. "navigationBarBackgroundColor": "#F8F8F8",
  109. "backgroundColor": "#F8F8F8",
  110. "animationType": "none",
  111. "animationDuration": "0"
  112. /* "app-plus": {
  113. "background": "#efeff4"
  114. } */
  115. },
  116. "uniIdRouter": {},
  117. "condition" : { //模式配置,仅开发期间生效
  118. "current": 0, //当前激活的模式(list 的索引项)
  119. "list": [
  120. {
  121. "name": "login", //模式名称
  122. "path": "pages/login/index", //启动页面,必选
  123. "query": "" //启动参数,在页面的onLoad函数里面得到
  124. }
  125. ]
  126. }
  127. }