pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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/tabbar/index/index",
  8. "style": {
  9. "navigationBarTitleText": "首页",
  10. "enablePullDownRefresh": false,
  11. "navigationStyle": "custom"
  12. }
  13. }, {
  14. "path": "pages/tabbar/user/user",
  15. "style": {
  16. "navigationBarTitleText": "我的",
  17. "enablePullDownRefresh": false,
  18. "navigationStyle": "custom"
  19. }
  20. }, {
  21. "path": "pages/login/login",
  22. "style": {
  23. "navigationBarTitleText": "登录",
  24. "enablePullDownRefresh": false
  25. }
  26. }
  27. , {
  28. "path": "pages/command/command",
  29. "style": {
  30. "navigationBarTitleText": "指挥交办",
  31. "enablePullDownRefresh": true
  32. }
  33. }, {
  34. "path": "pages/command/commandDetails",
  35. "style": {
  36. "navigationBarTitleText": "指挥详情",
  37. "enablePullDownRefresh": false
  38. }
  39. }, {
  40. "path": "pages/command/application",
  41. "style": {
  42. "navigationBarTitleText": "申请协助",
  43. "enablePullDownRefresh": false
  44. }
  45. }, {
  46. "path": "pages/command/finish",
  47. "style": {
  48. "navigationBarTitleText": "完结事件",
  49. "enablePullDownRefresh": false
  50. }
  51. }, {
  52. "path": "pages/throughTrain/throughTrain",
  53. "style": {
  54. "navigationBarTitleText": "社情民意直通车",
  55. "enablePullDownRefresh": true
  56. }
  57. }, {
  58. "path": "pages/throughTrain/throughTrainDetails",
  59. "style": {
  60. "navigationBarTitleText": "事件详情",
  61. "enablePullDownRefresh": false
  62. }
  63. }, {
  64. "path": "pages/info/info",
  65. "style": {
  66. "navigationBarTitleText": "消息通知",
  67. "enablePullDownRefresh": true
  68. }
  69. }, {
  70. "path": "pages/info/infoDetails",
  71. "style": {
  72. "navigationBarTitleText": "消息详情",
  73. "enablePullDownRefresh": false
  74. }
  75. }, {
  76. "path": "pages/alterPassword/alterPassword",
  77. "style": {
  78. "navigationBarTitleText": "修改密码",
  79. "enablePullDownRefresh": false
  80. }
  81. }
  82. ,{
  83. "path" : "pages/agreement/agreement",
  84. "style" :
  85. {
  86. "navigationBarTitleText": "协议",
  87. "enablePullDownRefresh": false
  88. }
  89. }
  90. ],
  91. "globalStyle": {
  92. "navigationBarTextStyle": "black",
  93. "navigationBarTitleText": "爱罗山",
  94. "navigationBarBackgroundColor": "#f7f7f7",
  95. "backgroundColor": "#f7f7f7"
  96. },
  97. "tabBar": {
  98. "color": "#D1CBCB",
  99. "selectedColor": "#DE2E27",
  100. "borderStyle": "white",
  101. "backgroundColor": "#fff",
  102. "list": [{
  103. "pagePath": "pages/tabbar/index/index",
  104. "iconPath": "static/tabbar/home.png",
  105. "selectedIconPath": "static/tabbar/home-active.png",
  106. "text": "首页"
  107. }, {
  108. "pagePath": "pages/tabbar/user/user",
  109. "iconPath": "static/tabbar/user.png",
  110. "selectedIconPath": "static/tabbar/user-active.png",
  111. "text": "我的"
  112. }]
  113. }
  114. }