pages.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/login/login",//登录
  5. "style": {
  6. "navigationBarTitleText": "",
  7. "navigationBarTextStyle": "white", //导航文字颜色
  8. "navigationStyle":"custom" //关闭原生导航
  9. }
  10. },
  11. {
  12. "path": "pages/mine/mine",//我的
  13. "style": {
  14. "navigationBarTitleText": "我的",
  15. "navigationBarTextStyle": "white", //导航文字颜色
  16. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  17. }
  18. },
  19. // {
  20. // "path": "pages/information/information",//消息
  21. // "style": {
  22. // "navigationBarTitleText": "消息"
  23. // }
  24. // },
  25. {
  26. "path": "pages/home/home",//首页
  27. "style": {
  28. "navigationBarTitleText": "实验室安全智能监测与控制系统",
  29. "navigationBarTextStyle": "white", //导航文字颜色
  30. "navigationBarBackgroundColor": "#0183FA" ,//导航背景色
  31. "navigationStyle": "custom"
  32. }
  33. },
  34. {
  35. "path": "pages/saoCode/saoCode",//扫码中转
  36. "style": {
  37. "navigationBarTitleText": "",
  38. "navigationBarTextStyle": "white", //导航文字颜色
  39. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  40. }
  41. }
  42. ],
  43. "subPackages": [
  44. {
  45. /* 供应商端分包 */
  46. "root": "pages_supplier", //分包根路径
  47. "name": "supplier", //分包名字可写可不写
  48. "pages": [
  49. ]
  50. },
  51. {
  52. /* 学生端分包 */
  53. "root": "pages_student", //分包根路径
  54. "name": "student", //分包名字可写可不写
  55. "pages": [
  56. ]
  57. },
  58. {/* 管理端分包 */
  59. "root": "pages_manage", //分包根路径
  60. "name": "manage", //分包名字可写可不写
  61. "pages": [
  62. ]
  63. },
  64. {
  65. /* 安全检查分包 */
  66. "root": "pages_safetyExamine", //分包根路径
  67. "name": "safetyExamine", //分包名字可写可不写
  68. "pages": [
  69. ]
  70. }
  71. ],
  72. "globalStyle": {
  73. "navigationBarTextStyle": "white", //导航文字颜色
  74. "navigationBarBackgroundColor": "#0183FA" //导航背景色
  75. }
  76. }