pages.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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": true,
  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. "iconType": "uiLib",
  34. "icon": "home"
  35. },
  36. {
  37. "iconPath": "static/tabbar/example.png",
  38. "selectedIconPath": "static/tabbar/exampleHL.png",
  39. "pagePath": "pages/about/about",
  40. "text": "关于",
  41. "iconType": "unocss",
  42. "icon": "i-carbon-code"
  43. }
  44. ]
  45. },
  46. "pages": [
  47. {
  48. "path": "pages/index/index",
  49. "type": "home",
  50. "layout": "tabbar",
  51. "style": {
  52. "navigationStyle": "custom",
  53. "navigationBarTitleText": "首页"
  54. }
  55. },
  56. {
  57. "path": "pages/about/about",
  58. "type": "page",
  59. "layout": "tabbar",
  60. "style": {
  61. "navigationBarTitleText": "关于"
  62. }
  63. },
  64. {
  65. "path": "pages/about/alova",
  66. "type": "page",
  67. "layout": "default",
  68. "style": {
  69. "navigationBarTitleText": "Alova 请求演示"
  70. }
  71. },
  72. {
  73. "path": "pages/about/vue-query",
  74. "type": "page",
  75. "layout": "default",
  76. "style": {
  77. "navigationBarTitleText": "Vue Query 请求演示"
  78. }
  79. }
  80. ],
  81. "subPackages": [
  82. {
  83. "root": "pages-sub",
  84. "pages": [
  85. {
  86. "path": "demo/index",
  87. "type": "page",
  88. "layout": "default",
  89. "style": {
  90. "navigationBarTitleText": "分包页面"
  91. }
  92. }
  93. ]
  94. }
  95. ]
  96. }