pages.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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/userCenter/index",
  21. "style": {
  22. "navigationBarTitleText": "个人中心"
  23. }
  24. },
  25. {
  26. "path": "pages/order/order",
  27. "style": {
  28. "navigationBarTitleText": "我的订单"
  29. }
  30. }, {
  31. "path": "pages/order/orderDetail",
  32. "style": {
  33. "navigationBarTitleText": "订单详情"
  34. }
  35. },
  36. {
  37. "path": "pages/agreement/agreement",
  38. "style": {
  39. "navigationBarTitleText": "注意事项及服务协议"
  40. }
  41. }
  42. ],
  43. "globalStyle": {
  44. "navigationBarTextStyle": "white",
  45. "navigationBarTitleText": "uni-app",
  46. "navigationBarBackgroundColor": "#22bf11",
  47. "backgroundColor": "#F8F8F8",
  48. "app-plus": {
  49. // 将回弹属性关掉
  50. "bounce": "none",
  51. "scrollIndicator": "none"
  52. }
  53. },
  54. "tabBar": {
  55. "color": "#7A7E83",
  56. "selectedColor": "#00aa00",
  57. "borderStyle": "#eee",
  58. "backgroundColor": "#ffffff",
  59. "fontSize": "14px",
  60. "list": [{
  61. "pagePath": "pages/index/index",
  62. "iconPath": "static/tabbar/home.png",
  63. "selectedIconPath": "static/tabbar/home-active.png",
  64. "text": "首页"
  65. },
  66. {
  67. "pagePath": "pages/userCenter/index",
  68. "iconPath": "static/tabbar/user.png",
  69. "selectedIconPath": "static/tabbar/user-active.png",
  70. "text": "我的"
  71. }]
  72. }
  73. }