pages.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/tabBar/home/index",
  5. "style": {
  6. "navigationBarTitleText": "联合丽格集采商城",
  7. "enablePullDownRefresh": true,
  8. "backgroundTextStyle": "light"
  9. }
  10. }, {
  11. "path": "pages/tabBar/notice/index",
  12. "style": {
  13. "navigationBarTitleText": "消息通知",
  14. "navigationStyle": "custom"
  15. }
  16. }, {
  17. "path": "pages/tabBar/category/index",
  18. "style": {
  19. "navigationBarTitleText": "分类",
  20. "navigationStyle": "custom"
  21. }
  22. }, {
  23. "path": "pages/tabBar/cart/index",
  24. "style": {
  25. "navigationBarTitleText": "购物车",
  26. "enablePullDownRefresh": true
  27. }
  28. }, {
  29. "path": "pages/tabBar/user/user",
  30. "style": {
  31. "navigationBarTitleText": "我的",
  32. "enablePullDownRefresh": true,
  33. "navigationStyle": "custom"
  34. }
  35. }
  36. ],
  37. "subPackages": [{
  38. "root": "pages/goods/", //商品模块
  39. "pages": [{
  40. "path": "good-floor",
  41. "style": {
  42. "navigationBarTitleText": "商品列表",
  43. "enablePullDownRefresh": true
  44. }
  45. },
  46. {
  47. "path": "product",
  48. "style": {
  49. "navigationBarTitleText": "商品详情",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "cart",
  55. "style": {
  56. "navigationBarTitleText": "购物车",
  57. "enablePullDownRefresh": true,
  58. "navigationStyle": "custom"
  59. }
  60. }
  61. ]
  62. },
  63. {
  64. "root": "pages/login/", //注册登录模块
  65. "pages": [{
  66. "path": "register",
  67. "style": {
  68. "navigationBarTitleText": "机构注册",
  69. "navigationStyle": "custom"
  70. }
  71. },
  72. {
  73. "path": "apply",
  74. "style": {
  75. "navigationBarTitleText": "升级资质机构",
  76. "navigationStyle": "custom"
  77. }
  78. },
  79. {
  80. "path": "login",
  81. "style": {
  82. "navigationBarTitleText": "登录"
  83. }
  84. },
  85. {
  86. "path": "bindwechat",
  87. "style": {
  88. "navigationBarTitleText": "绑定微信"
  89. }
  90. },
  91. {
  92. "path": "bindOperator",
  93. "style": {
  94. "navigationBarTitleText": "绑定运营人员"
  95. }
  96. },
  97. {
  98. "path": "information",
  99. "style": {
  100. "navigationBarTitleText": "修改资料",
  101. "navigationStyle": "custom"
  102. }
  103. },
  104. {
  105. "path": "password",
  106. "style": {
  107. "navigationBarTitleText": "修改密码"
  108. }
  109. }
  110. ]
  111. },
  112. {
  113. "root": "pages/user/", //机构个人中心模块
  114. "pages": [{
  115. "path": "address/addressManage",
  116. "style": {
  117. "navigationBarTitleText": "添加新地址"
  118. }
  119. },
  120. {
  121. "path": "address/address",
  122. "style": {
  123. "navigationBarTitleText": "地址列表"
  124. }
  125. },
  126. {
  127. "path": "order/create-order",
  128. "style": {
  129. "navigationBarTitleText": "确认订单"
  130. }
  131. },
  132. {
  133. "path": "order/success",
  134. "style": {
  135. "navigationBarTitleText": "支付结果",
  136. "navigationStyle": "custom"
  137. }
  138. },
  139. {
  140. "path": "order/order-pay-list",
  141. "style": {
  142. "navigationBarTitleText": "支付订单"
  143. }
  144. },
  145. {
  146. "path": "order/order-payhlb",
  147. "style": {
  148. "navigationBarTitleText": "收银台",
  149. "navigationStyle": "custom"
  150. }
  151. },
  152. {
  153. "path": "order/orderShareLogin",
  154. "style": {
  155. "navigationBarTitleText": "输入分享码"
  156. }
  157. },
  158. {
  159. "path": "order/order-sharelogin",
  160. "style": {
  161. "navigationBarTitleText": "查看订单"
  162. }
  163. },
  164. {
  165. "path": "order/order-list",
  166. "style": {
  167. "navigationBarTitleText": "我的订单",
  168. "navigationStyle": "custom"
  169. }
  170. },
  171. {
  172. "path": "order/order-details",
  173. "style": {
  174. "navigationBarTitleText": "订单详情",
  175. "navigationStyle": "custom"
  176. }
  177. },
  178. {
  179. "path": "order/order-sharedetails",
  180. "style": {
  181. "navigationBarTitleText": "订单详情"
  182. }
  183. },
  184. {
  185. "path": "order/order-logistics",
  186. "style": {
  187. "navigationBarTitleText": "物流信息"
  188. }
  189. },
  190. {
  191. "path": "setting/setting",
  192. "style": {
  193. "navigationBarTitleText": "账户设置"
  194. }
  195. },
  196. {
  197. "path": "setting/phone",
  198. "style": {
  199. "navigationBarTitleText": "更换手机号"
  200. }
  201. },
  202. {
  203. "path": "collection/collection",
  204. "style": {
  205. "navigationBarTitleText": "收藏商品",
  206. "enablePullDownRefresh": true
  207. }
  208. },
  209. {
  210. "path": "pay/card-list",
  211. "style": {
  212. "navigationBarTitleText": "银行卡"
  213. }
  214. },
  215. {
  216. "path": "pay/card-sus-list",
  217. "style": {
  218. "navigationBarTitleText": "支持银行"
  219. }
  220. },
  221. {
  222. "path": "pay/card-add",
  223. "style": {
  224. "navigationBarTitleText": "添加银行卡"
  225. }
  226. },
  227. {
  228. "path": "pay/card-comfirm",
  229. "style": {
  230. "navigationBarTitleText": "确认信息"
  231. }
  232. },
  233. {
  234. "path": "pay/card-comfirm-sub",
  235. "style": {
  236. "navigationBarTitleText": "输入短信验证码"
  237. }
  238. },
  239. {
  240. "path": "pay/card-order",
  241. "style": {
  242. "navigationBarTitleText": "收银台",
  243. "navigationStyle": "custom"
  244. }
  245. },
  246. {
  247. "path": "pay/card-under",
  248. "style": {
  249. "navigationBarTitleText": "线下转账"
  250. }
  251. },
  252. {
  253. "path": "pay/success",
  254. "style": {
  255. "navigationBarTitleText": "支付结果",
  256. "navigationStyle": "custom"
  257. }
  258. },
  259. {
  260. "path": "pay/success-tips",
  261. "style": {
  262. "navigationBarTitleText": "支付结果",
  263. "navigationStyle": "custom"
  264. }
  265. }
  266. ]
  267. },
  268. {
  269. "root": "pages/notice/", //搜索分包模块
  270. "pages": [{
  271. "path": "club/notice-order",
  272. "style": {
  273. "navigationBarTitleText": "交易物流",
  274. "enablePullDownRefresh": true
  275. }
  276. },
  277. {
  278. "path": "club/notice-users",
  279. "style": {
  280. "navigationBarTitleText": "账户通知",
  281. "enablePullDownRefresh": true
  282. }
  283. },
  284. {
  285. "path": "club/notice-serve",
  286. "style": {
  287. "navigationBarTitleText": "服务通知",
  288. "enablePullDownRefresh": true
  289. }
  290. },
  291. {
  292. "path": "club/notice-coupon",
  293. "style": {
  294. "navigationBarTitleText": "优惠促销",
  295. "enablePullDownRefresh": true
  296. }
  297. }
  298. ]
  299. },
  300. {
  301. "root": "pages/h5/", //活动分包模块
  302. "pages": [{
  303. "path": "article/page",
  304. "style": {
  305. "navigationBarTitleText": "采美采购平台",
  306. "enablePullDownRefresh": true
  307. }
  308. },
  309. {
  310. "path": "article/path",
  311. "style": {
  312. "navigationBarTitleText": "采美采购平台",
  313. "enablePullDownRefresh": true
  314. }
  315. },
  316. {
  317. "path": "article/page-image",
  318. "style": {
  319. "navigationBarTitleText": "采美采购平台"
  320. }
  321. },
  322. {
  323. "path": "article/path-live",
  324. "style": {
  325. "navigationBarTitleText": "采美采购平台",
  326. "enablePullDownRefresh": true
  327. }
  328. },
  329. {
  330. "path": "other/repair",
  331. "style": {
  332. "navigationBarTitleText": "维修"
  333. }
  334. },
  335. {
  336. "path": "other/brand",
  337. "style": {
  338. "navigationBarTitleText": "品牌招商"
  339. }
  340. },
  341. {
  342. "path": "other/brands",
  343. "style": {
  344. "navigationBarTitleText": "品牌招商"
  345. }
  346. },
  347. {
  348. "path": "other/attestation",
  349. "style": {
  350. "navigationBarTitleText": "采美认证通"
  351. }
  352. }
  353. ]
  354. }, {
  355. "root": "pages/search/", //搜索分包模块
  356. "pages": [{
  357. "path": "search",
  358. "style": {
  359. "navigationBarTitleText": "搜索"
  360. }
  361. }, {
  362. "path": "search-order",
  363. "style": {
  364. "navigationBarTitleText": "订单搜索"
  365. }
  366. }, {
  367. "path": "search-library",
  368. "style": {
  369. "navigationBarTitleText": "搜索",
  370. "enablePullDownRefresh": false
  371. }
  372. }]
  373. }
  374. ],
  375. "tabBar": {
  376. "height": "80",
  377. "color": "#999999",
  378. "selectedColor": "#f3b574",
  379. "borderStyle": "black",
  380. "backgroundColor": "#ffffff",
  381. "list": [{
  382. "pagePath": "pages/tabBar/home/index",
  383. "iconPath": "static/icon-home@3x.png",
  384. "selectedIconPath": "static/icon-home-active@3x.png",
  385. "text": "商城"
  386. },
  387. {
  388. "pagePath": "pages/tabBar/cart/index",
  389. "iconPath": "static/icon-cart@3x.png",
  390. "selectedIconPath": "static/icon-cart-active@3x.png",
  391. "text": "购物车"
  392. },
  393. {
  394. "pagePath": "pages/tabBar/user/user",
  395. "iconPath": "static/icon-user@3x.png",
  396. "selectedIconPath": "static/icon-user-active@3x.png",
  397. "text": "我的"
  398. }
  399. ]
  400. },
  401. "easycom": {
  402. "autoscan": true,
  403. "custom": {
  404. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  405. }
  406. },
  407. "globalStyle": {
  408. "navigationBarTextStyle": "black",
  409. "navigationBarTitleText": "联合丽格集采商城",
  410. "navigationBarBackgroundColor": "#FFFFFF",
  411. "backgroundColor": "#FFFFFF"
  412. },
  413. "condition": { //模式配置,仅开发期间生效
  414. "current": 0, //当前激活的模式(list 的索引项)
  415. "list": [{
  416. "name": "", //模式名称
  417. "path": "", //启动页面,必选
  418. "query": "" //启动参数,在页面的onLoad函数里面得到
  419. }]
  420. }
  421. }