pages.json 3.0 KB

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