app.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "pages": [
  3. "pages/index/index",
  4. "pages/resource/index",
  5. "pages/order/index",
  6. "pages/my/index"
  7. ],
  8. "subpackages": [{
  9. "root": "userLogin",
  10. "pages": [
  11. "pages/login/index",
  12. "pages/register/index",
  13. "pages/xieyi/index",
  14. "pages/zhengce/index"
  15. ]
  16. },
  17. {
  18. "root": "userResource",
  19. "pages": [
  20. "pages/resource-details/index",
  21. "pages/resource-img/index"
  22. ]
  23. },
  24. {
  25. "root": "userOrder",
  26. "pages": [
  27. "pages/continue/index",
  28. "pages/order-details/index"
  29. ]
  30. },
  31. {
  32. "root": "userInfo",
  33. "pages": [
  34. "pages/about/index"
  35. ]
  36. }
  37. ],
  38. "window": {
  39. "backgroundTextStyle": "light",
  40. "navigationBarBackgroundColor": "#fff",
  41. "navigationBarTitleText": "",
  42. "navigationBarTextStyle": "black",
  43. "onReachBottomDistance": 50
  44. },
  45. "tabBar": {
  46. "color": "#6e6d6b",
  47. "selectedColor": "#e64340",
  48. "borderStyle": "white",
  49. "backgroundColor": "#fff",
  50. "custom": true,
  51. "list": [{
  52. "pagePath": "pages/index/index",
  53. "iconPath": "/images/nav/home-off.png",
  54. "selectedIconPath": "/images/nav/home-on.png",
  55. "text": "首页"
  56. },
  57. {
  58. "pagePath": "pages/resource/index",
  59. "iconPath": "/images/nav/fl-off.png",
  60. "selectedIconPath": "/images/nav/fl-on.png",
  61. "text": "会务资源"
  62. },
  63. {
  64. "pagePath": "pages/order/index",
  65. "iconPath": "/images/nav/cart-off.png",
  66. "selectedIconPath": "/images/nav/cart-on.png",
  67. "text": "订单"
  68. },
  69. {
  70. "pagePath": "pages/my/index",
  71. "iconPath": "/images/nav/my-off.png",
  72. "selectedIconPath": "/images/nav/my-on.png",
  73. "text": "我的"
  74. }
  75. ]
  76. },
  77. "usingComponents": {
  78. "city-bar": "/components/city-bar/index",
  79. "popup-modal": "/components/popup-modal/index",
  80. "logout-show": "/components/logout-show/index",
  81. "van-search": "@vant/weapp/search/index",
  82. "van-divider": "@vant/weapp/divider/index",
  83. "van-icon": "@vant/weapp/icon/index",
  84. "van-count-down": "@vant/weapp/count-down/index",
  85. "van-button": "@vant/weapp/button/index",
  86. "van-cell": "@vant/weapp/cell/index",
  87. "van-cell-group": "@vant/weapp/cell-group/index",
  88. "van-tag": "@vant/weapp/tag/index",
  89. "van-card": "@vant/weapp/card/index",
  90. "van-progress": "@vant/weapp/progress/index",
  91. "van-submit-bar": "@vant/weapp/submit-bar/index",
  92. "van-field": "@vant/weapp/field/index",
  93. "van-radio": "@vant/weapp/radio/index",
  94. "van-radio-group": "@vant/weapp/radio-group/index",
  95. "van-sidebar": "@vant/weapp/sidebar/index",
  96. "van-sidebar-item": "@vant/weapp/sidebar-item/index",
  97. "van-empty": "@vant/weapp/empty/index",
  98. "van-goods-action": "@vant/weapp/goods-action/index",
  99. "van-goods-action-icon": "@vant/weapp/goods-action-icon/index",
  100. "van-goods-action-button": "@vant/weapp/goods-action-button/index",
  101. "van-popup": "@vant/weapp/popup/index",
  102. "van-picker": "@vant/weapp/picker/index",
  103. "van-stepper": "@vant/weapp/stepper/index",
  104. "van-sticky": "@vant/weapp/sticky/index",
  105. "van-dialog": "@vant/weapp/dialog/index",
  106. "van-swipe-cell": "@vant/weapp/swipe-cell/index",
  107. "van-calendar": "@vant/weapp/calendar/index",
  108. "van-switch": "@vant/weapp/switch/index",
  109. "van-rate": "@vant/weapp/rate/index",
  110. "van-uploader": "@vant/weapp/uploader/index",
  111. "van-grid": "@vant/weapp/grid/index",
  112. "van-grid-item": "@vant/weapp/grid-item/index",
  113. "van-image": "@vant/weapp/image/index",
  114. "van-tab": "@vant/weapp/tab/index",
  115. "van-tabs": "@vant/weapp/tabs/index",
  116. "van-tabbar-item": "@vant/weapp/tabbar-item/index",
  117. "van-overlay": "@vant/weapp/overlay/index",
  118. "van-datetime-picker": "@vant/weapp/datetime-picker/index",
  119. "van-area": "@vant/weapp/area/index",
  120. "van-action-sheet": "@vant/weapp/action-sheet/index",
  121. "van-row": "@vant/weapp/row/index",
  122. "van-col": "@vant/weapp/col/index",
  123. "van-nav-bar": "@vant/weapp/nav-bar/index",
  124. "van-dropdown-menu": "@vant/weapp/dropdown-menu/index",
  125. "van-dropdown-item": "@vant/weapp/dropdown-item/index",
  126. "van-index-bar": "@vant/weapp/index-bar/index",
  127. "van-index-anchor": "@vant/weapp/index-anchor/index",
  128. "van-skeleton": "@vant/weapp/skeleton/index"
  129. },
  130. "requiredPrivateInfos": ["getLocation"],
  131. "permission": {
  132. "scope.userLocation": {
  133. "desc": "将获取你的具体位置信息,用于更准确匹配你的提单需求"
  134. }
  135. },
  136. "sitemapLocation": "sitemap.json",
  137. "networkTimeout": {
  138. "request": 10000,
  139. "downloadFile": 10000
  140. },
  141. "debug": true
  142. }