pages.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // "condition": { //模式配置,仅开发期间生效
  6. // "current": 0, //当前激活的模式(list 的索引项)
  7. // "list": [{
  8. // "name": "test", //模式名称
  9. // "path": "pages/componentsC/test/index", //启动页面,必选
  10. // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
  11. // }]
  12. // },
  13. "pages": [
  14. // 反应页
  15. {
  16. "path": "pages/index",
  17. "style": {
  18. "titleNView": false
  19. }
  20. },
  21. // 个人中心
  22. {
  23. "path": "pages/personalCenter/personalCenter",
  24. "style": {
  25. "navigationBarTitleText": "我的",
  26. "titleNView": false,
  27. "navigationBarTextStyle": "black",
  28. "app-plus": {
  29. "bounce": "none", //关闭窗口回弹效果
  30. "scrollIndicator": "none" //app页面不显示滚动条
  31. }
  32. }
  33. },
  34. // 首页
  35. {
  36. "path": "pages/home/home",
  37. "style": {
  38. "navigationBarTitleText": "首页",
  39. "titleNView": false,
  40. "popGesture": "none"
  41. // "navigationBarTextStyle": "black"
  42. }
  43. },
  44. // 消息
  45. {
  46. "path": "pages/information/information",
  47. "style": {
  48. "navigationBarTitleText": "消息"
  49. }
  50. },
  51. // 登录
  52. {
  53. "path": "pages/login/login",
  54. "style": {
  55. "navigationBarTitleText": "登录",
  56. "titleNView": false
  57. }
  58. }
  59. ],
  60. "subPackages": [{
  61. "root": "pages/personalCenter",
  62. "pages": [
  63. // 我的设置
  64. {
  65. "path": "/setUp",
  66. "style": {
  67. "navigationBarTitleText": "设置",
  68. "titleNView": false,
  69. "navigationBarTextStyle": "black",
  70. "popGesture": "none",
  71. "app-plus": {
  72. "bounce": "none", //关闭窗口回弹效果
  73. "scrollIndicator": "none" //app页面不显示滚动条
  74. }
  75. }
  76. }
  77. ]
  78. }, {
  79. "root": "pages/home",
  80. "pages": [
  81. // 入库列表
  82. {
  83. "path": "/myorder/index",
  84. "style": {
  85. "navigationBarTitleText": "入库列表",
  86. "navigationBarTextStyle": "white",
  87. "app-plus": {
  88. "bounce": "none", //关闭窗口回弹效果
  89. "scrollIndicator": "none" //app页面不显示滚动条
  90. }
  91. }
  92. },
  93. // 出库列表
  94. {
  95. "path": "/delivery/index",
  96. "style": {
  97. "navigationBarTitleText": "出库列表",
  98. "navigationBarTextStyle": "white",
  99. "app-plus": {
  100. "bounce": "none", //关闭窗口回弹效果
  101. "scrollIndicator": "none" //app页面不显示滚动条
  102. }
  103. }
  104. },
  105. // 入库明细列表
  106. {
  107. "path": "/myorder/detailed",
  108. "style": {
  109. "navigationBarTitleText": "入库明细列表",
  110. "titleNView": false,
  111. "navigationBarTextStyle": "white",
  112. "app-plus": {
  113. "bounce": "none", //关闭窗口回弹效果
  114. "scrollIndicator": "none" //app页面不显示滚动条
  115. }
  116. }
  117. },
  118. // 出库明细列表
  119. {
  120. "path": "/delivery/detailed",
  121. "style": {
  122. "navigationBarTitleText": "出库明细列表",
  123. "titleNView": false,
  124. "navigationBarTextStyle": "white",
  125. "app-plus": {
  126. "bounce": "none", //关闭窗口回弹效果
  127. "scrollIndicator": "none" //app页面不显示滚动条
  128. }
  129. }
  130. },
  131. // 入库明细列表
  132. {
  133. "path": "/myorder/orderDetails/index",
  134. "style": {
  135. "navigationBarTitleText": "入库详情",
  136. // "titleNView": false,
  137. "navigationBarTextStyle": "white",
  138. "app-plus": {
  139. "bounce": "none", //关闭窗口回弹效果
  140. "scrollIndicator": "none" //app页面不显示滚动条
  141. }
  142. }
  143. },
  144. // 出库明细列表
  145. {
  146. "path": "/delivery/orderDetails/index",
  147. "style": {
  148. "navigationBarTitleText": "出库详情",
  149. // "titleNView": false,
  150. "navigationBarTextStyle": "white",
  151. "app-plus": {
  152. "bounce": "none", //关闭窗口回弹效果
  153. "scrollIndicator": "none" //app页面不显示滚动条
  154. }
  155. }
  156. },
  157. // 入库新行
  158. {
  159. "path": "/myorder/orderDetails/newlyAdded",
  160. "style": {
  161. "navigationBarTitleText": "入库新行",
  162. // "titleNView": false,
  163. "navigationBarTextStyle": "white",
  164. "app-plus": {
  165. "bounce": "none", //关闭窗口回弹效果
  166. "scrollIndicator": "none" //app页面不显示滚动条
  167. }
  168. }
  169. },
  170. // 出库新行
  171. {
  172. "path": "/delivery/orderDetails/newlyAdded",
  173. "style": {
  174. "navigationBarTitleText": "出库新行",
  175. // "titleNView": false,
  176. "navigationBarTextStyle": "white",
  177. "app-plus": {
  178. "bounce": "none", //关闭窗口回弹效果
  179. "scrollIndicator": "none" //app页面不显示滚动条
  180. }
  181. }
  182. },
  183. //船期查询
  184. {
  185. "path" : "/freightCalculation/shipSchedule",
  186. "style" :
  187. {
  188. "navigationBarTitleText": "船期查询",
  189. "enablePullDownRefresh": false,
  190. "navigationBarTextStyle": "white"
  191. }
  192. },
  193. //船期信息
  194. {
  195. "path" : "/freightCalculation/shippingInformation",
  196. "style" :
  197. {
  198. "navigationBarTitleText": "船期信息",
  199. "enablePullDownRefresh": false,
  200. "navigationBarTextStyle": "white"
  201. }
  202. },
  203. //海运费计算
  204. {
  205. "path" : "/freightCalculation/freightCalculation",
  206. "style" :
  207. {
  208. "navigationBarTitleText": "海运费计算",
  209. "enablePullDownRefresh": false,
  210. "navigationBarTextStyle": "white"
  211. }
  212. }
  213. ]
  214. }],
  215. "preloadRule": {
  216. "pages/example/components": {
  217. "network": "all",
  218. "packages": ["pages/home", "pages/information", "pages/personalCenter"]
  219. }
  220. },
  221. "globalStyle": {
  222. "navigationBarTextStyle": "white",
  223. "navigationBarTitleText": "uView",
  224. "navigationBarBackgroundColor": "#1669e6",
  225. "backgroundColor": "#FFFFFF"
  226. },
  227. "tabBar": {
  228. "color": "#909399",
  229. "selectedColor": "#303133",
  230. "backgroundColor": "#FFFFFF",
  231. "borderStyle": "black",
  232. "list": [{
  233. "pagePath": "pages/home/home",
  234. "iconPath": "static/uview/example/component.png",
  235. "selectedIconPath": "static/uview/example/component_select.png",
  236. "text": "首页"
  237. },
  238. {
  239. "pagePath": "pages/information/information",
  240. "iconPath": "static/uview/example/js.png",
  241. "selectedIconPath": "static/uview/example/js_select.png",
  242. "text": "消息"
  243. },
  244. {
  245. "pagePath": "pages/personalCenter/personalCenter",
  246. "iconPath": "static/uview/example/template.png",
  247. "selectedIconPath": "static/uview/example/template_select.png",
  248. "text": "我的"
  249. }
  250. ]
  251. }
  252. }