pages.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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/home/home",
  17. "style": {
  18. "navigationBarTitleText": "首页"
  19. }
  20. },
  21. {
  22. "path": "pages/type/type",
  23. "style": {
  24. "navigationBarTitleText": "分类"
  25. }
  26. },
  27. {
  28. "path": "pages/shop/shop",
  29. "style": {
  30. "navigationBarTitleText": "购物车"
  31. }
  32. },
  33. {
  34. "path": "pages/my/my",
  35. "style": {
  36. "navigationBarTitleText": "我的"
  37. }
  38. },
  39. {
  40. "path": "pages/detail/detail",
  41. "style": {
  42. "navigationBarTitleText": "详情"
  43. }
  44. },
  45. {
  46. "path": "pages/list/list",
  47. "style": {
  48. "navigationBarTitleText": "地址列表"
  49. }
  50. },
  51. {
  52. "path": "pages/address/address",
  53. "style": {
  54. "navigationBarTitleText": "地址栏"
  55. }
  56. }
  57. ],
  58. "globalStyle": {
  59. "navigationBarTextStyle": "white",
  60. "navigationBarTitleText": "商城",
  61. "navigationBarBackgroundColor": "#ff0000",
  62. "backgroundColor": "#F8F8F8",
  63. "usingComponents": {
  64. "van-button": "/wxcomponents/vant/button/index",
  65. "van-field": "/wxcomponents/vant/field/index",
  66. "van-search": "/wxcomponents/vant/search/index",
  67. "van-grid": "/wxcomponents/vant/grid/index",
  68. "van-grid-item": "/wxcomponents/vant/grid-item/index",
  69. "van-icon": "/wxcomponents/vant/icon/index",
  70. "van-notice-bar": "/wxcomponents/vant/notice-bar/index",
  71. "van-tree-select": "/wxcomponents/vant/tree-select/index",
  72. "van-card": "/wxcomponents/vant/card/index",
  73. "van-divider": "/wxcomponents/vant/divider/index",
  74. "van-cell": "/wxcomponents/vant/cell/index",
  75. "van-cell-group": "/wxcomponents/vant/cell-group/index",
  76. "van-tag": "/wxcomponents/vant/tag/index",
  77. "van-goods-action": "/wxcomponents/vant/goods-action/index",
  78. "van-goods-action-icon": "/wxcomponents/vant/goods-action-icon/index",
  79. "van-goods-action-button": "/wxcomponents/vant/goods-action-button/index",
  80. "van-action-sheet": "/wxcomponents/vant/action-sheet/index",
  81. "van-stepper": "/wxcomponents/vant/stepper/index",
  82. "van-checkbox": "/wxcomponents/vant/checkbox/index",
  83. "van-checkbox-group": "/wxcomponents/vant/checkbox-group/index",
  84. "van-row": "/wxcomponents/vant/row/index",
  85. "van-col": "/wxcomponents/vant/col/index",
  86. "van-submit-bar": "/wxcomponents/vant/submit-bar/index",
  87. "van-cascader": "/wxcomponents/vant/cascader/index",
  88. "van-switch": "/wxcomponents/vant/switch/index"
  89. }
  90. },
  91. "tabBar": {
  92. "color": "#000000",
  93. "selectedColor": "#ff0000",
  94. "borderStyle": "black",
  95. "backgroundColor": "#ffffff",
  96. "list": [{
  97. "pagePath": "pages/home/home",
  98. "iconPath": "static/home.png",
  99. "selectedIconPath": "static/home_active.png",
  100. "text": "首页"
  101. }, {
  102. "pagePath": "pages/type/type",
  103. "iconPath": "static/type.png",
  104. "selectedIconPath": "static/type_active.png",
  105. "text": "分类"
  106. }, {
  107. "pagePath": "pages/shop/shop",
  108. "iconPath": "static/shop.png",
  109. "selectedIconPath": "static/shop_active.png",
  110. "text": "购物车"
  111. }, {
  112. "pagePath": "pages/my/my",
  113. "iconPath": "static/my.png",
  114. "selectedIconPath": "static/my_active.png",
  115. "text": "我的"
  116. }]
  117. },
  118. "uniIdRouter": {}
  119. }