app.json 2.7 KB

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