pages.json 2.9 KB

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