pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. "text": "首页",
  30. "pagePath": "pages/index/index"
  31. },
  32. {
  33. "text": "关于",
  34. "pagePath": "pages/about/about"
  35. },
  36. {
  37. "text": "我的",
  38. "pagePath": "pages/me/me"
  39. }
  40. ]
  41. },
  42. "pages": [
  43. {
  44. "path": "pages/me/me",
  45. "type": "home",
  46. "layout": "tabbar",
  47. "style": {
  48. "navigationBarTitleText": "我的"
  49. }
  50. },
  51. {
  52. "path": "pages/index/index",
  53. "type": "home",
  54. "layout": "tabbar",
  55. "style": {
  56. "navigationStyle": "custom",
  57. "navigationBarTitleText": "首页"
  58. }
  59. },
  60. {
  61. "path": "pages/about/about",
  62. "type": "page",
  63. "layout": "tabbar",
  64. "style": {
  65. "navigationBarTitleText": "关于"
  66. }
  67. },
  68. {
  69. "path": "pages/about/alova",
  70. "type": "page",
  71. "layout": "default",
  72. "style": {
  73. "navigationBarTitleText": "Alova 请求演示"
  74. }
  75. },
  76. {
  77. "path": "pages/about/vue-query",
  78. "type": "page",
  79. "layout": "default",
  80. "style": {
  81. "navigationBarTitleText": "Vue Query 请求演示"
  82. }
  83. },
  84. {
  85. "path": "pages/login/login",
  86. "type": "page",
  87. "layout": "default",
  88. "style": {
  89. "navigationBarTitleText": "登录"
  90. }
  91. },
  92. {
  93. "path": "pages/login/register",
  94. "type": "page",
  95. "layout": "default",
  96. "style": {
  97. "navigationBarTitleText": "注册"
  98. }
  99. }
  100. ],
  101. "subPackages": [
  102. {
  103. "root": "pages-sub",
  104. "pages": [
  105. {
  106. "path": "demo/index",
  107. "type": "page",
  108. "layout": "default",
  109. "style": {
  110. "navigationBarTitleText": "分包页面"
  111. }
  112. }
  113. ]
  114. }
  115. ]
  116. }