pages.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. "path" : "pages/LDY/LDYtianXie",
  53. "style" :
  54. {
  55. "navigationBarTitleText" : "喜宴",
  56. "navigationStyle": "custom"
  57. }
  58. }
  59. ],
  60. // 分包
  61. "subPackages": [{
  62. "root": "pagesGL",
  63. "pages": [{
  64. "path": "index/index",
  65. "style": {
  66. "navigationBarTitleText": "管理系统首页",
  67. "navigationStyle": "custom",
  68. "onReachBottomDistance": 50 // (滚动页面到距离底部50px时,就会触发onReachBottom事件)
  69. }
  70. }]
  71. }],
  72. "tabBar": {
  73. "color": "#AAAAAA",
  74. "selectedColor": "#FF0000",
  75. "borderStyle": "black",
  76. // "backgroundColor": "#F8F8F8",
  77. "list": [{
  78. "pagePath": "pages/index/index",
  79. "selectedIconPath": "static/table/icon_shouye1.png",
  80. "iconPath": "static/table/icon_shouye.png",
  81. "text": "首页"
  82. },
  83. {
  84. "pagePath": "pages/guiYuan/guiYuan",
  85. "selectedIconPath": "static/table/huaShen1.png",
  86. "iconPath": "static/table/huaShen.png",
  87. "text": "贵缘"
  88. },
  89. {
  90. "pagePath": "pages/my/my",
  91. "selectedIconPath": "static/table/icon_wode1.png",
  92. "iconPath": "static/table/icon_wode.png",
  93. "text": "我的"
  94. }
  95. ]
  96. },
  97. "globalStyle": {
  98. "navigationBarTextStyle": "black",
  99. "navigationBarTitleText": "uni-app",
  100. "navigationBarBackgroundColor": "#F8F8F8",
  101. "backgroundColor": "#F8F8F8"
  102. },
  103. "uniIdRouter": {}
  104. }