pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index", // 首页
  8. "style": {
  9. "navigationBarTitleText": "乐色超人",
  10. "navigationBarBackgroundColor": "#FFFFFF",
  11. "navigationBarTextStyle": "black",
  12. "enablePullDownRefresh": false
  13. }
  14. },
  15. {
  16. "path": "pages/index/order",
  17. "style": {
  18. "navigationBarTitleText": "下单",
  19. "navigationStyle":"custom"
  20. }
  21. },
  22. {
  23. "path": "pages/index/yuyueResult",
  24. "style": {
  25. "navigationBarBackgroundColor": "#1995FF",
  26. "navigationStyle":"custom"
  27. }
  28. },
  29. {
  30. "path": "pages/index/zhiyin",
  31. "style": {
  32. "navigationBarTitleText": "回收指引"
  33. }
  34. },
  35. {
  36. "path": "pages/login/login",
  37. "style": {
  38. "navigationBarTitleText": "授权登录"
  39. }
  40. },
  41. {
  42. "path": "pages/userCenter/index",
  43. "style": {
  44. "navigationBarTitleText": "我的",
  45. "navigationBarBackgroundColor": "#fff",
  46. "navigationBarTextStyle": "black"
  47. }
  48. },
  49. {
  50. "path": "pages/order/index",
  51. "style": {
  52. "navigationBarTitleText": "待服务",
  53. "navigationBarBackgroundColor": "#fff",
  54. "navigationBarTextStyle": "black"
  55. }
  56. },
  57. {
  58. "path": "pages/order/orderDetails",
  59. "style": {
  60. "navigationBarTitleText": "订单详情",
  61. "navigationBarBackgroundColor": "#fff",
  62. "navigationBarTextStyle": "black"
  63. }
  64. },
  65. {
  66. "path": "pages/userCenter/aboutUs",
  67. "style": {
  68. "navigationBarTitleText": "关于我们"
  69. }
  70. },
  71. {
  72. "path": "pages/agreement/agreement",
  73. "style": {
  74. "navigationBarTitleText": "用户协议及隐私政策"
  75. }
  76. }
  77. ],
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "uni-app",
  81. "navigationBarBackgroundColor": "#FFFFFF",
  82. "backgroundColor": "#f2f2f2",
  83. "app-plus": {
  84. // 将回弹属性关掉
  85. "bounce": "none",
  86. "scrollIndicator": "none"
  87. }
  88. },
  89. "tabBar": {
  90. "color": "#999999.",
  91. "selectedColor": "#4F88F7",
  92. "backgroundColor": "#ffffff",
  93. "fontSize": "14px",
  94. "list": [
  95. {
  96. "pagePath": "pages/index/index",
  97. "iconPath": "static/pressed.png",
  98. "selectedIconPath": "static/home_pressed.png",
  99. "text": "首页"
  100. },
  101. {
  102. "pagePath": "pages/order/index",
  103. "iconPath": "static/marketing.png",
  104. "selectedIconPath": "static/marketing_pressed.png",
  105. "text": "订单"
  106. },
  107. {
  108. "pagePath": "pages/userCenter/index",
  109. "iconPath": "static/personal.png",
  110. "selectedIconPath": "static/personal_pressed.png",
  111. "text": "我的"
  112. }]
  113. }
  114. }