app.json 3.0 KB

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