pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationBarTitleText": "登录"
  7. }
  8. },
  9. {
  10. "path": "pages/register/register",
  11. "style": {
  12. "navigationBarTitleText": "注册"
  13. }
  14. },
  15. {
  16. "path": "pages/order/order",
  17. "style": {
  18. "navigationBarTitleText": "订单"
  19. }
  20. },
  21. {
  22. "path": "pages/home/home",
  23. "style": {
  24. "navigationBarTitleText": "首页"
  25. }
  26. },
  27. {
  28. "path": "pages/my/my",
  29. "style": {
  30. "navigationBarTitleText": "我的"
  31. }
  32. },
  33. {
  34. "path": "pages/detail/detail",
  35. "style": {
  36. "navigationBarTitleText": "详情"
  37. }
  38. },
  39. {
  40. "path": "pages/address/address",
  41. "style": {
  42. "navigationBarTitleText": "地址"
  43. }
  44. },
  45. {
  46. "path": "pages/shop/shop",
  47. "style": {
  48. "navigationBarTitleText": "购物车"
  49. }
  50. },
  51. {
  52. "path": "pages/type/type",
  53. "style": {
  54. "navigationBarTitleText": "分类"
  55. }
  56. },
  57. {
  58. "path": "pages/list/list",
  59. "style": {
  60. "navigationBarTitleText": "列表"
  61. }
  62. }
  63. ],
  64. "globalStyle": {
  65. "navigationBarTextStyle": "white",
  66. "navigationBarTitleText": "uni-app",
  67. "navigationBarBackgroundColor": "#ff0000",
  68. // "backgroundColor": "#ff0000",
  69. "usingComponents": {
  70. "van-button": "/wxcomponents/dist/button/index",
  71. "van-image": "/wxcomponents/dist/image/index",
  72. "van-field": "/wxcomponents/dist/field/index",
  73. "van-tabbar": "/wxcomponents/dist/tabbar/index",
  74. "van-tabbar-item": "/wxcomponents/dist/tabbar-item/index",
  75. "van-search": "/wxcomponents/dist/search/index",
  76. "van-grid": "/wxcomponents/dist/grid/index",
  77. "van-grid-item": "/wxcomponents/dist/grid-item/index",
  78. "van-notice-bar": "/wxcomponents/dist/notice-bar/index",
  79. "van-tree-select": "/wxcomponents/dist/tree-select/index",
  80. "van-card": "/wxcomponents/dist/card/index",
  81. "van-sidebar": "/wxcomponents/dist/sidebar/index",
  82. "van-sidebar-item": "/wxcomponents/dist/sidebar-item/index",
  83. "van-empty": "/wxcomponents/dist/empty/index",
  84. "van-row": "/wxcomponents/dist/row/index",
  85. "van-col": "/wxcomponents/dist/col/index",
  86. "van-icon": "/wxcomponents/dist/icon/index",
  87. "van-divider": "/wxcomponents/dist/divider/index",
  88. "van-cell": "/wxcomponents/dist/cell/index",
  89. "van-cell-group": "/wxcomponents/dist/cell-group/index",
  90. "van-tag": "/wxcomponents/dist/tag/index",
  91. "van-goods-action": "/wxcomponents/dist/goods-action/index",
  92. "van-goods-action-icon": "/wxcomponents/dist/goods-action-icon/index",
  93. "van-goods-action-button": "/wxcomponents/dist/goods-action-button/index",
  94. "van-action-sheet": "/wxcomponents/dist/action-sheet/index",
  95. "van-stepper": "/wxcomponents/dist/stepper/index",
  96. "van-toast": "/wxcomponents/dist/toast/index",
  97. "van-checkbox": "/wxcomponents/dist/checkbox/index",
  98. "van-checkbox-group": "/wxcomponents/dist/checkbox-group/index",
  99. "van-submit-bar": "/wxcomponents/dist/submit-bar/index",
  100. "van-submit-bar": "/wxcomponents/dist/submit-bar/index",
  101. "van-image": "/wxcomponents/dist/image/index",
  102. "van-tab": "/wxcomponents/dist/tab/index",
  103. "van-tabs": "/wxcomponents/dist/tabs/index",
  104. "van-empty": "/wxcomponents/dist/empty/index"
  105. }
  106. },
  107. "tabBar": {
  108. "color": "#000000",
  109. "selectedColor": "#ff0000",
  110. "borderStyle": "black",
  111. "backgroundColor": "#ffffff",
  112. "list": [{
  113. "pagePath": "pages/home/home",
  114. "iconPath": "static/home.png",
  115. "selectedIconPath": "static/home_active.png",
  116. "text": "首页"
  117. }, {
  118. "pagePath": "pages/type/type",
  119. "iconPath": "static/type.png",
  120. "selectedIconPath": "static/type_active.png",
  121. "text": "分类"
  122. }, {
  123. "pagePath": "pages/shop/shop",
  124. "iconPath": "static/shop.png",
  125. "selectedIconPath": "static/shop_active.png",
  126. "text": "购物车"
  127. }, {
  128. "pagePath": "pages/my/my",
  129. "iconPath": "static/my.png",
  130. "selectedIconPath": "static/my_active.png",
  131. "text": "我的"
  132. }]
  133. },
  134. "uniIdRouter": {}
  135. }