pages.json 8.9 KB

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