pages.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
  5. "custom": {
  6. "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  7. "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  8. "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
  9. }
  10. },
  11. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  12. {
  13. "path": "pages/index/jiaZhai",
  14. "style": {
  15. "navigationBarTitleText": "天合健康",
  16. "navigationStyle": "custom"
  17. }
  18. },
  19. {
  20. "path": "pages/index/index",
  21. "style": {
  22. "navigationBarTitleText": "首页",
  23. "navigationStyle": "custom",
  24. "onReachBottomDistance": 50 // (滚动页面到距离底部50px时,就会触发onReachBottom事件)
  25. }
  26. },
  27. {
  28. "path": "pages/my/my",
  29. "style": {
  30. "navigationBarTitleText": "天合健康",
  31. "navigationStyle": "custom",
  32. "onReachBottomDistance": 50 // (滚动页面到距离底部50px时,就会触发onReachBottom事件)
  33. }
  34. },
  35. {
  36. "path": "pages/guiYuan/guiYuan",
  37. "style": {
  38. "navigationBarTitleText": "天合健康",
  39. "navigationStyle": "custom",
  40. "onReachBottomDistance": 50 // (滚动页面到距离底部50px时,就会触发onReachBottom事件)
  41. }
  42. },
  43. {
  44. "path" : "pages/LDY/LDY",
  45. "style" :
  46. {
  47. "navigationBarTitleText" : "喜宴",
  48. "navigationStyle": "custom"
  49. }
  50. }
  51. ],
  52. // 分包
  53. "subPackages": [{
  54. "root": "pagesGL",
  55. "pages": [{
  56. "path": "index/index",
  57. "style": {
  58. "navigationBarTitleText": "管理系统首页",
  59. "navigationStyle": "custom",
  60. "onReachBottomDistance": 50 // (滚动页面到距离底部50px时,就会触发onReachBottom事件)
  61. }
  62. }]
  63. }],
  64. "tabBar": {
  65. "color": "#AAAAAA",
  66. "selectedColor": "#FF0000",
  67. "borderStyle": "black",
  68. // "backgroundColor": "#F8F8F8",
  69. "list": [{
  70. "pagePath": "pages/index/index",
  71. "selectedIconPath": "static/table/icon_shouye1.png",
  72. "iconPath": "static/table/icon_shouye.png",
  73. "text": "首页"
  74. },
  75. {
  76. "pagePath": "pages/guiYuan/guiYuan",
  77. "selectedIconPath": "static/table/huaShen1.png",
  78. "iconPath": "static/table/huaShen.png",
  79. "text": "贵缘"
  80. },
  81. {
  82. "pagePath": "pages/my/my",
  83. "selectedIconPath": "static/table/icon_wode1.png",
  84. "iconPath": "static/table/icon_wode.png",
  85. "text": "我的"
  86. }
  87. ]
  88. },
  89. "globalStyle": {
  90. "navigationBarTextStyle": "black",
  91. "navigationBarTitleText": "uni-app",
  92. "navigationBarBackgroundColor": "#F8F8F8",
  93. "backgroundColor": "#F8F8F8"
  94. },
  95. "uniIdRouter": {}
  96. }