pages.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "app-plus": {
  34. "titleNView":false
  35. }
  36. }
  37. },
  38. //登录
  39. {
  40. "path": "pages/login/index",
  41. "style": {
  42. "app-plus": {
  43. "titleNView":false
  44. }
  45. }
  46. }
  47. ],
  48. "subPackages": [{
  49. "root": "pages/login",
  50. "pages": [{
  51. "path": "register",
  52. "style": {
  53. "navigationBarTitleText": "零售店注销"
  54. }
  55. }, {
  56. "path": "register_2",
  57. "style": {
  58. "navigationBarTitleText": "零售店注销"
  59. }
  60. }, {
  61. "path": "register_3",
  62. "style": {
  63. "navigationBarTitleText": "零售店注销"
  64. }
  65. }]
  66. }],
  67. "preloadRule": {},
  68. "globalStyle": {
  69. "navigationBarBackgroundColor": "#0095FF",
  70. "navigationBarTextStyle": "white",
  71. "app-plus": {
  72. "bounce": "none" //关闭窗口回弹效果
  73. }
  74. },
  75. "tabBar": {
  76. "list": [{
  77. "pagePath": "pages/home/index"
  78. },
  79. {
  80. "pagePath": "pages/msg/index"
  81. },
  82. {
  83. "pagePath": "pages/me/index"
  84. }
  85. ]
  86. }
  87. }