pages.json 7.2 KB

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