pages.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "首页"
  6. }
  7. },
  8. {
  9. "path": "pages/category/index",
  10. "style": {
  11. "navigationBarTitleText": "分类"
  12. }
  13. },
  14. {
  15. "path": "pages/service/index",
  16. "style": {
  17. "navigationBarTitleText": "售后"
  18. }
  19. },
  20. {
  21. "path": "pages/my/index",
  22. "style": {
  23. "navigationBarTitleText": "我的"
  24. }
  25. },
  26. {
  27. "path": "pages/map/index",
  28. "style": {
  29. "navigationBarTitleText": "地图"
  30. }
  31. }
  32. ],
  33. "globalStyle": {
  34. "navigationBarTextStyle": "black",
  35. "navigationBarTitleText": "uni-app",
  36. "navigationBarBackgroundColor": "#F8F8F8",
  37. "backgroundColor": "#F8F8F8",
  38. "navigationStyle": "custom",
  39. "app-plus": {
  40. "background": "#efeff4"
  41. }
  42. },
  43. "tabBar": {
  44. "color": "black", //字体颜色
  45. "selectedColor": "#1afa29", //选中时字体颜色
  46. "borderStyle": "black", //底部的上边框线条
  47. "backgroundColor": "#F8F8F8", //底部背景色
  48. "fontSize": "12px", //字体大小
  49. "spacing": "5px", //字体到图标的距离
  50. "height": "50px", //底部高
  51. "list": [{
  52. "pagePath": "pages/index/index",
  53. "text": "首页",
  54. "iconPath": "static/tabbar/index.png",
  55. "selectedIconPath": "static/tabbar/index_a.png"
  56. },
  57. {
  58. "pagePath": "pages/category/index",
  59. "text": "分类",
  60. "iconPath": "static/tabbar/cat.png",
  61. "selectedIconPath": "static/tabbar/cat_a.png"
  62. },
  63. {
  64. "pagePath": "pages/service/index",
  65. "text": "售后",
  66. "iconPath": "static/tabbar/service.png",
  67. "selectedIconPath": "static/tabbar/service_a.png"
  68. },
  69. {
  70. "pagePath": "pages/my/index",
  71. "text": "我的",
  72. "iconPath": "static/tabbar/my.png",
  73. "selectedIconPath": "static/tabbar/my_a.png"
  74. }
  75. ]
  76. }
  77. }