pages.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // "condition": { //模式配置,仅开发期间生效
  6. // "current": 0, //当前激活的模式(list 的索引项)
  7. // "list": [{
  8. // "name": "test", //模式名称
  9. // "path": "pages/componentsC/test/index", //启动页面,必选
  10. // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
  11. // }]
  12. // },
  13. "pages": [
  14. // 首页
  15. {
  16. "path": "pages/home/index",
  17. "style": {
  18. "navigationBarTitleText": "首页"
  19. }
  20. },
  21. // 消息
  22. {
  23. "path": "pages/msg/index",
  24. "style": {
  25. "navigationBarTitleText": "消息"
  26. }
  27. },
  28. // 我的
  29. {
  30. "path": "pages/me/index",
  31. "style": {
  32. "navigationBarTitleText": "我的"
  33. }
  34. },
  35. //登录
  36. {
  37. "path": "pages/login/index",
  38. "style": {
  39. "app-plus": {
  40. "titleNView": {
  41. "autoBackButton": false
  42. }
  43. }
  44. }
  45. }
  46. ],
  47. "subPackages": [{
  48. "root": "pages/login",
  49. "pages": [{
  50. "path": "register",
  51. "style": {
  52. "navigationBarTitleText": "零售店注销"
  53. }
  54. }, {
  55. "path": "register_2",
  56. "style": {
  57. "navigationBarTitleText": "零售店注销"
  58. }
  59. }, {
  60. "path": "register_3",
  61. "style": {
  62. "navigationBarTitleText": "零售店注销"
  63. }
  64. }]
  65. }],
  66. "preloadRule": {},
  67. "globalStyle": {
  68. "navigationBarBackgroundColor": "#0095FF",
  69. "navigationBarTextStyle": "white",
  70. "app-plus": {
  71. "bounce": "none" //关闭窗口回弹效果
  72. }
  73. },
  74. "tabBar": {
  75. "list": [{
  76. "pagePath": "pages/home/index"
  77. },
  78. {
  79. "pagePath": "pages/msg/index"
  80. },
  81. {
  82. "pagePath": "pages/me/index"
  83. }
  84. ]
  85. }
  86. }