pages.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path" : "pages/accommodation/accommodation",
  8. "style" :
  9. {
  10. "navigationBarTitleText": "住宿",
  11. "enablePullDownRefresh": false
  12. }
  13. },
  14. {
  15. "path": "pages/my/my",
  16. "style": {
  17. "navigationBarTitleText": "我的"
  18. }
  19. }
  20. ,{
  21. "path" : "pages/food/food",
  22. "style" :
  23. {
  24. "navigationBarTitleText": "美食",
  25. "enablePullDownRefresh": false
  26. }
  27. }
  28. ,{
  29. "path" : "pages/play/play",
  30. "style" :
  31. {
  32. "navigationBarTitleText": "游玩",
  33. "enablePullDownRefresh": false
  34. }
  35. }
  36. ,{
  37. "path" : "pages/find/find",
  38. "style" :
  39. {
  40. "navigationBarTitleText": "发现",
  41. "enablePullDownRefresh": false
  42. }
  43. }
  44. ],
  45. "tabBar": {
  46. "custom": false,
  47. "color": "#656765",
  48. "selectedColor": "#fbb612",
  49. "borderStyle": "white",
  50. "backgroundColor": "#ffffff",
  51. "list": [{
  52. "pagePath": "pages/accommodation/accommodation",
  53. "iconPath": "static/image/nav-icon/riLine-hotel-line.png",
  54. "selectedIconPath": "static/image/nav-icon/riLine-hotel-line Copy.png",
  55. "text": "住宿"
  56. },
  57. {
  58. "pagePath": "pages/food/food",
  59. "iconPath": "static/image/nav-icon/md-restaurant_menu.png",
  60. "selectedIconPath": "static/image/nav-icon/md-restaurant_menu Copy.png",
  61. "text": "美食推荐"
  62. },
  63. {
  64. "pagePath": "pages/play/play",
  65. "iconPath": "static/image/nav-icon/iconPark-landscape.png",
  66. "selectedIconPath": "static/image/nav-icon/iconPark-landscape Copy.png",
  67. "text": "游玩"
  68. },
  69. {
  70. "pagePath": "pages/find/find",
  71. "iconPath": "static/image/nav-icon/antOutline-compass.png",
  72. "selectedIconPath": "static/image/nav-icon/antOutline-compass Copy.png",
  73. "text": "发现"
  74. },
  75. {
  76. "pagePath": "pages/my/my",
  77. "iconPath": "static/image/nav-icon/antOutline-user.png",
  78. "selectedIconPath": "static/image/nav-icon/antOutline-user Copy.png",
  79. "text": "我的"
  80. }
  81. ]
  82. },
  83. "globalStyle": {
  84. "navigationBarTextStyle": "black",
  85. "navigationBarTitleText": "uni-app",
  86. "navigationBarBackgroundColor": "#fbb612",
  87. "backgroundColor": "#F8F8F8"
  88. },
  89. "uniIdRouter": {},
  90. "subPackages": [
  91. {
  92. "root":"pageA",
  93. "pages": [
  94. {
  95. "path" : "find/createLifeService",
  96. "style" :
  97. {
  98. "navigationBarTitleText": "全品类入驻",
  99. "enablePullDownRefresh": false
  100. }
  101. },
  102. {
  103. "path" : "find/search",
  104. "style" :
  105. {
  106. "navigationBarTitleText": "搜索",
  107. "enablePullDownRefresh": false
  108. }
  109. }
  110. ,{
  111. "path" : "food/food",
  112. "style" :
  113. {
  114. "navigationBarTitleText": "",
  115. "enablePullDownRefresh": false
  116. }
  117. }
  118. ,{
  119. "path" : "groupBuying/groupBuying",
  120. "style" :
  121. {
  122. "navigationBarTitleText": "",
  123. "enablePullDownRefresh": false
  124. }
  125. }
  126. ]
  127. }
  128. ],
  129. "preloadRule": {
  130. "pages/accommodation/accommodation": {
  131. "network": "all",
  132. "packages": ["pageA"]
  133. }
  134. }
  135. }