app.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "pages": ["pages/home/home", "pages/mine/mine"],
  3. "subpackages": [
  4. {
  5. "name": "chats",
  6. "root": "module/chats",
  7. "pages": ["pages/index/index", "pages/analysis/analysis"]
  8. },
  9. {
  10. "name": "health",
  11. "root": "module/health",
  12. "pages": [
  13. "pages/home/home",
  14. "pages/analysis/analysis",
  15. "pages/report/report",
  16. "pages/status/status",
  17. "pages/scheme/scheme",
  18. "pages/status-record/status-record",
  19. "pages/tongue-analysis/tongue-analysis"
  20. ]
  21. },
  22. {
  23. "name": "article",
  24. "root": "module/article",
  25. "pages": [
  26. "pages/diet-list/diet-list",
  27. "pages/diet-info/diet-info",
  28. "pages/science-list/science-list",
  29. "pages/science-info/science-info"
  30. ]
  31. },
  32. {
  33. "name": "user",
  34. "root": "module/user",
  35. "pages": [
  36. "pages/user-certification/user-certification",
  37. "pages/user-edit/user-edit",
  38. "pages/user-record/user-record"
  39. ]
  40. },
  41. {
  42. "name": "charts",
  43. "root": "module/charts",
  44. "pages": ["record-index/record-index"]
  45. },
  46. {
  47. "name": "follow",
  48. "root": "module/follow",
  49. "pages": ["pages/evaluation/report"]
  50. },
  51. {
  52. "name": "care",
  53. "root": "module/care",
  54. "pages": [
  55. "pages/care/verifyRecord",
  56. "pages/offlineTreatment/offlineTreatment",
  57. "pages/careDetail/careDetail",
  58. "pages/reportRecord/reportRecord"
  59. ]
  60. }
  61. ],
  62. "preloadRule": {
  63. "pages/home/home": {
  64. "packages": ["chats"]
  65. }
  66. },
  67. "window": {
  68. "navigationStyle": "custom",
  69. "navigationBarTextStyle": "black",
  70. "navigationBarBackgroundColor": "#ffffff",
  71. "backgroundColor": "#ffffff",
  72. "backgroundColorContent": "#ffffff",
  73. "backgroundColorTop": "#ffffff",
  74. "backgroundColorBottom": "#ffffff"
  75. },
  76. "rendererOptions": {
  77. "skyline": {
  78. "defaultDisplayBlock": true,
  79. "defaultContentBox": true,
  80. "disableABTest": true,
  81. "sdkVersionBegin": "3.0.0",
  82. "sdkVersionEnd": "15.255.255"
  83. }
  84. },
  85. "componentFramework": "glass-easel",
  86. "sitemapLocation": "sitemap.json",
  87. "lazyCodeLoading": "requiredComponents",
  88. "usingComponents": {
  89. "t-navbar": "tdesign-miniprogram/navbar/navbar",
  90. "t-message": "tdesign-miniprogram/message/message",
  91. "popup-privacy": "./components/popup-privacy/popup-privacy"
  92. },
  93. "requiredPrivateInfos": ["getFuzzyLocation"],
  94. "permission": {
  95. "scope.userFuzzyLocation": {
  96. "desc": "你的位置信息将用于小程序推荐"
  97. }
  98. }
  99. }