pages.json 10 KB

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