pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. // "navigationBarBackgroundColor": "#1995FF",
  20. // "navigationBarTextStyle": "white"
  21. "navigationStyle":"custom"
  22. }
  23. },
  24. {
  25. "path": "pages/index/yuyue",
  26. "style": {
  27. "navigationBarTitleText": "下单",
  28. "navigationStyle":"custom"
  29. }
  30. },
  31. {
  32. "path": "pages/index/userInfo",
  33. "style": {
  34. "navigationBarTitleText": "用户信息"
  35. }
  36. },
  37. {
  38. "path": "pages/index/yuyueResult",
  39. "style": {
  40. "navigationBarBackgroundColor": "#1995FF",
  41. "navigationStyle":"custom"
  42. }
  43. },
  44. {
  45. "path": "pages/index/zhiyin",
  46. "style": {
  47. "navigationBarTitleText": "回收指引"
  48. }
  49. },
  50. {
  51. "path": "pages/login/login",
  52. "style": {
  53. "navigationBarTitleText": "授权登录"
  54. }
  55. },
  56. {
  57. "path": "pages/userCenter/index",
  58. "style": {
  59. "navigationBarTitleText": "我的",
  60. "navigationBarBackgroundColor": "#fff",
  61. "navigationBarTextStyle": "black"
  62. }
  63. },
  64. {
  65. "path": "pages/order/index",
  66. "style": {
  67. "navigationBarTitleText": "待服务",
  68. "navigationBarBackgroundColor": "#fff",
  69. "navigationBarTextStyle": "black"
  70. }
  71. },
  72. {
  73. "path": "pages/order/orderDetails",
  74. "style": {
  75. "navigationBarTitleText": "订单详情",
  76. "navigationBarBackgroundColor": "#fff",
  77. "navigationBarTextStyle": "black"
  78. }
  79. },
  80. {
  81. "path": "pages/userCenter/aboutUs",
  82. "style": {
  83. "navigationBarTitleText": "关于我们"
  84. }
  85. },
  86. {
  87. "path": "pages/agreement/agreement",
  88. "style": {
  89. "navigationBarTitleText": "用户协议及隐私政策"
  90. }
  91. }
  92. ],
  93. "globalStyle": {
  94. "navigationBarTextStyle": "black",
  95. "navigationBarTitleText": "uni-app",
  96. "navigationBarBackgroundColor": "#FFFFFF",
  97. "backgroundColor": "#f2f2f2",
  98. "app-plus": {
  99. // 将回弹属性关掉
  100. "bounce": "none",
  101. "scrollIndicator": "none"
  102. }
  103. },
  104. "tabBar": {
  105. "color": "#999999.",
  106. "selectedColor": "#4F88F7",
  107. "backgroundColor": "#ffffff",
  108. "fontSize": "14px",
  109. "list": [
  110. {
  111. "pagePath": "pages/index/index",
  112. "iconPath": "static/pressed.png",
  113. "selectedIconPath": "static/home_pressed.png",
  114. "text": "首页"
  115. },
  116. {
  117. "pagePath": "pages/order/index",
  118. "iconPath": "static/marketing.png",
  119. "selectedIconPath": "static/marketing_pressed.png",
  120. "text": "订单"
  121. },
  122. {
  123. "pagePath": "pages/userCenter/index",
  124. "iconPath": "static/personal.png",
  125. "selectedIconPath": "static/personal_pressed.png",
  126. "text": "我的"
  127. }]
  128. }
  129. }