pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. "app-plus": {
  21. "animationType": "none"
  22. }
  23. }
  24. },
  25. {
  26. "path": "pages/zhuanti/index",
  27. "style": {
  28. "navigationBarTitleText": "专题",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/zhuanti/zhuantiInfo",
  34. "style": {
  35. "navigationBarTitleText": "专题",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/study/index",
  41. "style": {
  42. "navigationBarTitleText": "学习",
  43. "navigationStyle": "custom"
  44. }
  45. },
  46. {
  47. "path": "pages/study/lookShipin",
  48. "style": {
  49. "navigationBarTitleText": "视频",
  50. "navigationStyle": "custom"
  51. }
  52. }, {
  53. "path": "pages/study/lookShipinNew",
  54. "style": {
  55. "navigationBarTitleText": "视频",
  56. "navigationStyle": "custom"
  57. }
  58. },
  59. {
  60. "path": "pages/game/index",
  61. "style": {
  62. "navigationStyle": "custom",
  63. "app-plus": {
  64. "animationType": "none"
  65. }
  66. }
  67. },
  68. {
  69. "path": "pages/my/index",
  70. "style": {
  71. "navigationStyle": "custom"
  72. }
  73. },
  74. {
  75. "path": "pages/my/aboutPage",
  76. "style": {
  77. "navigationStyle": "custom"
  78. }
  79. },
  80. {
  81. "path": "pages/my/sxtkPage",
  82. "style": {
  83. "navigationStyle": "custom"
  84. }
  85. }, {
  86. "path": "pages/my/xuexiJilu",
  87. "style": {
  88. "navigationStyle": "custom"
  89. }
  90. },
  91. {
  92. "path": "pages/unitTest/index",
  93. "style": {
  94. "navigationBarTitleText": "单元测试",
  95. "navigationStyle": "custom",
  96. "app-plus": {
  97. "softinputMode": "adjustResize",
  98. "softinputNavBar": "none"
  99. }
  100. }
  101. },
  102. {
  103. "path": "pages/pay/svip",
  104. "style": {
  105. "navigationStyle": "custom"
  106. }
  107. },
  108. {
  109. "path": "pages/pay/order",
  110. "style": {
  111. "navigationStyle": "custom"
  112. }
  113. },
  114. {
  115. "path": "pages/pay/orderPay",
  116. "style": {
  117. "navigationStyle": "custom"
  118. }
  119. },
  120. {
  121. "path": "pages/wrong/index",
  122. "style": {
  123. "navigationStyle": "custom"
  124. }
  125. },
  126. {
  127. "path": "pages/mall/mallPage",
  128. "style": {
  129. "navigationStyle": "custom"
  130. }
  131. }
  132. ],
  133. "tabBar": {
  134. "custom": true,
  135. "list": []
  136. },
  137. // "tabBar": {
  138. // "height": "90rpx",
  139. // "iconWidth": "134rpx",
  140. // "spacing": "0px",
  141. // "backgroundColor": "transparent",
  142. // "list": [{
  143. // "pagePath": "pages/study/index",
  144. // "iconPath": "static/images/tabbar/unselect/plan-sj.png",
  145. // "selectedIconPath": "static/images/tabbar/select/plan-sj.png"
  146. // }, {
  147. // "pagePath": "pages/study/index",
  148. // "iconPath": "static/images/tabbar/unselect/develop-sj.png",
  149. // "selectedIconPath": "static/images/tabbar/select/develop-sj.png"
  150. // }, {
  151. // "pagePath": "pages/study/index",
  152. // "iconPath": "static/images/tabbar/unselect/partner-sj.png",
  153. // "selectedIconPath": "static/images/tabbar/select/partner-sj.png"
  154. // }, {
  155. // "pagePath": "pages/my/index",
  156. // "iconPath": "static/images/tabbar/unselect/my-sj.png",
  157. // "selectedIconPath": "static/images/tabbar/select/my-sj.png"
  158. // }]
  159. // },
  160. "globalStyle": {
  161. "navigationBarTextStyle": "black",
  162. "navigationBarTitleText": "鹅状元",
  163. "navigationBarBackgroundColor": "#F8F8F8",
  164. "backgroundColor": "#F8F8F8",
  165. // "animationType": "none",
  166. //"animationDuration": "0",
  167. //禁止滑动返回
  168. "app-plus": {
  169. // "popGesture": "none"
  170. }
  171. /* "app-plus": {
  172. "background": "#efeff4"
  173. } */
  174. },
  175. "uniIdRouter": {},
  176. "condition": { //模式配置,仅开发期间生效
  177. "current": 0, //当前激活的模式(list 的索引项)
  178. "list": [{
  179. "name": "login", //模式名称
  180. "path": "pages/login/index", //启动页面,必选
  181. "query": "" //启动参数,在页面的onLoad函数里面得到
  182. }]
  183. }
  184. }