pages.json 7.4 KB

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