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. "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. "path": "Statistical-task/index",
  163. "style": {
  164. "navigationBarTitleText": "任务统计"
  165. }
  166. },
  167. //查询结果
  168. {
  169. "path": "scancodequery/result",
  170. "style": {
  171. "navigationBarTitleText": "胎号查询"
  172. }
  173. }
  174. ]
  175. }, {
  176. "root": "pages/msg",
  177. "pages": [{
  178. "path": "System-message/index",
  179. "style": {
  180. "navigationBarTitleText": "系统消息"
  181. }
  182. },
  183. // 订单详情页面
  184. {
  185. "path": "Order-details/index",
  186. "style": {
  187. "navigationBarTitleText": "订单详情"
  188. }
  189. }
  190. ]
  191. }, {
  192. "root": "pages/me",
  193. "pages": [
  194. //我的供应商
  195. {
  196. "path": "suppliers",
  197. "style": {
  198. "navigationBarTitleText": "我的供应商",
  199. "navigationBarBackgroundColor": "#058BF9"
  200. }
  201. },
  202. //我的经营品牌
  203. {
  204. "path":"management",
  205. "style":{
  206. "navigationBarTitleText":"我的经营品牌",
  207. "navigationBarBackgroundColor":"#058BF9"
  208. }
  209. },
  210. //优惠卷
  211. {
  212. "path": "coupon",
  213. "style": {
  214. "navigationBarTitleText": "我的优惠卷"
  215. }
  216. },
  217. //新建收货地址
  218. {
  219. "path": "modify",
  220. "style": {
  221. "navigationBarTitleText": "新建收货地址"
  222. }
  223. },
  224. //收货地址
  225. {
  226. "path": "address",
  227. "style": {
  228. "navigationBarTitleText": "收货地址",
  229. "app-plus": {
  230. "titleNView": {
  231. "buttons": [{
  232. "text": "编辑",
  233. "fontSize": "18px",
  234. "float": "right"
  235. }]
  236. }
  237. }
  238. }
  239. },
  240. //入库明细
  241. {
  242. "path": "Warehousing-details/index",
  243. "style": {
  244. "navigationBarTitleText": "入库明细"
  245. }
  246. },
  247. // 出库明细
  248. {
  249. "path": "Delivery-details/index",
  250. "style": {
  251. "navigationBarTitleText": "出库明细"
  252. }
  253. },
  254. // 奖励明细
  255. {
  256. "path": "Reward-details/index",
  257. "style": {
  258. "navigationBarTitleText": "奖励明细"
  259. }
  260. },
  261. // 结算中心页面
  262. {
  263. "path": "Settlement-center/index",
  264. "style": {
  265. "navigationBarTitleText": "结算中心"
  266. }
  267. },
  268. {
  269. "path": "my-order/my-order",
  270. "style": {
  271. "navigationBarTitleText": "我的订单"
  272. }
  273. }, {
  274. "path": "agent-stock/agent-stock",
  275. "style": {
  276. "navigationBarTitleText": "经销商库存"
  277. }
  278. }, {
  279. "path": "setting/setting",
  280. "style": {
  281. "navigationBarTitleText": "设置"
  282. }
  283. },
  284. // 核销管理页面
  285. {
  286. "path": "Write-off-management/index",
  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. }