pages.json 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  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/orderShareLogin",
  150. "style": {
  151. "navigationBarTitleText": "输入分享码"
  152. }
  153. },
  154. {
  155. "path": "order/order-sharelogin",
  156. "style": {
  157. "navigationBarTitleText": "查看订单"
  158. }
  159. },
  160. {
  161. "path": "order/order-list",
  162. "style": {
  163. "navigationBarTitleText": "我的订单",
  164. "navigationStyle": "custom"
  165. }
  166. },
  167. {
  168. "path": "order/order-details",
  169. "style": {
  170. "navigationBarTitleText": "订单详情",
  171. "navigationStyle": "custom"
  172. }
  173. },
  174. {
  175. "path": "order/order-sharedetails",
  176. "style": {
  177. "navigationBarTitleText": "订单详情"
  178. }
  179. },
  180. {
  181. "path": "order/order-logistics",
  182. "style": {
  183. "navigationBarTitleText": "物流信息"
  184. }
  185. },
  186. {
  187. "path": "setting/setting",
  188. "style": {
  189. "navigationBarTitleText": "账户设置"
  190. }
  191. },
  192. {
  193. "path": "setting/phone",
  194. "style": {
  195. "navigationBarTitleText": "更换手机号"
  196. }
  197. },
  198. {
  199. "path": "collection/collection",
  200. "style": {
  201. "navigationBarTitleText": "收藏商品",
  202. "enablePullDownRefresh": true
  203. }
  204. },
  205. {
  206. "path": "pay/card-list",
  207. "style": {
  208. "navigationBarTitleText": "银行卡"
  209. }
  210. },
  211. {
  212. "path": "pay/card-sus-list",
  213. "style": {
  214. "navigationBarTitleText": "支持银行"
  215. }
  216. },
  217. {
  218. "path": "pay/card-add",
  219. "style": {
  220. "navigationBarTitleText": "添加银行卡"
  221. }
  222. },
  223. {
  224. "path": "pay/card-comfirm",
  225. "style": {
  226. "navigationBarTitleText": "确认信息"
  227. }
  228. },
  229. {
  230. "path": "pay/card-comfirm-sub",
  231. "style": {
  232. "navigationBarTitleText": "输入短信验证码"
  233. }
  234. },
  235. {
  236. "path": "pay/card-order",
  237. "style": {
  238. "navigationBarTitleText": "收银台",
  239. "navigationStyle": "custom"
  240. }
  241. },
  242. {
  243. "path": "pay/card-under",
  244. "style": {
  245. "navigationBarTitleText": "线下转账"
  246. }
  247. },
  248. {
  249. "path": "pay/success",
  250. "style": {
  251. "navigationBarTitleText": "支付结果",
  252. "navigationStyle": "custom"
  253. }
  254. },
  255. {
  256. "path": "pay/success-tips",
  257. "style": {
  258. "navigationBarTitleText": "支付结果",
  259. "navigationStyle": "custom"
  260. }
  261. }
  262. ]
  263. },
  264. {
  265. "root": "pages/notice/", //搜索分包模块
  266. "pages": [
  267. {
  268. "path": "club/notice-order",
  269. "style": {
  270. "navigationBarTitleText": "交易物流",
  271. "enablePullDownRefresh": true
  272. }
  273. },
  274. {
  275. "path": "club/notice-users",
  276. "style": {
  277. "navigationBarTitleText": "账户通知",
  278. "enablePullDownRefresh": true
  279. }
  280. },
  281. {
  282. "path": "club/notice-serve",
  283. "style": {
  284. "navigationBarTitleText": "服务通知",
  285. "enablePullDownRefresh": true
  286. }
  287. },
  288. {
  289. "path": "club/notice-coupon",
  290. "style": {
  291. "navigationBarTitleText": "优惠促销",
  292. "enablePullDownRefresh": true
  293. }
  294. }
  295. ]
  296. },
  297. {
  298. "root": "pages/h5/", //活动分包模块
  299. "pages": [
  300. {
  301. "path": "article/page",
  302. "style": {
  303. "navigationBarTitleText": "采美采购平台",
  304. "enablePullDownRefresh": true
  305. }
  306. },
  307. {
  308. "path": "article/path",
  309. "style": {
  310. "navigationBarTitleText": "采美采购平台",
  311. "enablePullDownRefresh": true
  312. }
  313. },
  314. {
  315. "path": "article/page-image",
  316. "style": {
  317. "navigationBarTitleText": "采美采购平台"
  318. }
  319. },
  320. {
  321. "path": "article/path-live",
  322. "style": {
  323. "navigationBarTitleText": "采美采购平台",
  324. "enablePullDownRefresh": true
  325. }
  326. },
  327. {
  328. "path": "other/repair",
  329. "style": {
  330. "navigationBarTitleText": "维修"
  331. }
  332. },
  333. {
  334. "path": "other/brand",
  335. "style": {
  336. "navigationBarTitleText": "品牌招商"
  337. }
  338. },
  339. {
  340. "path": "other/brands",
  341. "style": {
  342. "navigationBarTitleText": "品牌招商"
  343. }
  344. },
  345. {
  346. "path": "other/attestation",
  347. "style": {
  348. "navigationBarTitleText": "采美认证通"
  349. }
  350. }
  351. ]
  352. }, {
  353. "root": "pages/search/", //搜索分包模块
  354. "pages": [{
  355. "path": "search",
  356. "style": {
  357. "navigationBarTitleText": "搜索"
  358. }
  359. }, {
  360. "path": "search-order",
  361. "style": {
  362. "navigationBarTitleText": "订单搜索"
  363. }
  364. }, {
  365. "path": "search-library",
  366. "style": {
  367. "navigationBarTitleText": "搜索",
  368. "enablePullDownRefresh": false
  369. }
  370. }]
  371. }
  372. ],
  373. "tabBar": {
  374. "height": "80",
  375. "color": "#999999",
  376. "selectedColor": "#f3b574",
  377. "borderStyle": "black",
  378. "backgroundColor": "#ffffff",
  379. "list": [
  380. {
  381. "pagePath": "pages/tabBar/home/index",
  382. "iconPath": "static/icon-home@3x.png",
  383. "selectedIconPath": "static/icon-home-active@3x.png",
  384. "text": "商城"
  385. },
  386. {
  387. "pagePath": "pages/tabBar/cart/index",
  388. "iconPath": "static/icon-cart@3x.png",
  389. "selectedIconPath": "static/icon-cart-active@3x.png",
  390. "text": "购物车"
  391. },
  392. {
  393. "pagePath": "pages/tabBar/user/user",
  394. "iconPath": "static/icon-user@3x.png",
  395. "selectedIconPath": "static/icon-user-active@3x.png",
  396. "text": "我的"
  397. }
  398. ]
  399. },
  400. "easycom": {
  401. "autoscan": true,
  402. "custom": {
  403. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  404. }
  405. },
  406. "globalStyle": {
  407. "navigationBarTextStyle": "black",
  408. "navigationBarTitleText": "联合丽格集采商城",
  409. "navigationBarBackgroundColor": "#FFFFFF",
  410. "backgroundColor": "#FFFFFF"
  411. },
  412. "condition": { //模式配置,仅开发期间生效
  413. "current": 0, //当前激活的模式(list 的索引项)
  414. "list": [{
  415. "name": "", //模式名称
  416. "path": "", //启动页面,必选
  417. "query": "" //启动参数,在页面的onLoad函数里面得到
  418. }]
  419. }
  420. }