pages.json 3.7 KB

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