pages.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "校园综合服务平台"
  7. }
  8. },
  9. {
  10. "path" : "pages/orders/orders",
  11. "style" :
  12. {
  13. "navigationBarTitleText" : "订 单",
  14. "enablePullDownRefresh" : false
  15. }
  16. },
  17. {
  18. "path" : "pages/me/me",
  19. "style" :
  20. {
  21. "navigationBarTitleText" : "我 的",
  22. "enablePullDownRefresh" : false
  23. }
  24. },
  25. {
  26. "path" : "pages/login/login",
  27. "style" :
  28. {
  29. "navigationBarTitleText" : "登 录"
  30. }
  31. },
  32. {
  33. "path" : "pages/register/register",
  34. "style" :
  35. {
  36. "navigationBarTitleText" : "注 册"
  37. }
  38. },
  39. {
  40. "path" : "pages/preOrder/preOrder",
  41. "style" :
  42. {
  43. "navigationBarTitleText" : "下单"
  44. }
  45. }
  46. ],
  47. "globalStyle": {
  48. // 导航栏标题颜色及状态栏前景颜色,仅支持 black/white
  49. "navigationBarTextStyle": "white",
  50. // 导航栏标题文字内容
  51. "navigationBarTitleText": "校园综合服务平台",
  52. // 导航栏背景颜色(同状态栏背景色)
  53. "navigationBarBackgroundColor": "#006eff",
  54. // 下拉显示出来的窗口的背景色
  55. "backgroundColor": "#F8F8F8"
  56. },
  57. //底部导航菜单
  58. "tabBar": {
  59. "backgroundColor": "#fff",
  60. "selectedColor": "#006eff",
  61. "color": "#666",
  62. "list": [
  63. {
  64. "iconPath": "/static/icons/home.png",
  65. "selectedIconPath": "static/icons/home-active.png",
  66. "text": "首页",
  67. "pagePath": "pages/index/index"
  68. },
  69. {
  70. "iconPath": "/static/icons/orders.png",
  71. "selectedIconPath": "static/icons/orders-active.png",
  72. "text": "订单",
  73. "pagePath": "pages/orders/orders"
  74. },
  75. {
  76. "iconPath": "/static/icons/me.png",
  77. "selectedIconPath": "static/icons/me-active.png",
  78. "text": "我的",
  79. "pagePath": "pages/me/me"
  80. }
  81. ]
  82. },
  83. "uniIdRouter": {}
  84. }