pages.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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": "answer/index",
  103. "style": {
  104. "navigationBarTitleText": "答复记录"
  105. }
  106. }
  107. ]
  108. }
  109. ],
  110. "globalStyle": {
  111. "pageOrientation": "portrait",
  112. "navigationBarTitleText": "随访小程序",
  113. "navigationBarTextStyle": "black",
  114. "navigationBarBackgroundColor": "#F8F8F8",
  115. "backgroundColor": "#F8F8F8",
  116. "backgroundColorTop": "#F4F5F6",
  117. "backgroundColorBottom": "#F4F5F6"
  118. },
  119. "tabBar": {
  120. "color": "#7A7E83",
  121. "selectedColor": "#007AFF",
  122. "borderStyle": "black",
  123. "backgroundColor": "#F8F8F8",
  124. "list": [{
  125. "pagePath": "pages/home/index",
  126. "iconPath": "static/home.png",
  127. "selectedIconPath": "static/homeHL.png",
  128. "text": "健康问答"
  129. },
  130. {
  131. "pagePath": "pages/science/index",
  132. "iconPath": "static/science.png",
  133. "selectedIconPath": "static/scienceHL.png",
  134. "text": "医疗科普"
  135. },
  136. {
  137. "pagePath": "pages/my/index",
  138. "iconPath": "static/my.png",
  139. "selectedIconPath": "static/myHL.png",
  140. "text": "个人中心"
  141. }
  142. ]
  143. },
  144. "condition": { //模式配置,仅开发期间生效
  145. "current": 0, //当前激活的模式(list 的索引项)
  146. "list": [{
  147. "name": "系统首页", //模式名称
  148. "path": "pages/index/index", //启动页面,必选
  149. "query": "" //启动参数,在页面的onLoad函数里面得到
  150. }]
  151. }
  152. }