pages.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  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/home/index",
  17. "style": {
  18. "navigationBarTextStyle": "black",
  19. "app-plus": {
  20. "titleNView": false
  21. }
  22. }
  23. },
  24. // 消息
  25. {
  26. "path": "pages/msg/index",
  27. "style": {
  28. "navigationBarTitleText": "消息"
  29. }
  30. },
  31. // 我的
  32. {
  33. "path": "pages/me/index",
  34. "style": {
  35. // "navigationBarTitleText": "我的",
  36. "app-plus": {
  37. "titleNView": false
  38. }
  39. }
  40. },
  41. //登录
  42. {
  43. "path": "pages/login/index",
  44. "style": {
  45. "app-plus": {
  46. "titleNView": false
  47. }
  48. }
  49. }
  50. ],
  51. "subPackages": [{
  52. "root": "pages/home",
  53. "pages": [{
  54. "path": "scancode/index",
  55. "style": {
  56. "navigationBarTitleText": "扫码入库",
  57. "navigationBarBackgroundColor": "#0095FF",
  58. "navigationBarTextStyle": "white",
  59. "app-plus": {
  60. "titleNView": false
  61. }
  62. }
  63. },
  64. // 扫码入库确认
  65. {
  66. "path": "Scan-code-in/index",
  67. "style": {
  68. "navigationBarTitleText": "扫码入库确认"
  69. }
  70. },
  71. // 扫码出库确认
  72. {
  73. "path": "Scan-code-out/index",
  74. "style": {
  75. "navigationBarTitleText": "扫码出库确认"
  76. }
  77. },
  78. // 积分商城
  79. {
  80. "path": "integral-mall/integral_mall",
  81. "style": {
  82. "navigationBarTitleText": "积分商城"
  83. }
  84. }, {
  85. "path": "integral-mall/integral_mall_car",
  86. "style": {
  87. "navigationStyle": "custom", // 隐藏系统导航栏
  88. "navigationBarTextStyle": "white"
  89. }
  90. }, {
  91. "path": "integral-mall/integral_mall_goods_details",
  92. "style": {
  93. "navigationBarTitleText": "商品详情"
  94. }
  95. }, {
  96. "path": "integral-mall/integral_mall_confirmorder",
  97. "style": {
  98. "navigationBarTitleText": "订单确认"
  99. }
  100. },
  101. // 线上订货
  102. {
  103. "path": "inline-shop/inline_shop",
  104. "style": {
  105. "navigationStyle": "custom", // 隐藏系统导航栏
  106. "navigationBarTextStyle": "white"
  107. }
  108. }, {
  109. "path": "inline-shop/inline_shop_details",
  110. "style": {
  111. "navigationBarTitleText": "商品详情"
  112. }
  113. }, {
  114. "path": "inline-shop/inline_shop_car",
  115. "style": {
  116. "navigationStyle": "custom", // 隐藏系统导航栏
  117. "navigationBarTextStyle": "white"
  118. }
  119. }, {
  120. "path": "my-stock/my-stock",
  121. "style": {
  122. "navigationStyle": "custom", // 隐藏系统导航栏
  123. "navigationBarTextStyle": "white"
  124. }
  125. }
  126. ]
  127. }, {
  128. "root": "pages/msg",
  129. "pages": [{
  130. "path": "System-message/index",
  131. "style": {
  132. "navigationBarTitleText": "系统消息"
  133. }
  134. },
  135. // 订单详情页面
  136. {
  137. "path": "Order-details/index",
  138. "style": {
  139. "navigationBarTitleText": "订单详情"
  140. }
  141. }
  142. ]
  143. }, {
  144. "root": "pages/me",
  145. "pages": [
  146. //我的供应商
  147. {
  148. "path": "suppliers",
  149. "style": {
  150. "navigationBarTitleText": "我的供应商",
  151. "navigationBarBackgroundColor": "#1692F7"
  152. }
  153. },
  154. // 搜索页面
  155. {
  156. "path": "search/index",
  157. "style": {
  158. "navigationBarTitleText": "搜索"
  159. }
  160. },
  161. //优惠卷
  162. {
  163. "path": "coupon",
  164. "style": {
  165. "navigationBarTitleText": "我的优惠卷"
  166. }
  167. },
  168. //新建收货地址
  169. {
  170. "path": "modify",
  171. "style": {
  172. "navigationBarTitleText": "新建收货地址"
  173. }
  174. },
  175. //收货地址
  176. {
  177. "path": "address",
  178. "style": {
  179. "navigationBarTitleText": "收货地址",
  180. "app-plus": {
  181. "titleNView": {
  182. "buttons": [{
  183. "text": "编辑",
  184. "fontSize": "18px",
  185. "float": "right"
  186. }]
  187. }
  188. }
  189. }
  190. },
  191. //查询结果
  192. {
  193. "path": "scancodequery/scan",
  194. "style": {
  195. "navigationBarTitleText": "胎号查询"
  196. }
  197. },
  198. //查询结果
  199. {
  200. "path": "scancodequery/result",
  201. "style": {
  202. "navigationBarTitleText": "查询结果"
  203. }
  204. },
  205. //入库明细
  206. {
  207. "path": "Warehousing-details/index",
  208. "style": {
  209. "navigationBarTitleText": "入库明细"
  210. }
  211. },
  212. // 出库明细
  213. {
  214. "path": "Delivery-details/index",
  215. "style": {
  216. "navigationBarTitleText": "出库明细"
  217. }
  218. },
  219. // 奖励明细
  220. {
  221. "path": "Reward-details/index",
  222. "style": {
  223. "navigationBarTitleText": "奖励明细"
  224. }
  225. },
  226. // 结算中心页面
  227. {
  228. "path": "Settlement-center/index",
  229. "style": {
  230. "navigationBarTitleText": "结算中心"
  231. }
  232. },
  233. // 统计任务页面
  234. {
  235. "path": "Statistical-task/index",
  236. "style": {
  237. "navigationBarTitleText": "任务统计"
  238. }
  239. },
  240. // 核销管理页面
  241. {
  242. "path": "Write-off-management/index",
  243. "style": {
  244. "navigationBarTitleText": "核销管理"
  245. }
  246. }, {
  247. "path": "my-order/my-order",
  248. "style": {
  249. "navigationBarTitleText": "我的订单"
  250. }
  251. }, {
  252. "path": "agent-stock/agent-stock",
  253. "style": {
  254. "navigationBarTitleText": "经销商库存"
  255. }
  256. }, {
  257. "path": "setting/setting",
  258. "style": {
  259. "navigationBarTitleText": "设置"
  260. }
  261. }
  262. ]
  263. }, {
  264. "root": "pages/login",
  265. "pages": [{
  266. "path": "register",
  267. "style": {
  268. "navigationBarTitleText": "零售店注册"
  269. }
  270. }, {
  271. "path": "register_2",
  272. "style": {
  273. "navigationBarTitleText": "零售店注册"
  274. }
  275. }, {
  276. "path": "register_3",
  277. "style": {
  278. "navigationBarTitleText": "零售店注册"
  279. }
  280. }]
  281. }],
  282. "preloadRule": {},
  283. "globalStyle": {
  284. "navigationBarBackgroundColor": "#0095FF",
  285. "navigationBarTextStyle": "white",
  286. "app-plus": {
  287. "bounce": "none", //关闭窗口回弹效果
  288. "scrollIndicator": "none" //app页面不显示滚动条
  289. }
  290. },
  291. "tabBar": {
  292. "color": "#6A6A6A",
  293. "selectedColor": "#0095FF",
  294. "backgroundColor": "#ffffff",
  295. "list": [{
  296. "pagePath": "pages/home/index",
  297. "iconPath": "static/sailun/home.png",
  298. "selectedIconPath": "static/sailun/homefill.png",
  299. "text": "首页"
  300. },
  301. {
  302. "pagePath": "pages/msg/index",
  303. "iconPath": "static/sailun/message.png",
  304. "selectedIconPath": "static/sailun/messagefill.png",
  305. "text": "消息"
  306. },
  307. {
  308. "pagePath": "pages/me/index",
  309. "iconPath": "static/sailun/my.png",
  310. "selectedIconPath": "static/sailun/myfill.png",
  311. "text": "我的"
  312. }
  313. ]
  314. }
  315. }