pages.json 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/login/index",
  9. "style": {
  10. "navigationStyle": "default", // 隐藏系统导航栏
  11. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  12. "navigationBarTitleText": "登录",
  13. "titleNView": {
  14. "autoBackButton": false
  15. }
  16. }
  17. },
  18. {
  19. "path": "pages/register/index",
  20. "style": {
  21. "navigationStyle": "default", // 隐藏系统导航栏
  22. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  23. "navigationBarTitleText": "注册"
  24. }
  25. },
  26. {
  27. "path": "pages/home/index",
  28. "style": {
  29. "navigationStyle": "default", // 隐藏系统导航栏
  30. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  31. "navigationBarTitleText": "个人中心",
  32. "titleNView": {
  33. "autoBackButton": false
  34. }
  35. }
  36. },
  37. {
  38. "path": "pages/baseInfo/index",
  39. "style": {
  40. "navigationStyle": "default", // 隐藏系统导航栏
  41. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  42. "navigationBarTitleText": "详细信息"
  43. }
  44. },
  45. {
  46. "path": "pages/sign_exam/index",
  47. "style": {
  48. "navigationStyle": "default", // 隐藏系统导航栏
  49. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  50. "navigationBarTitleText": "无证-报名考试"
  51. }
  52. },
  53. {
  54. "path": "pages/data_perfect/index",
  55. "style": {
  56. "navigationStyle": "default", // 隐藏系统导航栏
  57. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  58. "navigationBarTitleText": "有证-资料备案"
  59. }
  60. },
  61. {
  62. "path": "pages/sign_exam/index",
  63. "style": {
  64. "navigationStyle": "default", // 隐藏系统导航栏
  65. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  66. "navigationBarTitleText": "无证-报名考试"
  67. }
  68. },
  69. {
  70. "path": "pages/info_cellect/index",
  71. "style": {
  72. "navigationStyle": "default", // 隐藏系统导航栏
  73. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  74. "navigationBarTitleText": "预约信息采集"
  75. }
  76. },
  77. {
  78. "path": "pages/el_examcard/index",
  79. "style": {
  80. "navigationStyle": "default", // 隐藏系统导航栏
  81. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  82. "navigationBarTitleText": "电子准考证"
  83. }
  84. },
  85. {
  86. "path": "pages/exam_result/index",
  87. "style": {
  88. "navigationStyle": "default", // 隐藏系统导航栏
  89. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  90. "navigationBarTitleText": "考试结果"
  91. }
  92. },
  93. {
  94. "path": "pages/receive_card/index",
  95. "style": {
  96. "navigationStyle": "default", // 隐藏系统导航栏
  97. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  98. "navigationBarTitleText": "预约领取保安员证"
  99. }
  100. },
  101. {
  102. "path": "pages/info_news/index",
  103. "style": {
  104. "navigationStyle": "default", // 隐藏系统导航栏
  105. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  106. "navigationBarTitleText": "保安资讯"
  107. }
  108. },
  109. {
  110. "path": "pages/info_message/index",
  111. "style": {
  112. "navigationStyle": "default", // 隐藏系统导航栏
  113. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  114. "navigationBarTitleText": "消息管理",
  115. // "enablePullDownRefresh": true
  116. "onReachBottomDistance": 100
  117. }
  118. },
  119. {
  120. "path": "pages/info_recruit/index",
  121. "style": {
  122. "navigationStyle": "default", // 隐藏系统导航栏
  123. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  124. "navigationBarTitleText": "招聘信息",
  125. // "enablePullDownRefresh": true
  126. "onReachBottomDistance": 100
  127. }
  128. },
  129. {
  130. "path": "pages/info_recruit/info",
  131. "style": {
  132. "navigationStyle": "default", // 隐藏系统导航栏
  133. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  134. "navigationBarTitleText": "招聘信息-详细信息"
  135. }
  136. },
  137. {
  138. "path": "pages/info_resume/index",
  139. "style": {
  140. "navigationStyle": "default", // 隐藏系统导航栏
  141. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  142. "navigationBarTitleText": "简历信息"
  143. }
  144. },
  145. {
  146. "path": "pages/info_company/index",
  147. "style": {
  148. "navigationStyle": "default", // 隐藏系统导航栏
  149. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  150. "navigationBarTitleText": "公司信息"
  151. }
  152. },
  153. {
  154. "path": "pages/punch_clock/index",
  155. "style": {
  156. "navigationStyle": "default", // 隐藏系统导航栏
  157. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  158. "navigationBarTitleText": "打卡"
  159. }
  160. },
  161. {
  162. "path": "pages/warning/index",
  163. "style": {
  164. "navigationStyle": "default", // 隐藏系统导航栏
  165. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  166. "navigationBarTitleText": "异常警告",
  167. "onReachBottomDistance": 100
  168. }
  169. },
  170. {
  171. "path": "pages/warning/info",
  172. "style": {
  173. "navigationStyle": "default", // 隐藏系统导航栏
  174. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  175. "navigationBarTitleText": "异常警告-详细信息"
  176. }
  177. },
  178. {
  179. "path": "pages/el_card/index",
  180. "style": {
  181. "navigationStyle": "default", // 隐藏系统导航栏
  182. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  183. "navigationBarTitleText": "电子保安员证"
  184. }
  185. },
  186. {
  187. "path": "pages/lose_apply/index",
  188. "style": {
  189. "navigationStyle": "default", // 隐藏系统导航栏
  190. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  191. "navigationBarTitleText": "挂失申请"
  192. }
  193. },
  194. {
  195. "path": "pages/lose_apply/detail",
  196. "style": {
  197. "navigationStyle": "default", // 隐藏系统导航栏
  198. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  199. "navigationBarTitleText": "信息管理"
  200. }
  201. },
  202. {
  203. "path": "pages/lose_apply/info",
  204. "style": {
  205. "navigationStyle": "default", // 隐藏系统导航栏
  206. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  207. "navigationBarTitleText": "详细信息"
  208. }
  209. },
  210. {
  211. "path": "pages/upPassword/index",
  212. "style": {
  213. "navigationStyle": "default", // 隐藏系统导航栏
  214. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  215. "navigationBarTitleText": "修改密码"
  216. }
  217. },
  218. {
  219. "path": "pages/infocheck/index",
  220. "style": {
  221. "navigationStyle": "default", // 隐藏系统导航栏
  222. "navigationBarTextStyle": "black", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  223. "navigationBarTitleText": "信息核查"
  224. }
  225. }
  226. ],
  227. "globalStyle": {
  228. "navigationBarTextStyle": "black",
  229. "navigationBarTitleText": "小程序",
  230. "navigationBarBackgroundColor": "#ffffff",
  231. "backgroundTextStyle": "dark",
  232. "backgroundColor": "black"
  233. },
  234. "condition": {
  235. //模式配置,仅开发期间生效
  236. "current": 0, //当前激活的模式(list 的索引项)
  237. "list": [{
  238. "name": "登录", //模式名称
  239. "path": "pages/login/index", //启动页面,必选
  240. "query": "" //启动参数,在页面的onLoad函数里面得到
  241. }]
  242. }
  243. }