pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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/unitTest/index",
  82. "style" :
  83. {
  84. "navigationBarTitleText" : "单元测试",
  85. "navigationStyle": "custom",
  86. "app-plus": {
  87. "softinputMode": "adjustResize",
  88. "softinputNavBar": "none"
  89. }
  90. }
  91. },
  92. {
  93. "path" : "pages/pay/svip",
  94. "style" :
  95. {
  96. "navigationStyle": "custom"
  97. }
  98. },
  99. {
  100. "path" : "pages/pay/order",
  101. "style" :
  102. {
  103. "navigationStyle": "custom"
  104. }
  105. },
  106. {
  107. "path" : "pages/pay/orderPay",
  108. "style" :
  109. {
  110. "navigationStyle": "custom"
  111. }
  112. },
  113. {
  114. "path" : "pages/wrong/index",
  115. "style" :
  116. {
  117. "navigationStyle": "custom"
  118. }
  119. },
  120. {
  121. "path" : "pages/mall/mallPage",
  122. "style" :
  123. {
  124. "navigationStyle": "custom"
  125. }
  126. }
  127. ],
  128. "tabBar": {
  129. "custom": true,
  130. "list": []
  131. },
  132. // "tabBar": {
  133. // "height": "90rpx",
  134. // "iconWidth": "134rpx",
  135. // "spacing": "0px",
  136. // "backgroundColor": "transparent",
  137. // "list": [{
  138. // "pagePath": "pages/study/index",
  139. // "iconPath": "static/images/tabbar/unselect/plan-sj.png",
  140. // "selectedIconPath": "static/images/tabbar/select/plan-sj.png"
  141. // }, {
  142. // "pagePath": "pages/study/index",
  143. // "iconPath": "static/images/tabbar/unselect/develop-sj.png",
  144. // "selectedIconPath": "static/images/tabbar/select/develop-sj.png"
  145. // }, {
  146. // "pagePath": "pages/study/index",
  147. // "iconPath": "static/images/tabbar/unselect/partner-sj.png",
  148. // "selectedIconPath": "static/images/tabbar/select/partner-sj.png"
  149. // }, {
  150. // "pagePath": "pages/my/index",
  151. // "iconPath": "static/images/tabbar/unselect/my-sj.png",
  152. // "selectedIconPath": "static/images/tabbar/select/my-sj.png"
  153. // }]
  154. // },
  155. "globalStyle": {
  156. "navigationBarTextStyle": "black",
  157. "navigationBarTitleText": "鹅状元",
  158. "navigationBarBackgroundColor": "#F8F8F8",
  159. "backgroundColor": "#F8F8F8",
  160. // "animationType": "none",
  161. //"animationDuration": "0",
  162. //禁止滑动返回
  163. "app-plus": {
  164. // "popGesture": "none"
  165. }
  166. /* "app-plus": {
  167. "background": "#efeff4"
  168. } */
  169. },
  170. "uniIdRouter": {},
  171. "condition" : { //模式配置,仅开发期间生效
  172. "current": 0, //当前激活的模式(list 的索引项)
  173. "list": [
  174. {
  175. "name": "login", //模式名称
  176. "path": "pages/login/index", //启动页面,必选
  177. "query": "" //启动参数,在页面的onLoad函数里面得到
  178. }
  179. ]
  180. }
  181. }