pages.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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": false //禁用原生导航栏
  41. }
  42. }
  43. }
  44. ],
  45. "subPackages": [{
  46. "root": "pages/login",
  47. "pages": [{
  48. "path": "register",
  49. "style": {
  50. "navigationBarTitleText": "零售店注销"
  51. }
  52. }]
  53. }],
  54. "preloadRule": {},
  55. "globalStyle": {
  56. "navigationBarBackgroundColor":"#0095FF",
  57. "navigationBarTextStyle":"white"
  58. },
  59. "tabBar": {
  60. "list": [{
  61. "pagePath": "pages/home/index"
  62. },
  63. {
  64. "pagePath": "pages/msg/index"
  65. },
  66. {
  67. "pagePath": "pages/me/index"
  68. }
  69. ]
  70. }
  71. }