pages.json 6.9 KB

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