pages.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. "path": "pages/kehu/shouYe/shouye",
  15. "style": {
  16. "navigationStyle": "custom"
  17. }
  18. }
  19. ],
  20. "subPackages": [{
  21. "root": "pages/client/my",
  22. "name": "my",
  23. "pages": [{
  24. "path": "index",
  25. "style": {
  26. "navigationStyle": "custom"
  27. }
  28. },
  29. {
  30. "path": "myInfo",
  31. "style": {
  32. "navigationStyle": "custom"
  33. }
  34. },
  35. {
  36. "path" : "cameraTest",
  37. "style" :
  38. {
  39. "navigationBarTitleText" : "",
  40. "navigationStyle": "custom"
  41. }
  42. },
  43. {
  44. "path" : "zhengce",
  45. "style": {
  46. "navigationStyle": "custom"
  47. }
  48. },
  49. {
  50. "path" : "xieyi",
  51. "style": {
  52. "navigationStyle": "custom"
  53. }
  54. }
  55. ]
  56. },
  57. {
  58. "root": "pages/client/Chengji",
  59. "name": "Chengji",
  60. "pages": [{
  61. "path": "list",
  62. "style": {
  63. "navigationStyle": "custom"
  64. }
  65. },
  66. {
  67. "path": "ksScoreShijuan",
  68. "style": {
  69. "navigationStyle": "custom"
  70. }
  71. },
  72. {
  73. "path": "lxScoreShijuan",
  74. "style": {
  75. "navigationStyle": "custom"
  76. }
  77. }
  78. ]
  79. },
  80. {
  81. "root": "pages/client/Kecheng",
  82. "name": "Kecheng",
  83. "pages": [{
  84. "path": "list",
  85. "style": {
  86. "navigationStyle": "custom"
  87. }
  88. }, {
  89. "path": "study",
  90. "style": {
  91. "navigationStyle": "custom"
  92. }
  93. }]
  94. }, {
  95. "root": "pages/client/Kaoshi",
  96. "name": "Kaoshi",
  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. "path" : "examCamera",
  114. "style" :
  115. {
  116. "navigationStyle": "custom"
  117. }
  118. }]
  119. }, {
  120. "root": "pages/client/Lianxi",
  121. "name": "Lianxi",
  122. "pages": [{
  123. "path": "list",
  124. "style": {
  125. "navigationStyle": "custom"
  126. }
  127. }, {
  128. "path": "exam",
  129. "style": {
  130. "navigationStyle": "custom",
  131. "app-plus": {
  132. "softinputMode": "adjustResize",
  133. "softinputNavBar": "none"
  134. }
  135. }
  136. }]
  137. },
  138. {
  139. "root": "pages/client/jiazheng",
  140. "name": "jiazheng",
  141. "pages": [{
  142. "path": "shareImage",
  143. "style": {
  144. "navigationStyle": "custom"
  145. }
  146. }]
  147. },
  148. {
  149. "root": "pages/kehu/hetong",
  150. "name": "hetong",
  151. "pages": [{
  152. "path": "hetong",
  153. "style": {
  154. "navigationStyle": "custom"
  155. }
  156. }]
  157. },
  158. {
  159. "root": "pages/kehu/my",
  160. "name": "my2",
  161. "pages": [{
  162. "path": "my",
  163. "style": {
  164. "navigationStyle": "custom"
  165. }
  166. },{
  167. "path": "myInfo",
  168. "style": {
  169. "navigationStyle": "custom"
  170. }
  171. }]
  172. }
  173. // {
  174. // "root": "components/zhuapaiConfirm",
  175. // "name": "tt",
  176. // "pages": [{
  177. // "path": "myVideo",
  178. // "style": {
  179. // "navigationStyle": "custom"
  180. // }
  181. // }]
  182. // }
  183. ],
  184. "globalStyle": {
  185. "navigationBarTextStyle": "black",
  186. "navigationBarTitleText": "",
  187. "navigationBarBackgroundColor": "#F8F8F8",
  188. "backgroundColor": "#F8F8F8",
  189. //禁止滑动返回
  190. "app-plus": {
  191. "popGesture": "none"
  192. }
  193. },
  194. "uniIdRouter": {},
  195. "condition": { //模式配置,仅开发期间生效
  196. "current": 0, //当前激活的模式(list 的索引项)
  197. "list": [{
  198. "name": "login", //模式名称
  199. "path": "pages/Login/clientIndex", //启动页面,必选
  200. "query": "" //启动参数,在页面的onLoad函数里面得到
  201. }]
  202. }
  203. }