pages.json 7.2 KB

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