pages.json 3.3 KB

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