pages.json 8.5 KB

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