pages.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. {
  2. "easycom": {
  3. "^uni-(.*)": "@/components/uni-$1/uni-$1.vue", // 匹配components目录内的vue文件
  4. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  5. },
  6. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/login/login", //登录页
  9. "style": {
  10. "app-plus": {
  11. "scrollIndicator": "none", //隐藏滚动条
  12. "bounce": "none", //关闭反弹效果
  13. "titleNView": false
  14. }
  15. }
  16. },
  17. {
  18. "path": "pages/login/forgotPassword", //登录页
  19. "style": {
  20. "navigationBarTitleText": "忘记密码",
  21. "app-plus": {
  22. "scrollIndicator": "none", //隐藏滚动条
  23. "bounce": "none", //关闭反弹效果
  24. "titleNView": false
  25. }
  26. }
  27. },
  28. {
  29. "path": "pages/login/smsCode", //登录页
  30. "style": {
  31. "navigationBarTitleText": "短信验证码",
  32. "app-plus": {
  33. "scrollIndicator": "none", //隐藏滚动条
  34. "bounce": "none", //关闭反弹效果
  35. "titleNView": false
  36. }
  37. }
  38. },
  39. {
  40. "path": "pages/index/index",
  41. "style": {
  42. "enablePullDownRefresh": true, //是否开启下拉刷新功能
  43. "navigationBarTitleText": "首页",
  44. "app-plus": {
  45. "scrollIndicator": "none", //隐藏滚动条
  46. "bounce": "none", //关闭反弹效果
  47. "titleNView": false
  48. }
  49. }
  50. },
  51. {
  52. "path": "pages/message/message",
  53. "style": {
  54. "navigationBarTitleText": "消息"
  55. }
  56. },
  57. {
  58. "path": "pages/orders/orders",
  59. "style": {
  60. "navigationBarTitleText": "订单",
  61. "app-plus": {
  62. "scrollIndicator": "none", //隐藏滚动条
  63. "bounce": "none", //关闭反弹效果
  64. "titleNView": false
  65. }
  66. }
  67. },
  68. {
  69. "path": "pages/my/my",
  70. "style": {
  71. "navigationBarTitleText": "我的"
  72. }
  73. },
  74. {
  75. "path": "pages/quote/quoteInfo",
  76. "style": {
  77. "navigationBarTitleText": "完善报价信息"
  78. }
  79. },
  80. {
  81. "path": "pages/quote/selectInsuranceCompany",
  82. "style": {
  83. "navigationBarTitleText": "投保车型"
  84. }
  85. },
  86. {
  87. "path": "pages/quote/premiumCalc",
  88. "style": {
  89. "navigationBarTitleText": "保费计算"
  90. }
  91. },
  92. {
  93. "path": "pages/quote/chooseOption",
  94. "style": {
  95. "navigationBarTitleText": "选择方案"
  96. }
  97. },
  98. {
  99. "path": "pages/quote/checkOption",
  100. "style": {
  101. "navigationBarTitleText": "查看方案"
  102. }
  103. },
  104. {
  105. "path": "pages/quote/ePolicy",
  106. "style": {
  107. "navigationBarTitleText": "电子保单",
  108. "app-plus": {
  109. "scrollIndicator": "none", //隐藏滚动条
  110. "bounce": "none", //关闭反弹效果
  111. "titleNView": false
  112. }
  113. }
  114. },
  115. {
  116. "path": "pages/quote/quoteDetail",
  117. "style": {
  118. "navigationBarTitleText": "订单详情页",
  119. "app-plus": {
  120. "scrollIndicator": "none", //隐藏滚动条
  121. "bounce": "none", //关闭反弹效果
  122. "titleNView": false
  123. }
  124. }
  125. },
  126. {
  127. "path": "pages/quote/quotation",
  128. "style": {
  129. "navigationBarTitleText": "报价单",
  130. "app-plus": {
  131. "scrollIndicator": "none", //隐藏滚动条
  132. "bounce": "none", //关闭反弹效果
  133. "titleNView": false
  134. }
  135. }
  136. },
  137. {
  138. "path": "pages/quote/paymentCode",
  139. "style": {
  140. "navigationBarTitleText": "付款码",
  141. "app-plus": {
  142. "scrollIndicator": "none", //隐藏滚动条
  143. "bounce": "none", //关闭反弹效果
  144. "titleNView": false
  145. }
  146. }
  147. },
  148. {
  149. "path": "pages/quote/queryVehicleModel",
  150. "style": {
  151. "navigationBarTitleText": "车型列表",
  152. "app-plus": {
  153. "scrollIndicator": "none", //隐藏滚动条
  154. "bounce": "none", //关闭反弹效果
  155. "titleNView": false
  156. }
  157. }
  158. }
  159. ],
  160. "globalStyle": {
  161. "navigationBarTextStyle": "black",
  162. "navigationBarTitleText": "晋掌柜",
  163. "navigationBarBackgroundColor": "#fff",
  164. // "navigationStyle": "custom",
  165. "backgroundColor": "#FFFFFF",
  166. "rpxCalcMaxDeviceWidth": 0,
  167. // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960
  168. "rpxCalcBaseDeviceWidth": 375,
  169. "rpxCalcIncludeWidth": 750,
  170. "pageOrientation": "portrait"
  171. },
  172. "tabBar": {
  173. "color": "#666",
  174. "selectedColor": "#333",
  175. "borderStyle": "white",
  176. "backgroundColor": "#fdfcf4",
  177. "list": [{
  178. "pagePath": "pages/index/index",
  179. "iconPath": "static/icon/tab/icon_index.png",
  180. "selectedIconPath": "/static/icon/tab/icon_index_c.png",
  181. "text": "首页"
  182. },
  183. {
  184. "pagePath": "pages/orders/orders",
  185. "iconPath": "static/icon/tab/icon_orders.png",
  186. "selectedIconPath": "/static/icon/tab/icon_orders_c.png",
  187. "text": "订单"
  188. },
  189. {
  190. "pagePath": "pages/message/message",
  191. "iconPath": "/static/icon/tab/icon_message.png",
  192. "selectedIconPath": "/static/icon/tab/icon_message_c.png",
  193. "text": "消息"
  194. },
  195. {
  196. "pagePath": "pages/my/my",
  197. "iconPath": "static/icon/tab/icon_my.png",
  198. "selectedIconPath": "/static/icon/tab/icon_my_c.png",
  199. "text": "我的"
  200. }
  201. ]
  202. }
  203. }