pages.json 7.0 KB

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