pages.json 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  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":"management",
  191. "style":{
  192. "navigationBarTitleText":"我的经营品牌",
  193. "navigationBarBackgroundColor":"#058BF9"
  194. }
  195. },
  196. //优惠卷
  197. {
  198. "path": "coupon",
  199. "style": {
  200. "navigationBarTitleText": "我的优惠卷"
  201. }
  202. },
  203. //新建收货地址
  204. {
  205. "path": "modify",
  206. "style": {
  207. "navigationBarTitleText": "新建收货地址"
  208. }
  209. },
  210. //收货地址
  211. {
  212. "path": "address",
  213. "style": {
  214. "navigationBarTitleText": "收货地址",
  215. "app-plus": {
  216. "titleNView": {
  217. "buttons": [{
  218. "text": "编辑",
  219. "fontSize": "18px",
  220. "float": "right"
  221. }]
  222. }
  223. }
  224. }
  225. },
  226. //查询结果
  227. {
  228. "path": "scancodequery/result",
  229. "style": {
  230. "navigationBarTitleText": "胎号查询"
  231. }
  232. },
  233. //入库明细
  234. {
  235. "path": "Warehousing-details/index",
  236. "style": {
  237. "navigationBarTitleText": "入库明细"
  238. }
  239. },
  240. // 出库明细
  241. {
  242. "path": "Delivery-details/index",
  243. "style": {
  244. "navigationBarTitleText": "出库明细"
  245. }
  246. },
  247. // 奖励明细
  248. {
  249. "path": "Reward-details/index",
  250. "style": {
  251. "navigationBarTitleText": "奖励明细"
  252. }
  253. },
  254. // 结算中心页面
  255. {
  256. "path": "Settlement-center/index",
  257. "style": {
  258. "navigationBarTitleText": "结算中心"
  259. }
  260. },
  261. // 统计任务页面
  262. {
  263. "path": "Statistical-task/index",
  264. "style": {
  265. "navigationBarTitleText": "任务统计"
  266. }
  267. },
  268. // 核销管理页面
  269. {
  270. "path": "Write-off-management/index",
  271. "style": {
  272. "navigationBarTitleText": "核销管理"
  273. }
  274. }, {
  275. "path": "my-order/my-order",
  276. "style": {
  277. "navigationBarTitleText": "我的订单"
  278. }
  279. }, {
  280. "path": "agent-stock/agent-stock",
  281. "style": {
  282. "navigationBarTitleText": "经销商库存"
  283. }
  284. }, {
  285. "path": "setting/setting",
  286. "style": {
  287. "navigationBarTitleText": "设置"
  288. }
  289. }
  290. ]
  291. }, {
  292. "root": "pages/login",
  293. "pages": [{
  294. "path": "register",
  295. "style": {
  296. "navigationBarTitleText": "零售店注册"
  297. }
  298. }, {
  299. "path": "register_2",
  300. "style": {
  301. "navigationBarTitleText": "零售店注册"
  302. }
  303. }, {
  304. "path": "register_3",
  305. "style": {
  306. "navigationBarTitleText": "零售店注册"
  307. }
  308. }, {
  309. "path": "register_map",
  310. "style": {
  311. "navigationBarTitleText": "地图"
  312. }
  313. }]
  314. }],
  315. "preloadRule": {},
  316. "globalStyle": {
  317. "navigationBarBackgroundColor": "#0095FF",
  318. "navigationBarTextStyle": "white",
  319. "app-plus": {
  320. "bounce": "none", //关闭窗口回弹效果
  321. "scrollIndicator": "none" //app页面不显示滚动条
  322. }
  323. },
  324. "tabBar": {
  325. "color": "#6A6A6A",
  326. "selectedColor": "#0095FF",
  327. "backgroundColor": "#ffffff",
  328. "list": [{
  329. "pagePath": "pages/home/index",
  330. "iconPath": "static/sailun/home.png",
  331. "selectedIconPath": "static/sailun/homefill.png",
  332. "text": "首页"
  333. },
  334. {
  335. "pagePath": "pages/msg/index",
  336. "iconPath": "static/sailun/message.png",
  337. "selectedIconPath": "static/sailun/messagefill.png",
  338. "text": "消息"
  339. },
  340. {
  341. "pagePath": "pages/me/index",
  342. "iconPath": "static/sailun/my.png",
  343. "selectedIconPath": "static/sailun/myfill.png",
  344. "text": "我的"
  345. }
  346. ]
  347. }
  348. }