pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. // 注意一定要放在custom里,wxa5c97dfa28e626a9否则无效,https://ask.dcloud.net.cn/question/131175
  5. "custom": {
  6. "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  7. "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  8. "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
  9. }
  10. },
  11. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  12. {
  13. "path": "pages/tabbar/application/application",
  14. "style": {
  15. "navigationStyle": "custom",
  16. "navigationBarTextStyle": "black"
  17. }
  18. },
  19. {
  20. "path": "pages/tabbar/message/message",
  21. "style": {
  22. "navigationStyle": "custom",
  23. "navigationBarTextStyle": "black"
  24. }
  25. },
  26. {
  27. "path": "pages/tabbar/mine/mine",
  28. "style": {
  29. "navigationBarTitleText": "我的",
  30. "navigationStyle": "custom"
  31. }
  32. }
  33. ],
  34. "subPackages": [{
  35. "root": "pages/subpack",
  36. "pages": [{
  37. "path": "pages/login/login",
  38. "style": {
  39. "navigationStyle": "custom",
  40. "navigationBarTextStyle": "black"
  41. }
  42. },
  43. {
  44. "path": "pages/bindInfo/bindInfo",
  45. "style": {
  46. "navigationStyle": "custom",
  47. "navigationBarTextStyle": "black"
  48. }
  49. },
  50. {
  51. "path": "pages/myInfo/info",
  52. "style": {
  53. "navigationStyle": "custom",
  54. "navigationBarTitleText": "个人信息"
  55. }
  56. },
  57. {
  58. "path": "pages/application/list",
  59. "style": {
  60. "navigationStyle": "custom",
  61. "navigationBarTitleText": "申请列表"
  62. }
  63. },
  64. {
  65. "path": "pages/application/info",
  66. "style": {
  67. "navigationStyle": "custom",
  68. "navigationBarTitleText": "申请详情-流程相关"
  69. }
  70. }
  71. ]
  72. }],
  73. "globalStyle": {
  74. "navigationBarTextStyle": "black",
  75. "navigationBarTitleText": "uni-app",
  76. "navigationBarBackgroundColor": "#F8F8F8",
  77. "backgroundColor": "#F8F8F8"
  78. },
  79. "tabBar": {
  80. "color": "#888888",
  81. "selectedColor": "#1677FF",
  82. "borderStyle": "white",
  83. "backgroundColor": "#FFFFFF",
  84. "list": [{
  85. "iconPath": "static/tabbar/index.png",
  86. "selectedIconPath": "static/tabbar/index-selected.png",
  87. "pagePath": "pages/tabbar/application/application",
  88. "text": "申请"
  89. }, {
  90. "iconPath": "static/tabbar/message.png",
  91. "selectedIconPath": "static/tabbar/message-selected.png",
  92. "pagePath": "pages/tabbar/message/message",
  93. "text": "消息"
  94. }, {
  95. "iconPath": "static/tabbar/mine-new.png",
  96. "selectedIconPath": "static/tabbar/mine-selected.png",
  97. "pagePath": "pages/tabbar/mine/mine",
  98. "text": "我的"
  99. }]
  100. },
  101. "uniIdRouter": {}
  102. }