app.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "pages": [
  3. "pages/scan/scan",
  4. "pages/index/index",
  5. "pages/data/data",
  6. "pages/testSAS/testSAS",
  7. "pages/sleepEvaluation/sleepEvaluation"
  8. ],
  9. "window": {
  10. "backgroundTextStyle": "light",
  11. "navigationBarBackgroundColor": "#3d7ef9",
  12. "navigationBarTitleText": "舒眠大健康",
  13. "navigationBarTextStyle": "black"
  14. },
  15. "plugins": {
  16. "calendar": {
  17. "version": "1.1.3",
  18. "provider": "wx92c68dae5a8bb046"
  19. }
  20. },
  21. "permission": {
  22. "scope.userLocation": {
  23. "desc": "你的位置信息将用于天气效果展示"
  24. }
  25. },
  26. "requiredPrivateInfos": [
  27. "getLocation"
  28. ],
  29. "sitemapLocation": "sitemap.json",
  30. "tabBar": {
  31. "list": [
  32. {
  33. "pagePath": "pages/index/index",
  34. "text": "控制主页",
  35. "color": "#959595",
  36. "selectedColor": "#00dede",
  37. "iconPath": "static/tabs/home.png",
  38. "selectedIconPath": "static/tabs/home-active.png"
  39. },
  40. {
  41. "pagePath": "pages/scan/scan",
  42. "text": "二维码",
  43. "color": "#959595",
  44. "selectedColor": "#00dede",
  45. "iconPath": "static/tabs/scan-code.png",
  46. "selectedIconPath": "static/tabs/scan-code-active.png"
  47. },
  48. {
  49. "pagePath": "pages/data/data",
  50. "text": "睡眠报告",
  51. "color": "#959595",
  52. "selectedColor": "#00dede",
  53. "iconPath": "static/tabs/orders.png",
  54. "selectedIconPath": "static/tabs/orders-active.png"
  55. },
  56. {
  57. "pagePath": "pages/testSAS/testSAS",
  58. "text": "调查问卷",
  59. "color": "#959595",
  60. "selectedColor": "#00dede",
  61. "iconPath": "static/tabs/question_gay.png",
  62. "selectedIconPath": "static/tabs/question_green.png"
  63. },
  64. {
  65. "pagePath": "pages/sleepEvaluation/sleepEvaluation",
  66. "text": "入住评价",
  67. "color": "#959595",
  68. "selectedColor": "#00dede",
  69. "iconPath": "static/tabs/question_gay.png",
  70. "selectedIconPath": "static/tabs/question_green.png"
  71. }
  72. ]
  73. },
  74. "usingComponents": {
  75. "van-button": "@vant/weapp/button/index",
  76. "van-field": "@vant/weapp/field/index",
  77. "vabutton": "@vant/weapp/button/index",
  78. "van-toast": "@vant/weapp/toast/index",
  79. "van-dialog": "@vant/weapp/dialog/index",
  80. "van-icon": "@vant/weapp/icon/index",
  81. "van-count-down": "@vant/weapp/count-down/index",
  82. "van-circle": "@vant/weapp/circle/index",
  83. "van-tag": "@vant/weapp/tag/index",
  84. "van-row": "@vant/weapp/row/index",
  85. "van-col": "@vant/weapp/col/index",
  86. "van-cell": "@vant/weapp/cell/index",
  87. "van-cell-group": "@vant/weapp/cell-group/index",
  88. "van-notify": "@vant/weapp/notify/index",
  89. "van-grid": "@vant/weapp/grid/index",
  90. "van-grid-item": "@vant/weapp/grid-item/index",
  91. "van-progress": "@vant/weapp/progress/index",
  92. "van-notice-bar": "@vant/weapp/notice-bar/index",
  93. "van-action-sheet": "@vant/weapp/action-sheet/index",
  94. "van-switch": "@vant/weapp/switch/index",
  95. "van-rate": "@vant/weapp/rate/index",
  96. "van-transition": "@vant/weapp/transition/index",
  97. "van-slider": "@vant/weapp/slider/index",
  98. "van-datetime-picker": "@vant/weapp/datetime-picker/index",
  99. "van-radio": "@vant/weapp/radio/index",
  100. "van-radio-group": "@vant/weapp/radio-group/index",
  101. "van-checkbox": "@vant/weapp/checkbox/index",
  102. "van-checkbox-group": "@vant/weapp/checkbox-group/index"
  103. }
  104. }