pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "系统首页",
  6. "app-plus": {
  7. "titleNView": false //禁用原生导航栏
  8. }
  9. }
  10. },
  11. {
  12. "path": "pages/home/index",
  13. "style": {
  14. "navigationBarTitleText": "健康问答",
  15. "app-plus": {
  16. "titleNView": false //禁用原生导航栏
  17. },
  18. "enablePullDownRefresh": true
  19. }
  20. },
  21. {
  22. "path": "pages/science/index",
  23. "style": {
  24. "navigationBarTitleText": "医疗科普",
  25. "app-plus": {
  26. "titleNView": false //禁用原生导航栏
  27. },
  28. "enablePullDownRefresh": true
  29. }
  30. },
  31. {
  32. "path": "pages/my/index",
  33. "style": {
  34. "app-plus": {
  35. "titleNView": false //禁用原生导航栏
  36. },
  37. "navigationBarTitleText": "个人中心"
  38. }
  39. }
  40. ],
  41. "subPackages": [ //分包配置
  42. {
  43. "root": "pagesHome",
  44. "pages": [ //分包
  45. {
  46. "path": "index/index",
  47. "style": {
  48. "navigationBarTitleText": "test"
  49. }
  50. }
  51. ]
  52. },
  53. {
  54. "root": "pagesScience",
  55. "pages": [ //分包
  56. {
  57. "path": "index/index",
  58. "style": {
  59. "navigationBarTitleText": "test"
  60. }
  61. }
  62. ]
  63. },
  64. {
  65. "root": "pagesMy",
  66. "pages": [ //分包
  67. {
  68. "path": "basic/index",
  69. "style": {
  70. "navigationBarTitleText": "基本信息"
  71. }
  72. },
  73. {
  74. "path": "group/index",
  75. "style": {
  76. "navigationBarTitleText": "群组信息"
  77. }
  78. },
  79. {
  80. "path": "answer/index",
  81. "style": {
  82. "navigationBarTitleText": "答复记录"
  83. }
  84. }
  85. ]
  86. }
  87. ],
  88. "globalStyle": {
  89. "pageOrientation": "portrait",
  90. "navigationBarTitleText": "随访小程序",
  91. "navigationBarTextStyle": "black",
  92. "navigationBarBackgroundColor": "#F8F8F8",
  93. "backgroundColor": "#F8F8F8",
  94. "backgroundColorTop": "#F4F5F6",
  95. "backgroundColorBottom": "#F4F5F6"
  96. },
  97. "tabBar": {
  98. "color": "#7A7E83",
  99. "selectedColor": "#007AFF",
  100. "borderStyle": "black",
  101. "backgroundColor": "#F8F8F8",
  102. "list": [{
  103. "pagePath": "pages/home/index",
  104. "iconPath": "static/home.png",
  105. "selectedIconPath": "static/homeHL.png",
  106. "text": "健康问答"
  107. },
  108. {
  109. "pagePath": "pages/science/index",
  110. "iconPath": "static/science.png",
  111. "selectedIconPath": "static/scienceHL.png",
  112. "text": "医疗科普"
  113. },
  114. {
  115. "pagePath": "pages/my/index",
  116. "iconPath": "static/my.png",
  117. "selectedIconPath": "static/myHL.png",
  118. "text": "个人中心"
  119. }
  120. ]
  121. },
  122. "condition": { //模式配置,仅开发期间生效
  123. "current": 0, //当前激活的模式(list 的索引项)
  124. "list": [{
  125. "name": "系统首页", //模式名称
  126. "path": "pages/index/index", //启动页面,必选
  127. "query": "" //启动参数,在页面的onLoad函数里面得到
  128. }]
  129. }
  130. }