pages.json 2.7 KB

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