pages.json 3.1 KB

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