pages.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. "navigationBarTitleText": "申请"
  16. }
  17. },
  18. {
  19. "path": "pages/tabbar/mine/mine",
  20. "style": {
  21. "navigationBarTitleText": "我的"
  22. }
  23. }
  24. ],
  25. "subPackages": [{
  26. "root": "pages/subpack",
  27. "pages": [{
  28. "path": "pages/login/login",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTextStyle": "black"
  32. }
  33. },
  34. {
  35. "path": "pages/bindInfo/bindInfo",
  36. "style": {
  37. "navigationStyle": "custom",
  38. "navigationBarTextStyle": "black"
  39. }
  40. }
  41. ]
  42. }],
  43. "globalStyle": {
  44. "navigationBarTextStyle": "black",
  45. "navigationBarTitleText": "uni-app",
  46. "navigationBarBackgroundColor": "#F8F8F8",
  47. "backgroundColor": "#F8F8F8"
  48. },
  49. "tabBar": {
  50. "color": "#888888",
  51. "selectedColor": "#1677FF",
  52. "borderStyle": "white",
  53. "backgroundColor": "#FFFFFF",
  54. "list": [{
  55. "iconPath": "static/tabbar/index.png",
  56. "selectedIconPath": "static/tabbar/index-selected.png",
  57. "pagePath": "pages/tabbar/application/application",
  58. "text": "申请"
  59. }, {
  60. "iconPath": "static/tabbar/mine-new.png",
  61. "selectedIconPath": "static/tabbar/mine-selected.png",
  62. "pagePath": "pages/tabbar/mine/mine",
  63. "text": "我的"
  64. }]
  65. },
  66. "uniIdRouter": {}
  67. }