app.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "pages": [
  3. "pages/index/index",
  4. "pages/scan/scan",
  5. "pages/data/data",
  6. "pages/shop/shop",
  7. "pages/testSAS/testSAS"
  8. ],
  9. "subpackages": [
  10. {
  11. "root": "subpages",
  12. "name":"subpages",
  13. "pages": [
  14. "sleepEvaluation/sleepEvaluation",
  15. "sleepQualityIndexAssessment/sleepQualityIndexAssessment",
  16. "warmReminder/warmReminder"
  17. ]
  18. }
  19. ],"preloadRule": {
  20. "pages/index/index": {
  21. "network": "all",
  22. "packages": ["subpages"]
  23. }
  24. },
  25. "window": {
  26. "backgroundTextStyle": "light",
  27. "navigationBarBackgroundColor": "#3d7ef9",
  28. "navigationBarTitleText": "舒眠大健康",
  29. "navigationBarTextStyle": "black"
  30. },
  31. "plugins": {
  32. "calendar": {
  33. "version": "1.1.3",
  34. "provider": "wx92c68dae5a8bb046"
  35. }
  36. },
  37. "permission": {
  38. "scope.userLocation": {
  39. "desc": "你的位置信息将用于天气效果展示"
  40. }
  41. },
  42. "requiredPrivateInfos": [
  43. "getLocation"
  44. ],
  45. "sitemapLocation": "sitemap.json",
  46. "tabBar": {
  47. "custom": true,
  48. "selectedColor": "#0BC3AA",
  49. "color": "#AAAFC4",
  50. "list": [
  51. {
  52. "pagePath": "pages/index/index",
  53. "text": "控制主页",
  54. "iconPath": "static/tabs/home@2x.png",
  55. "selectedIconPath": "static/tabs/home-active@2x.png"
  56. },
  57. {
  58. "pagePath": "pages/shop/shop",
  59. "text": "商城",
  60. "iconPath": "static/tabs/report@2x.png",
  61. "selectedIconPath": "static/tabs/report-active@2x.png"
  62. },
  63. {
  64. "pagePath": "pages/scan/scan",
  65. "text": "扫码",
  66. "iconPath": "static/tabs/report@2x.png",
  67. "selectedIconPath": "static/tabs/report-active@2x.png"
  68. },
  69. {
  70. "pagePath": "pages/data/data",
  71. "text": "睡眠报告",
  72. "iconPath": "static/tabs/report@2x.png",
  73. "selectedIconPath": "static/tabs/report-active@2x.png"
  74. },
  75. {
  76. "pagePath": "pages/testSAS/testSAS",
  77. "text": "调查问卷",
  78. "iconPath": "static/tabs/investigation@2x.png",
  79. "selectedIconPath": "static/tabs/investigation-active@2x.png"
  80. }
  81. ]
  82. },
  83. "usingComponents": {
  84. "van-tab": "@vant/weapp/tab/index",
  85. "van-tabs": "@vant/weapp/tabs/index",
  86. "van-collapse": "@vant/weapp/collapse/index",
  87. "van-collapse-item": "@vant/weapp/collapse-item/index",
  88. "van-popup": "@vant/weapp/popup/index",
  89. "van-overlay": "@vant/weapp/overlay/index",
  90. "van-picker": "@vant/weapp/picker/index",
  91. "van-nav-bar": "@vant/weapp/nav-bar/index",
  92. "van-field": "@vant/weapp/field/index",
  93. "van-icon": "@vant/weapp/icon/index",
  94. "van-switch": "@vant/weapp/switch/index",
  95. "van-transition": "@vant/weapp/transition/index",
  96. "van-slider": "@vant/weapp/slider/index",
  97. "van-datetime-picker": "@vant/weapp/datetime-picker/index",
  98. "van-radio": "@vant/weapp/radio/index",
  99. "van-radio-group": "@vant/weapp/radio-group/index",
  100. "van-checkbox": "@vant/weapp/checkbox/index",
  101. "van-checkbox-group": "@vant/weapp/checkbox-group/index"
  102. }
  103. }