pages.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. {
  2. "pages": [ //主包
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "系统页"
  7. }
  8. },
  9. {
  10. "path": "pages/login/index",
  11. "style": {
  12. "navigationBarTitleText": "系统登录"
  13. }
  14. },
  15. {
  16. "path": "pages/home/index",
  17. "style": {
  18. "navigationBarTitleText": "首页",
  19. "enablePullDownRefresh": true
  20. }
  21. },
  22. // {
  23. // "path": "pages/store/index",
  24. // "style": {
  25. // "navigationBarTitleText": "微店",
  26. // "enablePullDownRefresh": true
  27. // }
  28. // },
  29. {
  30. "path": "pages/week/index",
  31. "style": {
  32. "navigationBarTitleText": "分类",
  33. "enablePullDownRefresh": true
  34. }
  35. },
  36. {
  37. "path": "pages/market/index",
  38. "style": {
  39. "navigationBarTitleText": "购物车"
  40. }
  41. },
  42. {
  43. "path": "pages/message/index",
  44. "style": {
  45. "navigationBarTitleText": "消息"
  46. }
  47. },
  48. {
  49. "path": "pages/my/index",
  50. "style": {
  51. "navigationBarTitleText": "我的"
  52. }
  53. }
  54. ],
  55. "subPackages": [ //分包配置
  56. {
  57. "root": "pagesMy",
  58. "pages": [ //我的
  59. {
  60. "path": "collection/market",
  61. "style": {
  62. "navigationBarTitleText": "我收藏的商品",
  63. "enablePullDownRefresh": true
  64. }
  65. },
  66. {
  67. "path": "collection/shop",
  68. "style": {
  69. "navigationBarTitleText": "我收藏的店铺",
  70. "enablePullDownRefresh": true
  71. }
  72. },
  73. {
  74. "path": "order/index",
  75. "style": {
  76. "navigationBarTitleText": "订单列表",
  77. "enablePullDownRefresh": true
  78. }
  79. },
  80. {
  81. "path": "order/info",
  82. "style": {
  83. "navigationBarTitleText": "订单详细"
  84. }
  85. },
  86. {
  87. "path": "order/all",
  88. "style": {
  89. "navigationBarTitleText": "全部订单",
  90. "enablePullDownRefresh": true
  91. }
  92. },
  93. {
  94. "path": "order/after",
  95. "style": {
  96. "navigationBarTitleText": "售后列表",
  97. "enablePullDownRefresh": true
  98. }
  99. },
  100. {
  101. "path": "order/afterInfo",
  102. "style": {
  103. "navigationBarTitleText": "售后详情"
  104. }
  105. },
  106. {
  107. "path": "order/detail",
  108. "style": {
  109. "navigationBarTitleText": "售后信息维护"
  110. }
  111. },
  112. {
  113. "path": "order/service",
  114. "style": {
  115. "navigationBarTitleText": "选择售后"
  116. }
  117. },
  118. {
  119. "path": "order/appraise",
  120. "style": {
  121. "navigationBarTitleText": "商品评价"
  122. }
  123. },
  124. {
  125. "path": "logistics/index",
  126. "style": {
  127. "navigationBarTitleText": "物流信息"
  128. }
  129. },
  130. {
  131. "path": "discount/index",
  132. "style": {
  133. "navigationBarTitleText": "我的优惠劵",
  134. "enablePullDownRefresh": true
  135. }
  136. },
  137. {
  138. "path": "integral/index",
  139. "style": {
  140. "navigationBarTitleText": "我的尊荣",
  141. "enablePullDownRefresh": true
  142. }
  143. },
  144. {
  145. "path": "assets/index",
  146. "style": {
  147. "navigationBarTitleText": "我的资产",
  148. "enablePullDownRefresh": true
  149. }
  150. },
  151. {
  152. "path": "assets/info",
  153. "style": {
  154. "navigationBarTitleText": "资产详情"
  155. }
  156. },
  157. {
  158. "path": "dough/index",
  159. "style": {
  160. "navigationBarTitleText": "我的拼团",
  161. "enablePullDownRefresh": true,
  162. "navigationBarBackgroundColor": "#23B67A"
  163. }
  164. },
  165. {
  166. "path": "dough/handle",
  167. "style": {
  168. "navigationBarTitleText": "拼团处理",
  169. "enablePullDownRefresh": true,
  170. "navigationBarBackgroundColor": "#23B67A"
  171. }
  172. },
  173. {
  174. "path": "dough/info",
  175. "style": {
  176. "navigationBarTitleText": "订单详情",
  177. "navigationBarBackgroundColor": "#23B67A"
  178. }
  179. },
  180. {
  181. "path": "address/index",
  182. "style": {
  183. "navigationBarTitleText": "收货地址",
  184. "enablePullDownRefresh": true
  185. }
  186. },
  187. {
  188. "path": "address/add",
  189. "style": {
  190. "navigationBarTitleText": "新增地址"
  191. }
  192. },
  193. {
  194. "path": "account/index",
  195. "style": {
  196. "navigationBarTitleText": "账号管理"
  197. }
  198. }, {
  199. "path": "account/upPassword",
  200. "style": {
  201. "navigationBarTitleText": "登录密码"
  202. }
  203. },
  204. {
  205. "path": "account/bindPhone",
  206. "style": {
  207. "navigationBarTitleText": "绑定手机"
  208. }
  209. }, {
  210. "path": "account/bindEmail",
  211. "style": {
  212. "navigationBarTitleText": "绑定邮箱"
  213. }
  214. }, {
  215. "path": "account/upBasic",
  216. "style": {
  217. "navigationBarTitleText": "个人信息"
  218. }
  219. },
  220. {
  221. "path": "apply/index",
  222. "style": {
  223. "navigationBarTitleText": "会员申请记录",
  224. "enablePullDownRefresh": true,
  225. "navigationBarBackgroundColor": "#23B67A"
  226. }
  227. },
  228. {
  229. "path": "apply/add",
  230. "style": {
  231. "navigationBarTitleText": "会员申请",
  232. "navigationBarBackgroundColor": "#23B67A"
  233. }
  234. }
  235. ]
  236. },
  237. {
  238. "root": "pagesHome",
  239. "pages": [ //首页
  240. {
  241. "path": "market/search",
  242. "style": {
  243. "navigationBarTitleText": "商品搜索",
  244. "enablePullDownRefresh": true
  245. }
  246. },
  247. {
  248. "path": "notice/index",
  249. "style": {
  250. "navigationBarTitleText": "消息通知",
  251. "enablePullDownRefresh": true
  252. }
  253. },
  254. {
  255. "path": "market/type",
  256. "style": {
  257. "navigationBarTitleText": "商品分类",
  258. "enablePullDownRefresh": true
  259. }
  260. },
  261. {
  262. "path": "exchange/index",
  263. "style": {
  264. "navigationBarTitleText": "兑换中心",
  265. "enablePullDownRefresh": true
  266. }
  267. },
  268. {
  269. "path": "order/detail",
  270. "style": {
  271. "navigationBarTitleText": "商品详情"
  272. }
  273. },
  274. {
  275. "path": "order/order",
  276. "style": {
  277. "navigationBarTitleText": "提交订单"
  278. }
  279. },
  280. {
  281. "path": "order/appraise",
  282. "style": {
  283. "navigationBarTitleText": "商品评价"
  284. }
  285. },
  286. {
  287. "path": "shop/index",
  288. "style": {
  289. "navigationBarTitleText": "店铺",
  290. "enablePullDownRefresh": true
  291. }
  292. },
  293. {
  294. "path": "group/index",
  295. "style": {
  296. "navigationBarTitleText": "开团",
  297. "navigationBarBackgroundColor": "#23B67A"
  298. }
  299. },
  300. {
  301. "path": "group/group",
  302. "style": {
  303. "navigationBarTitleText": "团购",
  304. "navigationBarBackgroundColor": "#23B67A"
  305. }
  306. },
  307. {
  308. "path": "group/share",
  309. "style": {
  310. "navigationBarTitleText": "团购分享",
  311. "navigationBarBackgroundColor": "#23B67A"
  312. }
  313. },
  314. {
  315. "path": "group/order",
  316. "style": {
  317. "navigationBarTitleText": "团购订单",
  318. "navigationBarBackgroundColor": "#23B67A"
  319. }
  320. }
  321. ]
  322. },
  323. {
  324. "root": "pagesRest",
  325. "pages": [{
  326. "path": "article/index",
  327. "style": {
  328. "navigationBarTitleText": "详细信息"
  329. }
  330. },
  331. {
  332. "path": "recom/index",
  333. "style": {
  334. "navigationBarTitleText": "商品类别",
  335. "enablePullDownRefresh": true
  336. }
  337. },
  338. {
  339. "path": "activity/list",
  340. "style": {
  341. "navigationBarTitleText": "活动列表",
  342. "enablePullDownRefresh": true
  343. }
  344. },
  345. {
  346. "path": "activity/info",
  347. "style": {
  348. "navigationBarTitleText": "活动详情"
  349. }
  350. }
  351. ]
  352. },
  353. {
  354. "root": "pagesIntegral",
  355. "pages": [{
  356. "path": "home/index",
  357. "style": {
  358. "navigationBarTitleText": "尊荣专区",
  359. "enablePullDownRefresh": true,
  360. "navigationBarBackgroundColor": "#6A5ACD"
  361. }
  362. },
  363. {
  364. "path": "order/detail",
  365. "style": {
  366. "navigationBarTitleText": "商品详情",
  367. "navigationBarBackgroundColor": "#6A5ACD"
  368. }
  369. },
  370. {
  371. "path": "order/index",
  372. "style": {
  373. "navigationBarTitleText": "商品兑换",
  374. "navigationBarBackgroundColor": "#6A5ACD"
  375. }
  376. },
  377. {
  378. "path": "record/index",
  379. "style": {
  380. "navigationBarTitleText": "兑换记录",
  381. "enablePullDownRefresh": true
  382. }
  383. }
  384. ]
  385. },
  386. {
  387. "root": "pagesMessage",
  388. "pages": [
  389. {
  390. "path": "message/info",
  391. "style": {
  392. "navigationBarTitleText": "消息",
  393. "enablePullDownRefresh": true
  394. }
  395. }
  396. ]
  397. },
  398. {
  399. "root": "pagesOther",
  400. "pages": [
  401. {
  402. "path": "other/agree",
  403. "style": {
  404. "navigationBarTitleText": "用户协议",
  405. "enablePullDownRefresh": false
  406. }
  407. }
  408. ]
  409. }
  410. ],
  411. "globalStyle": {
  412. "navigationBarTextStyle": "white",
  413. "navigationBarTitleText": "天恩活泉",
  414. "navigationBarBackgroundColor": "#FB1438",
  415. "backgroundColor": "#F8F8F8"
  416. },
  417. "uniIdRouter": {},
  418. "condition": { //模式配置,仅开发期间生效
  419. "current": 0, //当前激活的模式(list 的索引项)
  420. "list": [{
  421. "name": "系统首页", //模式名称
  422. "path": "pages/index/index", //启动页面,必选
  423. "query": "" //启动参数,在页面的onLoad函数里面得到
  424. }]
  425. }
  426. }