pages.json 3.2 KB

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