pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  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. "navigationStyle": "custom",
  35. "app-plus": {
  36. "titleNView": false //禁用原生导航栏
  37. }
  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": "science/index",
  58. "style": {
  59. "navigationBarTitleText": "医疗科普详情"
  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. }