pages.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/Login/index",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. },
  9. {
  10. "path" : "pages/admin/ShouYe/shouye",
  11. "style" :
  12. {
  13. "navigationBarTitleText" : "总部管理员/跑单员首页"
  14. }
  15. },
  16. {
  17. "path" : "pages/client/ShouYe/shouye",
  18. "style" :
  19. {
  20. "navigationBarTitleText" : "家政/考试人员首页"
  21. }
  22. },{
  23. "path" : "pages/admin/Jiazheng/index",
  24. "style" :
  25. {
  26. "navigationBarTitleText" : "家政"
  27. }
  28. },
  29. {
  30. "path" : "pages/admin/Kaoshi/list",
  31. "style": {
  32. "navigationStyle": "custom"
  33. }
  34. },
  35. {
  36. "path" : "pages/admin/Kaoshi/exam",
  37. "style" :
  38. {
  39. "navigationBarTitleText" : "考试",
  40. "navigationStyle": "custom"
  41. }
  42. },
  43. {
  44. "path" : "pages/admin/Kecheng/list",
  45. "style" :
  46. {
  47. "navigationBarTitleText" : ""
  48. }
  49. },
  50. {
  51. "path" : "pages/demo/demo1",
  52. "style" :
  53. {
  54. "navigationBarTitleText" : "demo1",
  55. "navigationStyle": "custom"
  56. }
  57. }
  58. ],
  59. "tabBar": {
  60. "custom": true,
  61. "list": []
  62. },
  63. "globalStyle": {
  64. "navigationBarTextStyle": "black",
  65. "navigationBarTitleText": "麦塔软件",
  66. "navigationBarBackgroundColor": "#F8F8F8",
  67. "backgroundColor": "#F8F8F8",
  68. //禁止滑动返回
  69. "app-plus": {
  70. "popGesture": "none"
  71. }
  72. },
  73. "uniIdRouter": {},
  74. "condition" : { //模式配置,仅开发期间生效
  75. "current": 0, //当前激活的模式(list 的索引项)
  76. "list": [
  77. {
  78. "name": "login", //模式名称
  79. "path": "pages/Login/index", //启动页面,必选
  80. "query": "" //启动参数,在页面的onLoad函数里面得到
  81. }
  82. ]
  83. }
  84. }