pages.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  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. "path": "procurement",
  63. "style": {
  64. "navigationBarTitleText": "集采需求",
  65. "enablePullDownRefresh": true
  66. }
  67. }, {
  68. "path": "procurement_info",
  69. "style": {
  70. "navigationBarTitleText": "需求详情",
  71. "enablePullDownRefresh": true
  72. }
  73. }, {
  74. "path": "procurementAdd",
  75. "style": {
  76. "navigationBarTitleText": "发布需求",
  77. "enablePullDownRefresh": false
  78. }
  79. }, {
  80. "path": "procurement_more",
  81. "style": {
  82. "navigationBarTitleText": "商品列表",
  83. "enablePullDownRefresh": true
  84. }
  85. }, {
  86. "path": "good-activity",
  87. "style": {
  88. "navigationBarTitleText": "",
  89. "enablePullDownRefresh": true
  90. }
  91. }, {
  92. "path": "active-product",
  93. "style": {
  94. "navigationBarTitleText": "",
  95. "enablePullDownRefresh": true
  96. }
  97. }
  98. ]
  99. },
  100. {
  101. "root": "pages/login/", //注册登录模块
  102. "pages": [{
  103. "path": "register",
  104. "style": {
  105. "navigationBarTitleText": "机构注册",
  106. "navigationStyle": "custom"
  107. }
  108. },
  109. {
  110. "path": "login-auth",
  111. "style": {
  112. "navigationBarTitleText": "登录成功",
  113. "enablePullDownRefresh": false
  114. }
  115. },
  116. {
  117. "path": "login-code",
  118. "style": {
  119. "navigationBarTitleText": "邀请码登录",
  120. "enablePullDownRefresh": false
  121. }
  122. },
  123. {
  124. "path": "register-unid",
  125. "style": {
  126. "navigationBarTitleText": "修改资料"
  127. }
  128. },
  129. {
  130. "path": "login",
  131. "style": {
  132. "navigationBarTitleText": "登录"
  133. }
  134. },
  135. {
  136. "path": "bindwechat",
  137. "style": {
  138. "navigationBarTitleText": "绑定微信"
  139. }
  140. },
  141. {
  142. "path": "bindOperator",
  143. "style": {
  144. "navigationBarTitleText": "绑定运营人员"
  145. }
  146. },
  147. {
  148. "path": "information",
  149. "style": {
  150. "navigationBarTitleText": "修改资料",
  151. "navigationStyle": "custom"
  152. }
  153. },
  154. {
  155. "path": "password",
  156. "style": {
  157. "navigationBarTitleText": "修改密码"
  158. }
  159. }
  160. ]
  161. },
  162. {
  163. "root": "pages/user/", //机构个人中心模块
  164. "pages": [{
  165. "path": "address/addressManage",
  166. "style": {
  167. "navigationBarTitleText": "添加新地址"
  168. }
  169. },
  170. {
  171. "path": "address/address",
  172. "style": {
  173. "navigationBarTitleText": "地址列表"
  174. }
  175. },
  176. {
  177. "path": "operator/list",
  178. "style": {
  179. "navigationBarTitleText": "运营人员管理"
  180. }
  181. },
  182. {
  183. "path": "operator/form",
  184. "style": {
  185. "navigationBarTitleText": "添加运营人员"
  186. }
  187. },
  188. {
  189. "path": "order/create-order",
  190. "style": {
  191. "navigationBarTitleText": "确认订单"
  192. }
  193. },
  194. {
  195. "path": "order/success",
  196. "style": {
  197. "navigationBarTitleText": "支付结果",
  198. "navigationStyle": "custom"
  199. }
  200. },
  201. {
  202. "path": "order/order-pay-list",
  203. "style": {
  204. "navigationBarTitleText": "支付订单"
  205. }
  206. },
  207. {
  208. "path": "order/orderShareLogin",
  209. "style": {
  210. "navigationBarTitleText": "输入分享码"
  211. }
  212. },
  213. {
  214. "path": "order/order-sharelogin",
  215. "style": {
  216. "navigationBarTitleText": "查看订单"
  217. }
  218. },
  219. {
  220. "path": "order/order-list",
  221. "style": {
  222. "navigationBarTitleText": "我的订单",
  223. "navigationStyle": "custom"
  224. }
  225. },
  226. {
  227. "path": "order/order-details",
  228. "style": {
  229. "navigationBarTitleText": "订单详情",
  230. "enablePullDownRefresh": true,
  231. "navigationStyle": "custom"
  232. }
  233. },
  234. {
  235. "path": "order/order-addpay",
  236. "style": {
  237. "navigationBarTitleText": "上传支付凭证"
  238. }
  239. },
  240. {
  241. "path": "order/order-sharedetails",
  242. "style": {
  243. "navigationBarTitleText": "订单详情"
  244. }
  245. },
  246. {
  247. "path": "order/order-logistics",
  248. "style": {
  249. "navigationBarTitleText": "物流信息"
  250. }
  251. },
  252. {
  253. "path": "setting/setting",
  254. "style": {
  255. "navigationBarTitleText": "账户设置"
  256. }
  257. },
  258. {
  259. "path": "setting/phone",
  260. "style": {
  261. "navigationBarTitleText": "更换手机号"
  262. }
  263. },
  264. {
  265. "path": "collection/collection",
  266. "style": {
  267. "navigationBarTitleText": "收藏商品",
  268. "enablePullDownRefresh": true
  269. }
  270. },
  271. {
  272. "path": "pay/card-list",
  273. "style": {
  274. "navigationBarTitleText": "银行卡"
  275. }
  276. },
  277. {
  278. "path": "pay/card-sus-list",
  279. "style": {
  280. "navigationBarTitleText": "支持银行"
  281. }
  282. },
  283. {
  284. "path": "pay/card-add",
  285. "style": {
  286. "navigationBarTitleText": "添加银行卡"
  287. }
  288. },
  289. {
  290. "path": "pay/card-comfirm",
  291. "style": {
  292. "navigationBarTitleText": "确认信息"
  293. }
  294. },
  295. {
  296. "path": "pay/card-comfirm-sub",
  297. "style": {
  298. "navigationBarTitleText": "输入短信验证码"
  299. }
  300. },
  301. {
  302. "path": "pay/card-order",
  303. "style": {
  304. "navigationBarTitleText": "收银台",
  305. "navigationStyle": "custom"
  306. }
  307. },
  308. {
  309. "path": "pay/card-under",
  310. "style": {
  311. "navigationBarTitleText": "线下转账"
  312. }
  313. },
  314. {
  315. "path": "pay/success",
  316. "style": {
  317. "navigationBarTitleText": "支付结果",
  318. "navigationStyle": "custom"
  319. }
  320. },
  321. {
  322. "path": "pay/success-tips",
  323. "style": {
  324. "navigationBarTitleText": "支付结果",
  325. "navigationStyle": "custom"
  326. }
  327. }
  328. ]
  329. },
  330. {
  331. "root": "pages/notice/", //搜索分包模块
  332. "pages": [{
  333. "path": "club/notice-order",
  334. "style": {
  335. "navigationBarTitleText": "交易物流",
  336. "enablePullDownRefresh": true
  337. }
  338. },
  339. {
  340. "path": "club/notice-users",
  341. "style": {
  342. "navigationBarTitleText": "账户通知",
  343. "enablePullDownRefresh": true
  344. }
  345. },
  346. {
  347. "path": "club/notice-serve",
  348. "style": {
  349. "navigationBarTitleText": "服务通知",
  350. "enablePullDownRefresh": true
  351. }
  352. },
  353. {
  354. "path": "club/notice-coupon",
  355. "style": {
  356. "navigationBarTitleText": "优惠促销",
  357. "enablePullDownRefresh": true
  358. }
  359. }
  360. ]
  361. },
  362. {
  363. "root": "pages/search/", //搜索分包模块
  364. "pages": [{
  365. "path": "search",
  366. "style": {
  367. "navigationBarTitleText": "搜索"
  368. }
  369. }, {
  370. "path": "search-library",
  371. "style": {
  372. "navigationBarTitleText": "搜索",
  373. "enablePullDownRefresh": false
  374. }
  375. }]
  376. },
  377. {
  378. "root": "pages/seller/", //搜索分包模块
  379. "pages": [
  380. {
  381. "path": "login/login",
  382. "style": {
  383. "navigationBarTitleText": "采购员登录"
  384. }
  385. },
  386. {
  387. "path": "club/club-list",
  388. "style": {
  389. "navigationBarTitleText": "帮机构采购",
  390. "enablePullDownRefresh": false
  391. }
  392. },
  393. {
  394. "path": "cart/index",
  395. "style": {
  396. "navigationBarTitleText": "购物车",
  397. "enablePullDownRefresh": false
  398. }
  399. },
  400. {
  401. "path": "order/order-confirm",
  402. "style": {
  403. "navigationBarTitleText": "确认订单",
  404. "enablePullDownRefresh": false
  405. }
  406. },
  407. {
  408. "path": "order/order-list",
  409. "style": {
  410. "navigationBarTitleText": "我的订单",
  411. "enablePullDownRefresh": false
  412. }
  413. },
  414. {
  415. "path": "order/order-club-list",
  416. "style": {
  417. "navigationBarTitleText": "历史订单",
  418. "enablePullDownRefresh": false
  419. }
  420. },
  421. {
  422. "path": "order/order-details",
  423. "style": {
  424. "navigationBarTitleText": "订单详情",
  425. "enablePullDownRefresh": false
  426. }
  427. }]
  428. }
  429. ],
  430. "tabBar": {
  431. "height": "80",
  432. "color": "#999999",
  433. "selectedColor": "#f3b574",
  434. "borderStyle": "black",
  435. "backgroundColor": "#ffffff",
  436. "list": [{
  437. "pagePath": "pages/tabBar/home/index",
  438. "iconPath": "static/icon-home@3x.png",
  439. "selectedIconPath": "static/icon-home-active@3x.png",
  440. "text": "商城"
  441. },
  442. {
  443. "pagePath": "pages/tabBar/cart/index",
  444. "iconPath": "static/icon-cart@3x.png",
  445. "selectedIconPath": "static/icon-cart-active@3x.png",
  446. "text": "购物车"
  447. },
  448. {
  449. "pagePath": "pages/tabBar/user/user",
  450. "iconPath": "static/icon-user@3x.png",
  451. "selectedIconPath": "static/icon-user-active@3x.png",
  452. "text": "我的"
  453. }
  454. ]
  455. },
  456. "easycom": {
  457. "autoscan": true,
  458. "custom": {
  459. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  460. }
  461. },
  462. "globalStyle": {
  463. "navigationBarTextStyle": "black",
  464. "navigationBarTitleText": "联合丽格集采商城",
  465. "navigationBarBackgroundColor": "#FFFFFF",
  466. "backgroundColor": "#FFFFFF"
  467. },
  468. "condition": { //模式配置,仅开发期间生效
  469. "current": 0, //当前激活的模式(list 的索引项)
  470. "list": [{
  471. "name": "", //模式名称
  472. "path": "", //启动页面,必选
  473. "query": "" //启动参数,在页面的onLoad函数里面得到
  474. }]
  475. }
  476. }