app.json 3.1 KB

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