pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/login/login",
  15. "style": {
  16. "navigationBarTitleText": "授权登录"
  17. }
  18. },
  19. {
  20. "path": "pages/login/phoneLogin",
  21. "style": {
  22. "navigationBarTitleText": "手机号登录"
  23. }
  24. },
  25. {
  26. "path": "pages/userCenter/index",
  27. "style": {
  28. "navigationBarTitleText": "个人中心",
  29. "navigationBarBackgroundColor": "#01c9b2",
  30. "navigationBarTextStyle": "white"
  31. }
  32. },
  33. {
  34. "path": "pages/userCenter/userInfo/userInfo",
  35. "style": {
  36. "navigationBarTitleText": "个人信息"
  37. }
  38. },
  39. {
  40. "path": "pages/userCenter/userInfo/smsVerification",
  41. "style": {
  42. "navigationBarTitleText": "短信验证"
  43. }
  44. },
  45. {
  46. "path": "pages/userCenter/userInfo/paymentPwd",
  47. "style": {
  48. "navigationBarTitleText": "支付密码"
  49. }
  50. },
  51. {
  52. "path": "pages/userCenter/userInfo/changePayPwd",
  53. "style": {
  54. "navigationBarTitleText": "修改支付密码"
  55. }
  56. },
  57. {
  58. "path": "pages/userCenter/aboutUs",
  59. "style": {
  60. "navigationBarTitleText": "关于我们"
  61. }
  62. },
  63. {
  64. "path": "pages/userCenter/question",
  65. "style": {
  66. "navigationBarTitleText": "常见问题"
  67. }
  68. },
  69. {
  70. "path": "pages/agreement/agreement",
  71. "style": {
  72. "navigationBarTitleText": "注意事项及服务协议"
  73. }
  74. },
  75. {
  76. "path" : "pages/userCenter/myCode/myCode",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "我的投递码",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ],
  84. // "subPackages": [{
  85. // "root": "pagesA",
  86. // "pages": [
  87. // ]
  88. // }],
  89. // "preloadRule": {
  90. // "pages/index/index": {
  91. // "network": "all",
  92. // "packages": ["pagesA"]
  93. // }
  94. // },
  95. "globalStyle": {
  96. "navigationBarTextStyle": "black",
  97. "navigationBarTitleText": "uni-app",
  98. "navigationBarBackgroundColor": "#FFFFFF",
  99. "backgroundColor": "#f2f2f2",
  100. "app-plus": {
  101. // 将回弹属性关掉
  102. "bounce": "none",
  103. "scrollIndicator": "none"
  104. }
  105. },
  106. "tabBar": {
  107. "color": "#7A7E83",
  108. "selectedColor": "#01c9b2",
  109. "backgroundColor": "#ffffff",
  110. "fontSize": "14px",
  111. "list": [
  112. {
  113. "pagePath": "pages/index/index",
  114. "iconPath": "static/tabbar/home.png",
  115. "selectedIconPath": "static/tabbar/home-active.png",
  116. "text": "采集"
  117. },
  118. {
  119. "pagePath": "pages/userCenter/index",
  120. "iconPath": "static/tabbar/user.png",
  121. "selectedIconPath": "static/tabbar/user-active.png",
  122. "text": "我的"
  123. }]
  124. }
  125. }