pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue",
  13. "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
  14. }
  15. },
  16. "tabBar": {
  17. "custom": true,
  18. "color": "#999999",
  19. "selectedColor": "#018d71",
  20. "backgroundColor": "#F8F8F8",
  21. "borderStyle": "black",
  22. "height": "50px",
  23. "fontSize": "10px",
  24. "iconWidth": "24px",
  25. "spacing": "3px",
  26. "list": [
  27. {
  28. "icon": "/static/tabbar/home.png",
  29. "pagePath": "pages/index/index",
  30. "text": "tabbar.home",
  31. "iconType": "local"
  32. },
  33. {
  34. "icon": "/static/tabbar/category.png",
  35. "pagePath": "pages/category/category",
  36. "text": "tabbar.category",
  37. "iconType": "local"
  38. },
  39. {
  40. "icon": "/static/tabbar/cart.png",
  41. "pagePath": "pages/cart/cart",
  42. "text": "tabbar.cart",
  43. "iconType": "local"
  44. },
  45. {
  46. "icon": "/static/tabbar/community.png",
  47. "pagePath": "pages/community/community",
  48. "text": "tabbar.community",
  49. "iconType": "local"
  50. },
  51. {
  52. "icon": "/static/tabbar/person.png",
  53. "pagePath": "pages/person/person",
  54. "text": "tabbar.person",
  55. "iconType": "local"
  56. }
  57. ]
  58. },
  59. "pages": [
  60. {
  61. "path": "pages/index/index",
  62. "type": "home",
  63. "layout": "tabbar",
  64. "style": {
  65. "navigationStyle": "custom",
  66. "navigationBarTitleText": "%tabbar.home%"
  67. }
  68. },
  69. {
  70. "path": "pages/about/about",
  71. "type": "page",
  72. "style": {
  73. "navigationBarTitleText": "%app.name%"
  74. }
  75. },
  76. {
  77. "path": "pages/cart/cart",
  78. "type": "page",
  79. "layout": "tabbar",
  80. "style": {
  81. "navigationBarTitleText": "%tabbar.cart%"
  82. }
  83. },
  84. {
  85. "path": "pages/category/category",
  86. "type": "page",
  87. "layout": "tabbar",
  88. "style": {
  89. "navigationBarTitleText": "%tabbar.category%"
  90. }
  91. },
  92. {
  93. "path": "pages/community/community",
  94. "type": "page",
  95. "layout": "tabbar",
  96. "style": {
  97. "navigationBarTitleText": "%tabbar.community%"
  98. }
  99. },
  100. {
  101. "path": "pages/person/person",
  102. "type": "page",
  103. "layout": "tabbar",
  104. "style": {
  105. "navigationBarTitleText": "%tabbar.person%"
  106. }
  107. },
  108. {
  109. "path": "pages/user/login",
  110. "type": "page",
  111. "style": {
  112. "navigationStyle": "custom",
  113. "navigationBarTitleText": "登录"
  114. }
  115. }
  116. ],
  117. "subPackages": []
  118. }