pages.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^s-(.*)": "@/sheep/components/s-$1/s-$1.vue",
  6. "^su-(.*)": "@/sheep/ui/su-$1/su-$1.vue"
  7. }
  8. },
  9. "pages": [
  10. {
  11. "path": "pages/index/index",
  12. "aliasPath": "/",
  13. "style": {
  14. "navigationBarTitleText": "首页",
  15. "enablePullDownRefresh": true
  16. },
  17. "meta": {
  18. "auth": false,
  19. "sync": true,
  20. "title": "首页",
  21. "group": "商城"
  22. }
  23. },
  24. {
  25. "path": "pages/index/user",
  26. "style": {
  27. "navigationBarTitleText": "个人中心",
  28. "enablePullDownRefresh": true
  29. },
  30. "meta": {
  31. "sync": true,
  32. "title": "个人中心",
  33. "group": "商城"
  34. }
  35. },
  36. {
  37. "path": "pages/index/category",
  38. "style": {
  39. "navigationBarTitleText": "商品分类"
  40. },
  41. "meta": {
  42. "sync": true,
  43. "title": "商品分类",
  44. "group": "商城"
  45. }
  46. },
  47. {
  48. "path": "pages/index/cart",
  49. "style": {
  50. "navigationBarTitleText": "购物车"
  51. },
  52. "meta": {
  53. "sync": true,
  54. "title": "购物车",
  55. "group": "商城"
  56. }
  57. },
  58. {
  59. "path": "pages/index/login",
  60. "style": {
  61. "navigationBarTitleText": "登录"
  62. }
  63. },
  64. {
  65. "path": "pages/index/search",
  66. "style": {
  67. "navigationBarTitleText": "搜索"
  68. },
  69. "meta": {
  70. "sync": true,
  71. "title": "搜索",
  72. "group": "商城"
  73. }
  74. },
  75. {
  76. "path": "pages/index/page",
  77. "style": {
  78. "navigationBarTitleText": ""
  79. },
  80. "meta": {
  81. "auth": false,
  82. "sync": true,
  83. "title": "自定义页面",
  84. "group": "商城"
  85. }
  86. }
  87. ],
  88. "subPackages": [
  89. {
  90. "root": "pages/goods",
  91. "pages": [
  92. {
  93. "path": "index",
  94. "style": {
  95. "navigationBarTitleText": "商品详情"
  96. },
  97. "meta": {
  98. "sync": true,
  99. "title": "普通商品",
  100. "group": "商品"
  101. }
  102. },
  103. {
  104. "path": "groupon",
  105. "style": {
  106. "navigationBarTitleText": "拼团商品"
  107. },
  108. "meta": {
  109. "sync": true,
  110. "title": "拼团商品",
  111. "group": "商品"
  112. }
  113. },
  114. {
  115. "path": "seckill",
  116. "style": {
  117. "navigationBarTitleText": "秒杀商品"
  118. },
  119. "meta": {
  120. "sync": true,
  121. "title": "秒杀商品",
  122. "group": "商品"
  123. }
  124. },
  125. {
  126. "path": "list",
  127. "style": {
  128. "navigationBarTitleText": "商品列表"
  129. },
  130. "meta": {
  131. "sync": true,
  132. "title": "商品列表",
  133. "group": "商品"
  134. }
  135. },
  136. {
  137. "path": "comment/add",
  138. "style": {
  139. "navigationBarTitleText": "评价商品"
  140. },
  141. "meta": {
  142. "auth": true
  143. }
  144. },
  145. {
  146. "path": "comment/list",
  147. "style": {
  148. "navigationBarTitleText": "商品评价"
  149. }
  150. }
  151. ]
  152. },
  153. {
  154. "root": "pages/order",
  155. "pages": [
  156. {
  157. "path": "detail",
  158. "style": {
  159. "navigationBarTitleText": "订单详情"
  160. },
  161. "meta": {
  162. "auth": true,
  163. "title": "订单详情"
  164. }
  165. },
  166. {
  167. "path": "confirm",
  168. "style": {
  169. "navigationBarTitleText": "确认订单"
  170. },
  171. "meta": {
  172. "auth": true,
  173. "title": "确认订单"
  174. }
  175. },
  176. {
  177. "path": "list",
  178. "style": {
  179. "navigationBarTitleText": "我的订单",
  180. "enablePullDownRefresh": true
  181. },
  182. "meta": {
  183. "auth": true,
  184. "sync": true,
  185. "title": "用户订单",
  186. "group": "订单中心"
  187. }
  188. },
  189. {
  190. "path": "aftersale/apply",
  191. "style": {
  192. "navigationBarTitleText": "申请售后"
  193. },
  194. "meta": {
  195. "auth": true,
  196. "title": "申请售后"
  197. }
  198. },
  199. {
  200. "path": "aftersale/list",
  201. "style": {
  202. "navigationBarTitleText": "售后列表"
  203. },
  204. "meta": {
  205. "auth": true,
  206. "sync": true,
  207. "title": "售后订单",
  208. "group": "订单中心"
  209. }
  210. },
  211. {
  212. "path": "aftersale/detail",
  213. "style": {
  214. "navigationBarTitleText": "售后详情"
  215. },
  216. "meta": {
  217. "auth": true,
  218. "title": "售后详情"
  219. }
  220. },
  221. {
  222. "path": "aftersale/log",
  223. "style": {
  224. "navigationBarTitleText": "售后进度"
  225. },
  226. "meta": {
  227. "auth": true,
  228. "title": "售后进度"
  229. }
  230. },
  231. {
  232. "path": "express/log",
  233. "style": {
  234. "navigationBarTitleText": "物流轨迹"
  235. },
  236. "meta": {
  237. "auth": true,
  238. "title": "物流轨迹"
  239. }
  240. }
  241. ]
  242. },
  243. {
  244. "root": "pages/user",
  245. "pages": [
  246. {
  247. "path": "info",
  248. "style": {
  249. "navigationBarTitleText": "我的信息"
  250. },
  251. "meta": {
  252. "auth": true,
  253. "sync": true,
  254. "title": "用户信息",
  255. "group": "用户中心"
  256. }
  257. },
  258. {
  259. "path": "goods-collect",
  260. "style": {
  261. "navigationBarTitleText": "我的收藏"
  262. },
  263. "meta": {
  264. "auth": true,
  265. "sync": true,
  266. "title": "商品收藏",
  267. "group": "用户中心"
  268. }
  269. },
  270. {
  271. "path": "goods-log",
  272. "style": {
  273. "navigationBarTitleText": "我的足迹"
  274. },
  275. "meta": {
  276. "auth": true,
  277. "sync": true,
  278. "title": "浏览记录",
  279. "group": "用户中心"
  280. }
  281. },
  282. {
  283. "path": "address/list",
  284. "style": {
  285. "navigationBarTitleText": "收货地址"
  286. },
  287. "meta": {
  288. "auth": true,
  289. "sync": true,
  290. "title": "地址管理",
  291. "group": "用户中心"
  292. }
  293. },
  294. {
  295. "path": "address/edit",
  296. "style": {
  297. "navigationBarTitleText": "编辑地址"
  298. },
  299. "meta": {
  300. "auth": true,
  301. "title": "编辑地址"
  302. }
  303. },
  304. {
  305. "path": "wallet/money",
  306. "style": {
  307. "navigationBarTitleText": "我的余额"
  308. },
  309. "meta": {
  310. "auth": true,
  311. "sync": true,
  312. "title": "用户余额",
  313. "group": "用户中心"
  314. }
  315. },
  316. {
  317. "path": "wallet/commission",
  318. "style": {
  319. "navigationBarTitleText": "我的佣金"
  320. },
  321. "meta": {
  322. "auth": true,
  323. "sync": true,
  324. "title": "用户佣金",
  325. "group": "分销中心"
  326. }
  327. },
  328. {
  329. "path": "wallet/score",
  330. "style": {
  331. "navigationBarTitleText": "我的积分"
  332. },
  333. "meta": {
  334. "auth": true,
  335. "sync": true,
  336. "title": "用户积分",
  337. "group": "用户中心"
  338. }
  339. }
  340. ]
  341. },
  342. {
  343. "root": "pages/commission",
  344. "pages": [
  345. {
  346. "path": "index",
  347. "style": {
  348. "navigationBarTitleText": "分销"
  349. },
  350. "meta": {
  351. "auth": true,
  352. "sync": true,
  353. "title": "分销中心",
  354. "group": "分销商城"
  355. }
  356. },
  357. {
  358. "path": "apply",
  359. "style": {
  360. "navigationBarTitleText": "申请分销商"
  361. },
  362. "meta": {
  363. "auth": true,
  364. "sync": true,
  365. "title": "申请分销商",
  366. "group": "分销商城"
  367. }
  368. },
  369. {
  370. "path": "goods",
  371. "style": {
  372. "navigationBarTitleText": "推广商品"
  373. },
  374. "meta": {
  375. "auth": true,
  376. "sync": true,
  377. "title": "推广商品",
  378. "group": "分销商城"
  379. }
  380. },
  381. {
  382. "path": "order",
  383. "style": {
  384. "navigationBarTitleText": "分销订单"
  385. },
  386. "meta": {
  387. "auth": true,
  388. "sync": true,
  389. "title": "分销订单",
  390. "group": "分销商城"
  391. }
  392. },
  393. {
  394. "path": "share-log",
  395. "style": {
  396. "navigationBarTitleText": "分享记录"
  397. },
  398. "meta": {
  399. "auth": true,
  400. "sync": true,
  401. "title": "分享记录",
  402. "group": "分销商城"
  403. }
  404. },
  405. {
  406. "path": "team",
  407. "style": {
  408. "navigationBarTitleText": "我的团队"
  409. },
  410. "meta": {
  411. "auth": true,
  412. "sync": true,
  413. "title": "我的团队",
  414. "group": "分销商城"
  415. }
  416. }
  417. ]
  418. },
  419. {
  420. "root": "pages/app",
  421. "pages": [
  422. {
  423. "path": "sign",
  424. "style": {
  425. "navigationBarTitleText": "签到中心"
  426. },
  427. "meta": {
  428. "auth": true,
  429. "sync": true,
  430. "title": "签到中心",
  431. "group": "应用"
  432. }
  433. }
  434. ]
  435. },
  436. {
  437. "root": "pages/public",
  438. "pages": [
  439. {
  440. "path": "setting",
  441. "style": {
  442. "navigationBarTitleText": "系统设置"
  443. },
  444. "meta": {
  445. "sync": true,
  446. "title": "系统设置",
  447. "group": "通用"
  448. }
  449. },
  450. {
  451. "path": "richtext",
  452. "style": {
  453. "navigationBarTitleText": "富文本"
  454. },
  455. "meta": {
  456. "sync": true,
  457. "title": "富文本",
  458. "group": "通用"
  459. }
  460. },
  461. {
  462. "path": "faq",
  463. "style": {
  464. "navigationBarTitleText": "常见问题"
  465. },
  466. "meta": {
  467. "sync": true,
  468. "title": "常见问题",
  469. "group": "通用"
  470. }
  471. },
  472. {
  473. "path": "error",
  474. "style": {
  475. "navigationBarTitleText": "错误页面"
  476. }
  477. },
  478. {
  479. "path": "webview",
  480. "style": {
  481. "navigationBarTitleText": ""
  482. }
  483. }
  484. ]
  485. },
  486. {
  487. "root": "pages/coupon",
  488. "pages": [
  489. {
  490. "path": "list",
  491. "style": {
  492. "navigationBarTitleText": "领券中心"
  493. },
  494. "meta": {
  495. "sync": true,
  496. "title": "领券中心",
  497. "group": "优惠券"
  498. }
  499. },
  500. {
  501. "path": "detail",
  502. "style": {
  503. "navigationBarTitleText": "优惠券"
  504. },
  505. "meta": {
  506. "auth": false,
  507. "sync": true,
  508. "title": "优惠券详情",
  509. "group": "优惠券"
  510. }
  511. }
  512. ]
  513. },
  514. {
  515. "root": "pages/chat",
  516. "pages": [
  517. {
  518. "path": "index",
  519. "style": {
  520. "navigationBarTitleText": "客服"
  521. },
  522. "meta": {
  523. "auth": true,
  524. "sync": true,
  525. "title": "客服",
  526. "group": "客服"
  527. }
  528. }
  529. ]
  530. },
  531. {
  532. "root": "pages/pay",
  533. "pages": [
  534. {
  535. "path": "index",
  536. "style": {
  537. "navigationBarTitleText": "收银台"
  538. }
  539. },
  540. {
  541. "path": "result",
  542. "style": {
  543. "navigationBarTitleText": "支付结果"
  544. }
  545. },
  546. {
  547. "path": "recharge",
  548. "style": {
  549. "navigationBarTitleText": "充值余额"
  550. },
  551. "meta": {
  552. "auth": true,
  553. "sync": true,
  554. "title": "充值余额",
  555. "group": "支付"
  556. }
  557. },
  558. {
  559. "path": "recharge-log",
  560. "style": {
  561. "navigationBarTitleText": "充值记录"
  562. },
  563. "meta": {
  564. "auth": true,
  565. "sync": true,
  566. "title": "充值记录",
  567. "group": "支付"
  568. }
  569. },
  570. {
  571. "path": "withdraw",
  572. "style": {
  573. "navigationBarTitleText": "申请提现"
  574. },
  575. "meta": {
  576. "auth": true,
  577. "sync": true,
  578. "title": "申请提现",
  579. "group": "支付"
  580. }
  581. },
  582. {
  583. "path": "withdraw-log",
  584. "style": {
  585. "navigationBarTitleText": "提现记录"
  586. },
  587. "meta": {
  588. "auth": true,
  589. "sync": true,
  590. "title": "提现记录",
  591. "group": "支付"
  592. }
  593. }
  594. ]
  595. },
  596. {
  597. "root": "pages/activity",
  598. "pages": [
  599. {
  600. "path": "groupon/detail",
  601. "style": {
  602. "navigationBarTitleText": "拼团详情"
  603. }
  604. },
  605. {
  606. "path": "groupon/order",
  607. "style": {
  608. "navigationBarTitleText": "我的拼团",
  609. "enablePullDownRefresh": true
  610. },
  611. "meta": {
  612. "auth": true,
  613. "sync": true,
  614. "title": "拼团订单",
  615. "group": "营销活动"
  616. }
  617. },
  618. {
  619. "path": "index",
  620. "style": {
  621. "navigationBarTitleText": "营销商品"
  622. },
  623. "meta": {
  624. "sync": true,
  625. "title": "营销商品",
  626. "group": "营销活动"
  627. }
  628. },
  629. {
  630. "path": "groupon/list",
  631. "style": {
  632. "navigationBarTitleText": "拼团活动"
  633. },
  634. "meta": {
  635. "sync": true,
  636. "title": "拼团活动",
  637. "group": "营销活动"
  638. }
  639. },
  640. {
  641. "path": "seckill/list",
  642. "style": {
  643. "navigationBarTitleText": "秒杀活动"
  644. },
  645. "meta": {
  646. "sync": true,
  647. "title": "秒杀活动",
  648. "group": "营销活动"
  649. }
  650. }
  651. ]
  652. }
  653. ],
  654. "globalStyle": {
  655. "navigationBarTextStyle": "black",
  656. "navigationBarTitleText": "星品购",
  657. "navigationBarBackgroundColor": "#FFFFFF",
  658. "backgroundColor": "#FFFFFF",
  659. "navigationStyle": "custom"
  660. },
  661. "tabBar": {
  662. "list": [
  663. {
  664. "pagePath": "pages/index/index"
  665. },
  666. {
  667. "pagePath": "pages/index/cart"
  668. },
  669. {
  670. "pagePath": "pages/index/user"
  671. }
  672. ]
  673. }
  674. }