pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "首页"
  7. }
  8. },
  9. {
  10. "path": "pages/category/category",
  11. "style": {
  12. "navigationBarTitleText": "分类"
  13. }
  14. },
  15. {
  16. "path": "pages/cart/cart",
  17. "style": {
  18. "navigationBarTitleText": "购物车"
  19. }
  20. },
  21. {
  22. "path": "pages/user/user",
  23. "style": {
  24. "navigationBarTitleText": "我的"
  25. }
  26. },
  27. {
  28. "path": "pages/login/social",
  29. "style": {
  30. "navigationBarTitleText": "授权登录"
  31. }
  32. },
  33. {
  34. "path": "pages/login/mobile",
  35. "style": {
  36. "navigationBarTitleText": "手机登录"
  37. }
  38. },
  39. {
  40. "path": "pages/forgot/forgot",
  41. "style": {
  42. "navigationBarTitleText": "忘记密码"
  43. }
  44. },
  45. {
  46. "path": "pages/profile/profile",
  47. "style": {
  48. "navigationBarTitleText": "个人资料"
  49. }
  50. },
  51. {
  52. "path": "pages/product/product",
  53. "style": {
  54. "navigationBarTitleText": "商品详情"
  55. }
  56. },
  57. {
  58. "path": "pages/address/list",
  59. "style": {
  60. "navigationBarTitleText": "收货地址"
  61. }
  62. },
  63. {
  64. "path": "pages/search/search",
  65. "style": {
  66. "navigationBarTitleText": "搜索"
  67. }
  68. },
  69. {
  70. "path": "pages/address/create",
  71. "style": {
  72. "navigationBarTitleText": "新增地址"
  73. }
  74. },
  75. {
  76. "path": "pages/address/update",
  77. "style": {
  78. "navigationBarTitleText": "修改地址"
  79. }
  80. }
  81. ],
  82. "tabBar": {
  83. "selectedColor": "#333333",
  84. "color": "#bfbfbf",
  85. "list": [
  86. {
  87. "pagePath": "pages/index/index",
  88. "text": "首页",
  89. "iconPath": "/static/images/tabbar/index.png",
  90. "selectedIconPath": "/static/images/tabbar/index-active.png"
  91. },
  92. {
  93. "pagePath": "pages/category/category",
  94. "text": "分类",
  95. "iconPath": "/static/images/tabbar/category.png",
  96. "selectedIconPath": "/static/images/tabbar/category-active.png"
  97. },
  98. {
  99. "pagePath": "pages/cart/cart",
  100. "text": "购物车",
  101. "iconPath": "/static/images/tabbar/cart.png",
  102. "selectedIconPath": "/static/images/tabbar/cart-active.png"
  103. },
  104. {
  105. "pagePath": "pages/user/user",
  106. "text": "我的",
  107. "iconPath": "/static/images/tabbar/user.png",
  108. "selectedIconPath": "/static/images/tabbar/user-active.png"
  109. }
  110. ]
  111. },
  112. "globalStyle": {
  113. "navigationBarTextStyle": "black",
  114. "navigationBarTitleText": "patrol-ui-app",
  115. "navigationBarBackgroundColor": "#F8F8F8",
  116. "backgroundColor": "#FFFFFF"
  117. }
  118. }