pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/Login/clientIndex",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. }, {
  9. "path": "pages/client/ShouYe/shouye",
  10. "style": {
  11. "navigationStyle": "custom"
  12. }
  13. }
  14. ],
  15. "subPackages": [{
  16. "root": "pages/client/my",
  17. "name": "my",
  18. "pages": [{
  19. "path": "index",
  20. "style": {
  21. "navigationStyle": "custom"
  22. }
  23. },
  24. {
  25. "path": "myInfo",
  26. "style": {
  27. "navigationStyle": "custom"
  28. }
  29. }
  30. ]
  31. },
  32. {
  33. "root": "pages/client/Chengji",
  34. "name": "Chengji",
  35. "pages": [{
  36. "path": "list",
  37. "style": {
  38. "navigationStyle": "custom"
  39. }
  40. },
  41. {
  42. "path": "ksScoreShijuan",
  43. "style": {
  44. "navigationStyle": "custom"
  45. }
  46. },
  47. {
  48. "path": "lxScoreShijuan",
  49. "style": {
  50. "navigationStyle": "custom"
  51. }
  52. }
  53. ]
  54. },
  55. {
  56. "root": "pages/client/Kecheng",
  57. "name": "Kecheng",
  58. "pages": [{
  59. "path": "list",
  60. "style": {
  61. "navigationStyle": "custom"
  62. }
  63. }, {
  64. "path": "study",
  65. "style": {
  66. "navigationStyle": "custom"
  67. }
  68. }]
  69. }, {
  70. "root": "pages/client/Kaoshi",
  71. "name": "Kaoshi",
  72. "pages": [{
  73. "path": "list",
  74. "style": {
  75. "navigationStyle": "custom"
  76. }
  77. }, {
  78. "path": "exam",
  79. "style": {
  80. "navigationStyle": "custom",
  81. "app-plus": {
  82. "softinputMode": "adjustResize",
  83. "softinputNavBar": "none"
  84. }
  85. }
  86. },
  87. {
  88. "path" : "examCamera",
  89. "style" :
  90. {
  91. "navigationStyle": "custom"
  92. }
  93. }]
  94. }, {
  95. "root": "pages/client/Lianxi",
  96. "name": "Lianxi",
  97. "pages": [{
  98. "path": "list",
  99. "style": {
  100. "navigationStyle": "custom"
  101. }
  102. }, {
  103. "path": "exam",
  104. "style": {
  105. "navigationStyle": "custom",
  106. "app-plus": {
  107. "softinputMode": "adjustResize",
  108. "softinputNavBar": "none"
  109. }
  110. }
  111. }]
  112. },
  113. {
  114. "root": "pages/client/jiazheng",
  115. "name": "jiazheng",
  116. "pages": [{
  117. "path": "shareImage",
  118. "style": {
  119. "navigationStyle": "custom"
  120. }
  121. }]
  122. }
  123. // {
  124. // "root": "components/zhuapaiConfirm",
  125. // "name": "tt",
  126. // "pages": [{
  127. // "path": "myVideo",
  128. // "style": {
  129. // "navigationStyle": "custom"
  130. // }
  131. // }]
  132. // }
  133. ],
  134. "globalStyle": {
  135. "navigationBarTextStyle": "black",
  136. "navigationBarTitleText": "",
  137. "navigationBarBackgroundColor": "#F8F8F8",
  138. "backgroundColor": "#F8F8F8",
  139. //禁止滑动返回
  140. "app-plus": {
  141. "popGesture": "none"
  142. }
  143. },
  144. "uniIdRouter": {},
  145. "condition": { //模式配置,仅开发期间生效
  146. "current": 0, //当前激活的模式(list 的索引项)
  147. "list": [{
  148. "name": "login", //模式名称
  149. "path": "pages/Login/clientIndex", //启动页面,必选
  150. "query": "" //启动参数,在页面的onLoad函数里面得到
  151. }]
  152. }
  153. }