pages.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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/ShouYe/shouyeOne",
  11. "style" :
  12. {
  13. "navigationBarTitleText" : "总部管理员/跑单员首页"
  14. }
  15. },
  16. {
  17. "path" : "pages/ShouYe/shouyeTwo",
  18. "style" :
  19. {
  20. "navigationBarTitleText" : "家政/考试人员首页"
  21. }
  22. }
  23. ],
  24. "tabBar": {
  25. "custom": true,
  26. "list": []
  27. },
  28. "globalStyle": {
  29. "navigationBarTextStyle": "black",
  30. "navigationBarTitleText": "麦塔软件",
  31. "navigationBarBackgroundColor": "#F8F8F8",
  32. "backgroundColor": "#F8F8F8",
  33. //禁止滑动返回
  34. "app-plus": {
  35. "popGesture": "none"
  36. }
  37. },
  38. "uniIdRouter": {},
  39. "condition" : { //模式配置,仅开发期间生效
  40. "current": 0, //当前激活的模式(list 的索引项)
  41. "list": [
  42. {
  43. "name": "login", //模式名称
  44. "path": "pages/Login/index", //启动页面,必选
  45. "query": "" //启动参数,在页面的onLoad函数里面得到
  46. }
  47. ]
  48. }
  49. }