pages.json 3.2 KB

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