pages.json 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/main/index/index",
  5. "style": {
  6. "navigationBarTitleText": "荆开零工驿站",
  7. // "navigationBarBackgroundColor": "#2795FD",
  8. "navigationBarTextStyle": "white",
  9. "navigationStyle": "custom"
  10. }
  11. }
  12. ],
  13. "preloadRule": {
  14. "pages/main/index/index": {
  15. "network": "all",
  16. "packages": ["pages/tab","pages/packages"]
  17. }
  18. },
  19. "globalStyle": {
  20. "navigationStyle": "custom", // 隐藏系统导航栏
  21. "navigationBarTitleText": "荆开零工驿站",
  22. "enablePullDownRefresh": false
  23. },
  24. "subPackages": [
  25. {
  26. "root": "pages/tab",
  27. "pages": [
  28. {
  29. "path" : "mine/mine",
  30. "style" :
  31. {
  32. "navigationBarTitleText": "我的",
  33. "enablePullDownRefresh": false
  34. }
  35. }
  36. ,{
  37. "path" : "jobInformation/jobInformation",
  38. "style" :
  39. {
  40. "navigationBarTitleText": "用工信息",
  41. "enablePullDownRefresh": false
  42. }
  43. }
  44. ,{
  45. "path" : "issue/issue",
  46. "style" :
  47. {
  48. "navigationBarTitleText": "发布",
  49. "enablePullDownRefresh": false
  50. }
  51. }
  52. ,{
  53. "path" : "choreInformation/choreInformation",
  54. "style" :
  55. {
  56. "navigationBarTitleText": "零工驿站",
  57. "enablePullDownRefresh": false
  58. }
  59. }
  60. ]
  61. }
  62. ,
  63. {
  64. "root": "pages/packages",
  65. "pages": [
  66. {
  67. "path" : "shareEmployment/shareEmployment",
  68. "style" :
  69. {
  70. "navigationBarTitleText": "共享用工",
  71. "enablePullDownRefresh": false
  72. }
  73. }
  74. ,{
  75. "path" : "shareEmployment/articleDetail",
  76. "style" :
  77. {
  78. "navigationBarTitleText": "文章详情",
  79. "enablePullDownRefresh": false
  80. }
  81. }
  82. ,{
  83. "path" : "search/search",
  84. "style" :
  85. {
  86. "navigationBarTitleText": "搜索",
  87. "enablePullDownRefresh": false
  88. }
  89. }
  90. ,{
  91. "path" : "search/searchResult",
  92. "style" :
  93. {
  94. "navigationBarTitleText": "搜索结果",
  95. "enablePullDownRefresh": false
  96. }
  97. }
  98. ,{
  99. "path" : "choreInformation/jobSearchDetails",
  100. "style" :
  101. {
  102. "navigationBarTitleText": "求职详情",
  103. "enablePullDownRefresh": false
  104. }
  105. }
  106. ,{
  107. "path" : "mine/employmentService/shareEmployment",
  108. "style" :
  109. {
  110. "navigationBarTitleText": "共享用工",
  111. "enablePullDownRefresh": false
  112. }
  113. }
  114. ,{
  115. "path" : "mine/employmentService/postMessage",
  116. "style" :
  117. {
  118. "navigationBarTitleText": "发布信息",
  119. "enablePullDownRefresh": false
  120. }
  121. }
  122. ,{
  123. "path" : "skillTraining/skillTraining",
  124. "style" :
  125. {
  126. "navigationBarTitleText": "技能培训",
  127. "enablePullDownRefresh": false
  128. }
  129. }
  130. ,{
  131. "path" : "skillTraining/trainingRegistration",
  132. "style" :
  133. {
  134. "navigationBarTitleText": "培训报名",
  135. "enablePullDownRefresh": false
  136. }
  137. }
  138. ,{
  139. "path" : "news/news",
  140. "style" :
  141. {
  142. "navigationBarTitleText": "新闻咨询",
  143. "enablePullDownRefresh": false
  144. }
  145. }
  146. ,{
  147. "path" : "news/articleDetail",
  148. "style" :
  149. {
  150. "navigationBarTitleText": "文章详情",
  151. "enablePullDownRefresh": false
  152. }
  153. }
  154. ,{
  155. "path" : "jobInformation/jobDetails",
  156. "style" :
  157. {
  158. "navigationBarTitleText": "岗位详情",
  159. "enablePullDownRefresh": false
  160. }
  161. }
  162. ,{
  163. "path" : "mine/myJobInformation/cropImage",
  164. "style" :
  165. {
  166. "navigationBarTitleText": "求职信息",
  167. "enablePullDownRefresh": false
  168. }
  169. },{
  170. "path" : "mine/myJobInformation/myJobInformation",
  171. "style" :
  172. {
  173. "navigationBarTitleText": "求职信息",
  174. "enablePullDownRefresh": false
  175. }
  176. }
  177. ,{
  178. "path" : "mine/myJobInformation/myRegistration",
  179. "style" :
  180. {
  181. "navigationBarTitleText": "我的报名",
  182. "enablePullDownRefresh": false
  183. }
  184. }
  185. ,{
  186. "path" : "mine/employmentService/laborManagement/laborManagement",
  187. "style" :
  188. {
  189. "navigationBarTitleText": "用工管理",
  190. "enablePullDownRefresh": false
  191. }
  192. }
  193. ,{
  194. "path" : "mine/employmentService/laborManagement/postMessage",
  195. "style" :
  196. {
  197. "navigationBarTitleText": "发布求职信息",
  198. "enablePullDownRefresh": false
  199. }
  200. }
  201. ,{
  202. "path" : "mine/employmentService/receiveRegistration",
  203. "style" :
  204. {
  205. "navigationBarTitleText": "收到报名",
  206. "enablePullDownRefresh": false
  207. }
  208. }
  209. ,{
  210. "path" : "mine/otherServices/authentication",
  211. "style" :
  212. {
  213. "navigationBarTitleText": "身份认证",
  214. "enablePullDownRefresh": false
  215. }
  216. }
  217. ,{
  218. "path" : "mine/privacy",
  219. "style" :
  220. {
  221. "navigationBarTitleText": "",
  222. "enablePullDownRefresh": false
  223. }
  224. }
  225. ]
  226. }],
  227. "uniIdRouter": {},
  228. "condition" : { //模式配置,仅开发期间生效
  229. "current": 0, //当前激活的模式(list 的索引项)
  230. "list": [
  231. {
  232. "name": "", //模式名称
  233. "path": "", //启动页面,必选
  234. "query": "" //启动参数,在页面的onLoad函数里面得到
  235. }
  236. ]
  237. }
  238. }