pages.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/home/home"
  5. },
  6. {
  7. "path": "pages/business/business"
  8. },
  9. {
  10. "path": "pages/my/my"
  11. }
  12. ],
  13. "globalStyle": {
  14. "navigationBarTextStyle": "black",
  15. "navigationBarTitleText": "uni-app",
  16. "navigationBarBackgroundColor": "#F8F8F8",
  17. "backgroundColor": "#F8F8F8",
  18. "app-plus": {
  19. "background": "#efeff4"
  20. }
  21. },
  22. "tabBar": {
  23. "list": [
  24. {
  25. "pagePath": "pages/home/home",
  26. "text": "首页",
  27. "iconPath": "static/hotel.png",
  28. "selectedIconPath": "static/hotelSelected.png"
  29. },
  30. {
  31. "pagePath": "pages/business/business",
  32. "text": "业务办理",
  33. "iconPath": "static/business.png",
  34. "selectedIconPath": "static/businessSelected.png"
  35. },
  36. {
  37. "pagePath": "pages/my/my",
  38. "text": "我的",
  39. "iconPath": "static/my.png",
  40. "selectedIconPath": "static/mySelected.png"
  41. }
  42. ]
  43. },
  44. "subPackages":[
  45. {
  46. "root": "subpkg",
  47. "pages": [
  48. {
  49. "path" : "testSubpkg/testSubpkg"
  50. }
  51. ]
  52. }
  53. ]
  54. }