pages.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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/login/index",
  8. "style": {
  9. "navigationBarTitleText": "登录",
  10. "navigationStyle": "custom"
  11. }
  12. }, {
  13. "path": "pages/reg/index",
  14. "style": {
  15. "navigationBarTitleText": "现场问题记录单"
  16. }
  17. },{
  18. "path": "pages/reg/duty-list",
  19. "style": {
  20. "navigationBarTitleText": "现场问题记录单列表"
  21. }
  22. },{
  23. "path": "pages/reg/reg-detail",
  24. "style": {
  25. "navigationBarTitleText": "现场问题记录单详情"
  26. }
  27. },{
  28. "path": "pages/feature/list",
  29. "style": {
  30. "navigationBarTitleText": "功能列表",
  31. "enablePullDownRefresh": false
  32. }
  33. },{
  34. "path": "pages/me/index",
  35. "style": {
  36. "navigationBarTitleText": "个人中心",
  37. "enablePullDownRefresh": false
  38. }
  39. },{
  40. "path": "pages/me/modify-password",
  41. "style": {
  42. "navigationBarTitleText": "修改密码",
  43. "enablePullDownRefresh": false
  44. }
  45. }
  46. ],
  47. "tabBar": {
  48. "borderStyle": "black",
  49. "backgroundColor": "#ffffff",
  50. "list": [
  51. {
  52. "pagePath": "pages/reg/duty-list",
  53. "iconPath":"static/icon/home.png",
  54. "selectedIconPath":"static/icon/homefill.png",
  55. "text":"首页"
  56. },
  57. {
  58. "pagePath": "pages/feature/list",
  59. "iconPath":"static/icon/grid.png",
  60. "selectedIconPath":"static/icon/layout-grid-fill.png",
  61. "text":"工作台"
  62. },
  63. {
  64. "pagePath": "pages/me/index",
  65. "iconPath":"static/icon/account.png",
  66. "selectedIconPath":"static/icon/accountfilling.png",
  67. "text":"个人中心"
  68. }
  69. ]
  70. },
  71. "globalStyle": {
  72. "navigationBarTextStyle": "black",
  73. "navigationBarTitleText": "uni-app",
  74. "navigationBarBackgroundColor": "#F8F8F8",
  75. "backgroundColor": "#F8F8F8"
  76. }
  77. }