pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "首页",
  6. "navigationBarBackgroundColor":"#DEEDFB"
  7. }
  8. }
  9. ,{
  10. "path" : "pages/history/history",
  11. "style" :
  12. {
  13. "navigationBarTitleText": "历史",
  14. "navigationBarBackgroundColor": "#DEEDFB",
  15. "enablePullDownRefresh": false
  16. }
  17. }
  18. ,{
  19. "path" : "pages/myCenter/myCenter",
  20. "style" :
  21. {
  22. "navigationBarTitleText": "我的",
  23. "navigationBarBackgroundColor":"#3D90F4",
  24. "enablePullDownRefresh": false,
  25. "navigationStyle": "custom"
  26. }
  27. },
  28. {
  29. "path" : "pages/history/detail/detail",
  30. "style" :
  31. {
  32. "navigationBarTitleText": "运动详情",
  33. "navigationBarBackgroundColor": "#3D90F4",
  34. "enablePullDownRefresh": false
  35. }
  36. },
  37. {
  38. "path": "pages/login/index",
  39. "style": {
  40. "navigationBarTitleText": "登录"
  41. }
  42. },
  43. {
  44. "path" : "pages/myCenter/personalData/personalData",
  45. "style" :
  46. {
  47. "navigationBarTitleText": "个人资料",
  48. "enablePullDownRefresh": false
  49. }
  50. }
  51. ,{
  52. "path" : "pages/myCenter/updatePassword/updatePassword",
  53. "style" :
  54. {
  55. "navigationBarTitleText": "修改密码",
  56. "enablePullDownRefresh": false
  57. }
  58. }
  59. ,{
  60. "path" : "pages/service_agreement/service_agreement",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "服务协议",
  64. "enablePullDownRefresh": false
  65. }
  66. }
  67. ],
  68. "globalStyle": {
  69. "navigationBarTextStyle": "black",
  70. "navigationBarTitleText": "uni-app",
  71. "navigationBarBackgroundColor": "#F8F8F8",
  72. "backgroundColor": "#F8F8F8",
  73. "app-plus": {
  74. "background": "#efeff4"
  75. }
  76. },
  77. "tabBar": {
  78. "color": "#7A7E83",
  79. "selectedColor": "#1296db",
  80. "borderStyle": "black",
  81. "backgroundColor": "#ffffff",
  82. "list": [{
  83. "pagePath": "pages/index/index",
  84. "iconPath": "static/tabbar/index.png",
  85. "selectedIconPath": "static/tabbar/indexEd.png",
  86. "text": "首页"
  87. }, {
  88. "pagePath": "pages/history/history",
  89. "iconPath": "static/tabbar/history.png",
  90. "selectedIconPath": "static/tabbar/historyEd.png",
  91. "text": "历史"
  92. }, {
  93. "pagePath": "pages/myCenter/myCenter",
  94. "iconPath": "static/tabbar/myCenter.png",
  95. "selectedIconPath": "static/tabbar/myCenterEd.png",
  96. "text": "我的"
  97. }]
  98. },
  99. "condition": { //模式配置,仅开发期间生效
  100. "current": 0, //当前激活的模式(list 的索引项)
  101. "list": [{
  102. "name": "test", //模式名称
  103. "path": "pages/index/index" //启动页面,必选
  104. }]
  105. } ,
  106. "lazyCodeLoading": "requiredComponents "
  107. }