pages.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. // 注意一定要放在custom里,否则无效,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. }
  31. }
  32. ],
  33. "subPackages": [{
  34. "root": "pages/subpack",
  35. "pages": [{
  36. "path": "pages/login/login",
  37. "style": {
  38. "navigationStyle": "custom",
  39. "navigationBarTextStyle": "black"
  40. }
  41. },
  42. {
  43. "path": "pages/bindInfo/bindInfo",
  44. "style": {
  45. "navigationStyle": "custom",
  46. "navigationBarTextStyle": "black"
  47. }
  48. }
  49. ]
  50. }],
  51. "globalStyle": {
  52. "navigationBarTextStyle": "black",
  53. "navigationBarTitleText": "uni-app",
  54. "navigationBarBackgroundColor": "#F8F8F8",
  55. "backgroundColor": "#F8F8F8"
  56. },
  57. "tabBar": {
  58. "color": "#888888",
  59. "selectedColor": "#1677FF",
  60. "borderStyle": "white",
  61. "backgroundColor": "#FFFFFF",
  62. "list": [{
  63. "iconPath": "static/tabbar/index.png",
  64. "selectedIconPath": "static/tabbar/index-selected.png",
  65. "pagePath": "pages/tabbar/application/application",
  66. "text": "申请"
  67. }, {
  68. "iconPath": "static/tabbar/message.png",
  69. "selectedIconPath": "static/tabbar/message-selected.png",
  70. "pagePath": "pages/tabbar/message/message",
  71. "text": "消息"
  72. }, {
  73. "iconPath": "static/tabbar/mine-new.png",
  74. "selectedIconPath": "static/tabbar/mine-selected.png",
  75. "pagePath": "pages/tabbar/mine/mine",
  76. "text": "我的"
  77. }]
  78. },
  79. "uniIdRouter": {}
  80. }