pages.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/home",//首页
  5. "style": {
  6. "navigationBarTitleText": "实验室安全智能监测与控制系统",
  7. "navigationBarTextStyle": "white", //导航文字颜色
  8. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  9. }
  10. },
  11. {
  12. "path": "pages/safetyExamineWorkbench",//安全检查
  13. "style": {
  14. "navigationBarTitleText": "安全检查",
  15. "navigationBarTextStyle": "white", //导航文字颜色
  16. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  17. }
  18. },
  19. {
  20. "path": "pages/mine",//我的
  21. "style": {
  22. "navigationBarTitleText": "我的",
  23. "navigationBarTextStyle": "white", //导航文字颜色
  24. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  25. }
  26. },
  27. //登录
  28. {
  29. "path": "pages/login",//登录
  30. "style": {
  31. "navigationBarTitleText": "",
  32. "navigationBarTextStyle": "white", //导航文字颜色
  33. "navigationStyle":"custom" //关闭原生导航
  34. }
  35. },
  36. {
  37. "path": "pages/faceImage",//身份验证
  38. "style": {
  39. "navigationBarTitleText": "身份验证"
  40. }
  41. },
  42. {
  43. "path": "pages/information/information",//消息
  44. "style": {
  45. "navigationBarTitleText": "消息"
  46. }
  47. },
  48. {
  49. "path": "pages/information/informationInfo",//消息详情
  50. "style": {
  51. "navigationBarTitleText": ""
  52. }
  53. },
  54. {
  55. "path": "pages/information/notPassInfo",//消息详情未通过
  56. "style": {
  57. "navigationBarTitleText": ""
  58. }
  59. },
  60. {
  61. "path": "pages/saoCode/saoCode",//扫码识别
  62. "style": {
  63. "navigationBarTitleText": ""
  64. }
  65. },
  66. {
  67. "path": "pages/avatar",//修改头像
  68. "style": {
  69. "navigationBarTitleText": "头像"
  70. }
  71. }
  72. ],
  73. "subPackages": [
  74. {
  75. /* 安全检查分包 */
  76. "root": "pages_safetyExamine", //分包根路径
  77. "name": "safetyExamine", //分包名字可写可不写
  78. "pages": [
  79. {
  80. "path": "patrolPlan/patrolPlanAdd",
  81. "style": {
  82. "navigationBarTitleText": "发起巡查计划"
  83. }
  84. },
  85. {
  86. "path": "patrolPlan/patrolPlanAddLab",
  87. "style": {
  88. "navigationBarTitleText": "选择实验室"
  89. }
  90. },
  91. {
  92. "path": "patrolPlan/patrolPlanAddMember",
  93. "style": {
  94. "navigationBarTitleText": "选择巡查组"
  95. }
  96. },
  97. {
  98. "path": "patrolPlan/patrolPlanList",
  99. "style": {
  100. "navigationBarTitleText": "校院巡查计划"
  101. }
  102. },
  103. {
  104. "path": "patrolPlan/patrolPlanDetail",
  105. "style": {
  106. "navigationBarTitleText": "计划详情"
  107. }
  108. },
  109. {
  110. "path": "patrolPlan/patrolPlanEdit",
  111. "style": {
  112. "navigationBarTitleText": "计划编辑"
  113. }
  114. },
  115. {
  116. "path": "examineManage/examineAddTow",
  117. "style": {
  118. "navigationBarTitleText": "开始检查"
  119. }
  120. },
  121. {
  122. "path": "examineManage/examineAdd",
  123. "style": {
  124. "navigationBarTitleText": "开始检查"
  125. }
  126. },
  127. {
  128. "path": "examineManage/examineDetail",
  129. "style": {
  130. "navigationBarTitleText": "检查详情"
  131. }
  132. },
  133. {
  134. "path": "examineManage/examineList",
  135. "style": {
  136. "navigationBarTitleText": "校院巡查管理"
  137. }
  138. },
  139. {
  140. "path": "dangerManage/dangerManage",
  141. "style": {
  142. "navigationBarTitleText": "隐患整改"
  143. }
  144. },
  145. {
  146. "path": "dangerManage/dangerList",
  147. "style": {
  148. "navigationBarTitleText": "安全隐患"
  149. }
  150. },
  151. {
  152. "path": "dangerManage/dangerDetail",
  153. "style": {
  154. "navigationBarTitleText": "安全隐患"
  155. }
  156. },
  157. {
  158. "path": "snapshotManage/snapshotDetail",
  159. "style": {
  160. "navigationBarTitleText": "待整改"
  161. }
  162. },
  163. {
  164. "path": "snapshotManage/snapshotAdd",
  165. "style": {
  166. "navigationBarTitleText": "随手拍上报"
  167. }
  168. },
  169. {
  170. "path": "snapshotManage/snapshotList",
  171. "style": {
  172. "navigationBarTitleText": "随手拍上报记录"
  173. }
  174. },
  175. {
  176. "path": "inforSign",
  177. "style": {
  178. "navigationBarTitleText": "安全信息牌"
  179. }
  180. }
  181. ]
  182. },
  183. {/* 管理端分包 */
  184. "root": "pages_manage", //分包根路径
  185. "name": "manage", //分包名字可写可不写
  186. "pages": [
  187. {
  188. "path": "workbench/signature/signature",//电子签名
  189. "style": {
  190. "navigationBarTitleText": "电子签名",
  191. "navigationBarTextStyle": "white", //导航文字颜色
  192. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  193. }
  194. }
  195. ]
  196. }
  197. ],
  198. "globalStyle": {
  199. "navigationBarTextStyle": "white", //导航文字颜色
  200. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  201. }
  202. }