pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. "path" : "pages/index/form/form",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "新增项目",
  72. "enablePullDownRefresh": false
  73. }
  74. }
  75. ,{
  76. "path" : "pages/index/detail/detail",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "记忆详情",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ],
  84. "globalStyle": {
  85. "navigationBarTextStyle": "black",
  86. "navigationBarTitleText": "uni-app",
  87. "navigationBarBackgroundColor": "#F8F8F8",
  88. "backgroundColor": "#F8F8F8",
  89. "app-plus": {
  90. "background": "#efeff4"
  91. }
  92. },
  93. "tabBar": {
  94. "color": "#7A7E83",
  95. "selectedColor": "#1296db",
  96. "borderStyle": "black",
  97. "backgroundColor": "#ffffff",
  98. "list": [{
  99. "pagePath": "pages/index/index",
  100. "iconPath": "static/tabbar/index.png",
  101. "selectedIconPath": "static/tabbar/indexEd.png",
  102. "text": "首页"
  103. }, {
  104. "pagePath": "pages/history/history",
  105. "iconPath": "static/tabbar/history.png",
  106. "selectedIconPath": "static/tabbar/historyEd.png",
  107. "text": "数据"
  108. }, {
  109. "pagePath": "pages/myCenter/myCenter",
  110. "iconPath": "static/tabbar/myCenter.png",
  111. "selectedIconPath": "static/tabbar/myCenterEd.png",
  112. "text": "我的"
  113. }]
  114. },
  115. "condition": { //模式配置,仅开发期间生效
  116. "current": 0, //当前激活的模式(list 的索引项)
  117. "list": [{
  118. "name": "test", //模式名称
  119. "path": "pages/index/index" //启动页面,必选
  120. }]
  121. } ,
  122. "lazyCodeLoading": "requiredComponents "
  123. }