pages.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. "path" : "cameraTest",
  32. "style" :
  33. {
  34. "navigationBarTitleText" : "",
  35. "navigationStyle": "custom"
  36. }
  37. }
  38. ]
  39. },
  40. {
  41. "root": "pages/client/Chengji",
  42. "name": "Chengji",
  43. "pages": [{
  44. "path": "list",
  45. "style": {
  46. "navigationStyle": "custom"
  47. }
  48. },
  49. {
  50. "path": "ksScoreShijuan",
  51. "style": {
  52. "navigationStyle": "custom"
  53. }
  54. },
  55. {
  56. "path": "lxScoreShijuan",
  57. "style": {
  58. "navigationStyle": "custom"
  59. }
  60. }
  61. ]
  62. },
  63. {
  64. "root": "pages/client/Kecheng",
  65. "name": "Kecheng",
  66. "pages": [{
  67. "path": "list",
  68. "style": {
  69. "navigationStyle": "custom"
  70. }
  71. }, {
  72. "path": "study",
  73. "style": {
  74. "navigationStyle": "custom"
  75. }
  76. }]
  77. }, {
  78. "root": "pages/client/Kaoshi",
  79. "name": "Kaoshi",
  80. "pages": [{
  81. "path": "list",
  82. "style": {
  83. "navigationStyle": "custom"
  84. }
  85. }, {
  86. "path": "exam",
  87. "style": {
  88. "navigationStyle": "custom",
  89. "app-plus": {
  90. "softinputMode": "adjustResize",
  91. "softinputNavBar": "none"
  92. }
  93. }
  94. },
  95. {
  96. "path" : "examCamera",
  97. "style" :
  98. {
  99. "navigationStyle": "custom"
  100. }
  101. }]
  102. }, {
  103. "root": "pages/client/Lianxi",
  104. "name": "Lianxi",
  105. "pages": [{
  106. "path": "list",
  107. "style": {
  108. "navigationStyle": "custom"
  109. }
  110. }, {
  111. "path": "exam",
  112. "style": {
  113. "navigationStyle": "custom",
  114. "app-plus": {
  115. "softinputMode": "adjustResize",
  116. "softinputNavBar": "none"
  117. }
  118. }
  119. }]
  120. },
  121. {
  122. "root": "pages/client/jiazheng",
  123. "name": "jiazheng",
  124. "pages": [{
  125. "path": "shareImage",
  126. "style": {
  127. "navigationStyle": "custom"
  128. }
  129. }]
  130. }
  131. // {
  132. // "root": "components/zhuapaiConfirm",
  133. // "name": "tt",
  134. // "pages": [{
  135. // "path": "myVideo",
  136. // "style": {
  137. // "navigationStyle": "custom"
  138. // }
  139. // }]
  140. // }
  141. ],
  142. "globalStyle": {
  143. "navigationBarTextStyle": "black",
  144. "navigationBarTitleText": "",
  145. "navigationBarBackgroundColor": "#F8F8F8",
  146. "backgroundColor": "#F8F8F8",
  147. //禁止滑动返回
  148. "app-plus": {
  149. "popGesture": "none"
  150. }
  151. },
  152. "uniIdRouter": {},
  153. "condition": { //模式配置,仅开发期间生效
  154. "current": 0, //当前激活的模式(list 的索引项)
  155. "list": [{
  156. "name": "login", //模式名称
  157. "path": "pages/Login/clientIndex", //启动页面,必选
  158. "query": "" //启动参数,在页面的onLoad函数里面得到
  159. }]
  160. }
  161. }