pages.json 6.9 KB

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