pages.json 2.9 KB

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