app.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. "helpList/helpList",
  24. "helpDetails/helpDetails"
  25. ]
  26. }
  27. ],
  28. "preloadRule": {
  29. "pages/index/index": {
  30. "network": "all",
  31. "packages": [
  32. "subpages"
  33. ]
  34. }
  35. },
  36. "window": {
  37. "backgroundTextStyle": "light",
  38. "navigationBarBackgroundColor": "#3d7ef9",
  39. "navigationBarTitleText": "舒眠大健康",
  40. "navigationBarTextStyle": "black"
  41. },
  42. "plugins": {
  43. "calendar": {
  44. "version": "1.1.3",
  45. "provider": "wx92c68dae5a8bb046"
  46. }
  47. },
  48. "permission": {
  49. "scope.userLocation": {
  50. "desc": "你的位置信息将用于天气效果展示"
  51. }
  52. },
  53. "requiredPrivateInfos": [
  54. "getLocation"
  55. ],
  56. "sitemapLocation": "sitemap.json",
  57. "tabBar": {
  58. "selectedColor": "#0BC3AA",
  59. "color": "#AAAFC4",
  60. "list": [
  61. {
  62. "pagePath": "pages/index/index",
  63. "text": "主页",
  64. "iconPath": "static/images/logo.png",
  65. "selectedIconPath": "static/images/logo.png"
  66. },
  67. {
  68. "pagePath": "pages/shop/shop",
  69. "text": "商城",
  70. "iconPath": "static/images/logo.png",
  71. "selectedIconPath": "static/images/logo.png"
  72. }
  73. ]
  74. },
  75. "usingComponents": {
  76. "van-circle": "@vant/weapp/circle/index",
  77. "van-calendar": "@vant/weapp/calendar/index",
  78. "van-loading": "@vant/weapp/loading/index",
  79. "van-tab": "@vant/weapp/tab/index",
  80. "van-tabs": "@vant/weapp/tabs/index",
  81. "van-collapse": "@vant/weapp/collapse/index",
  82. "van-collapse-item": "@vant/weapp/collapse-item/index",
  83. "van-popup": "@vant/weapp/popup/index",
  84. "van-overlay": "@vant/weapp/overlay/index",
  85. "van-picker": "@vant/weapp/picker/index",
  86. "van-nav-bar": "@vant/weapp/nav-bar/index",
  87. "van-field": "@vant/weapp/field/index",
  88. "van-icon": "@vant/weapp/icon/index",
  89. "van-switch": "@vant/weapp/switch/index",
  90. "van-transition": "@vant/weapp/transition/index",
  91. "van-slider": "@vant/weapp/slider/index",
  92. "van-datetime-picker": "@vant/weapp/datetime-picker/index",
  93. "van-radio": "@vant/weapp/radio/index",
  94. "van-radio-group": "@vant/weapp/radio-group/index",
  95. "van-checkbox": "@vant/weapp/checkbox/index",
  96. "van-checkbox-group": "@vant/weapp/checkbox-group/index"
  97. }
  98. }