pages.json 3.5 KB

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