pages.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "globalStyle": {
  3. "navigationStyle": "default",
  4. "navigationBarTitleText": "unibest",
  5. "navigationBarBackgroundColor": "#f8f8f8",
  6. "navigationBarTextStyle": "black",
  7. "backgroundColor": "#FFFFFF"
  8. },
  9. "easycom": {
  10. "autoscan": true,
  11. "custom": {
  12. "^fg-(.*)": "@/components/fg-$1/fg-$1.vue",
  13. "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
  14. "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
  15. }
  16. },
  17. "tabBar": {
  18. "custom": false,
  19. "color": "#999999",
  20. "selectedColor": "#018d71",
  21. "backgroundColor": "#F8F8F8",
  22. "borderStyle": "black",
  23. "height": "50px",
  24. "fontSize": "10px",
  25. "iconWidth": "24px",
  26. "spacing": "3px",
  27. "list": [
  28. {
  29. "iconPath": "static/tabbar/home.png",
  30. "selectedIconPath": "static/tabbar/homeHL.png",
  31. "pagePath": "pages/index/index",
  32. "text": "首页"
  33. },
  34. {
  35. "iconPath": "static/tabbar/example.png",
  36. "selectedIconPath": "static/tabbar/exampleHL.png",
  37. "pagePath": "pages/about/about",
  38. "text": "关于"
  39. }
  40. ]
  41. },
  42. "pages": [
  43. {
  44. "path": "pages/index/index",
  45. "type": "home",
  46. "layout": "tabbar",
  47. "style": {
  48. "navigationStyle": "custom",
  49. "navigationBarTitleText": "首页"
  50. }
  51. },
  52. {
  53. "path": "pages/about/about",
  54. "type": "page",
  55. "layout": "tabbar",
  56. "style": {
  57. "navigationBarTitleText": "关于"
  58. }
  59. },
  60. {
  61. "path": "pages/about/alova",
  62. "type": "page",
  63. "layout": "default",
  64. "style": {
  65. "navigationBarTitleText": "Alova 请求演示"
  66. }
  67. },
  68. {
  69. "path": "pages/about/vue-query",
  70. "type": "page",
  71. "layout": "default",
  72. "style": {
  73. "navigationBarTitleText": "Vue Query 请求演示"
  74. }
  75. }
  76. ],
  77. "subPackages": [
  78. {
  79. "root": "pages-sub",
  80. "pages": [
  81. {
  82. "path": "demo/index",
  83. "type": "page",
  84. "layout": "default",
  85. "style": {
  86. "navigationBarTitleText": "分包页面"
  87. }
  88. }
  89. ]
  90. }
  91. ]
  92. }