pages.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [{
  6. "path": "pages/index/index",
  7. "style": {
  8. "navigationBarTitleText": "首页",
  9. "navigationBarBackgroundColor": "#FFFFFF",
  10. "navigationBarTextStyle": "black",
  11. "navigationStyle":"custom",
  12. "app-plus":{
  13. "titleView":false
  14. }
  15. // "app-plus":{
  16. // "titleNView":false //去掉app+h5顶部导航
  17. // }
  18. }
  19. },
  20. {
  21. "path": "pages/news/news",
  22. "style": {
  23. "navigationBarTitleText": "新闻动态",
  24. "navigationBarBackgroundColor": "#FFFFFF",
  25. "navigationBarTextStyle": "black",
  26. "navigationStyle":"custom",
  27. "app-plus":{
  28. "titleView":false
  29. }
  30. // "app-plus":{
  31. // "titleNView":false //去掉app+h5顶部导航
  32. // }
  33. }
  34. },
  35. {
  36. "path": "pages/case/case",
  37. "style": {
  38. "navigationBarTitleText": "案例展示",
  39. "navigationBarBackgroundColor": "#FFFFFF",
  40. "navigationBarTextStyle": "black",
  41. "navigationStyle":"custom",
  42. "app-plus":{
  43. "titleView":false
  44. }
  45. // "app-plus":{
  46. // "titleNView":false //去掉app+h5顶部导航
  47. // }
  48. }
  49. },
  50. {
  51. "path": "pages/about/about",
  52. "style": {
  53. "navigationBarTitleText": "关于我们",
  54. "navigationBarBackgroundColor": "#FFFFFF",
  55. "navigationBarTextStyle": "black",
  56. "navigationStyle":"custom",
  57. "app-plus":{
  58. "titleView":false
  59. }
  60. // "app-plus":{
  61. // "titleNView":false //去掉app+h5顶部导航
  62. // }
  63. }
  64. },
  65. {
  66. "path": "pages/test/test",
  67. "style": {
  68. "navigationBarTitleText": "节水测试",
  69. "navigationBarBackgroundColor": "#FFFFFF",
  70. "navigationBarTextStyle": "black",
  71. "navigationStyle":"custom",
  72. "app-plus":{
  73. "titleView":false
  74. }
  75. // "app-plus":{
  76. // "titleNView":false //去掉app+h5顶部导航
  77. // }
  78. }
  79. }
  80. ],
  81. "globalStyle": {
  82. "navigationBarTextStyle": "black",
  83. "navigationBarTitleText": "uni-app",
  84. "navigationBarBackgroundColor": "#FFFFFF",
  85. "backgroundColor": "#f8f8f8",
  86. "enablePullDownRefresh": true
  87. },
  88. "tabBar": {
  89. "color": "#FFFFFF",
  90. "selectedColor": "#FFFFFF",
  91. "iconWidth": "18px",
  92. "borderStyle": "black",
  93. "backgroundColor": "#1874CD",
  94. // "selectedBackgroundColor":"#3CB371",
  95. "list": [{
  96. "pagePath": "pages/index/index",
  97. "iconPath": "static/tabBar/11.png",
  98. "selectedIconPath": "static/tabBar/11.png",
  99. "text": "首页"
  100. },
  101. {
  102. "pagePath": "pages/about/about",
  103. "iconPath": "static/tabBar/22.png",
  104. "selectedIconPath": "static/tabBar/22.png",
  105. "text": "关于我们"
  106. },
  107. {
  108. "pagePath": "pages/case/case",
  109. "iconPath": "static/tabBar/33.png",
  110. "selectedIconPath": "static/tabBar/33.png",
  111. "text": "案例展示"
  112. },
  113. {
  114. "pagePath": "pages/news/news",
  115. "iconPath": "static/tabBar/44.png",
  116. "selectedIconPath": "static/tabBar/44.png",
  117. "text": "新闻动态"
  118. },
  119. {
  120. "pagePath": "pages/test/test",
  121. "iconPath": "static/tabBar/55.png",
  122. "selectedIconPath": "static/tabBar/55.png",
  123. "text": "节水测试"
  124. }
  125. ]
  126. }
  127. }