pages.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. // pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/tabbar/index/index",
  9. "style": {
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path": "pages/tabbar/category/index",
  15. "style": {
  16. "navigationBarTitleText": "分类"
  17. }
  18. },
  19. {
  20. "path": "pages/tabbar/cart/index",
  21. "style": {
  22. "navigationBarTitleText": "购物车"
  23. }
  24. },
  25. {
  26. "path": "pages/tabbar/user/index",
  27. "style": {
  28. "navigationBarTitleText": "我的",
  29. "backgroundColor": "#F8F8F8"
  30. }
  31. }
  32. ],
  33. "subpackages":[{
  34. "root":"pages_category_page1",
  35. "pages":[
  36. {
  37. "path": "discount/spikeList",
  38. "style": {
  39. "navigationBarTitleText": "秒杀专区",
  40. "navigationBarBackgroundColor": "#333333",
  41. "backgroundColor": "#333333",
  42. "navigationBarTextStyle": "white"
  43. }
  44. }, {
  45. "path": "discount/groupBuy",
  46. "style": {
  47. "navigationBarTitleText": "拼团专区",
  48. "navigationBarBackgroundColor": "#333333",
  49. "backgroundColor": "#333333",
  50. "navigationBarTextStyle": "white"
  51. }
  52. }
  53. ,{
  54. "path" : "discount/discount",
  55. "style" :
  56. {
  57. "navigationBarTitleText": "限时折扣专区",
  58. "navigationBarBackgroundColor": "#333333",
  59. "backgroundColor": "#333333",
  60. "navigationBarTextStyle": "white"
  61. }
  62. },
  63. {
  64. "path" : "discount/platformDiscount",
  65. "style" :
  66. {
  67. "navigationBarTitleText": "限时折扣专区",
  68. "navigationBarBackgroundColor": "#333333",
  69. "backgroundColor": "#333333",
  70. "navigationBarTextStyle": "white"
  71. }
  72. },{
  73. "path" : "memberCenter/activityList",
  74. "style" :
  75. {
  76. "navigationBarTitleText": "会员专区",
  77. "navigationBarBackgroundColor": "#333333",
  78. "backgroundColor": "#333333",
  79. "navigationBarTextStyle": "white"
  80. }
  81. },{
  82. "path" : "goodsModule/combination",
  83. "style" :
  84. {
  85. "navigationBarTitleText": "组合优惠",
  86. "navigationBarBackgroundColor": "#333333",
  87. "backgroundColor": "#333333",
  88. "navigationBarTextStyle": "white"
  89. }
  90. },
  91. {
  92. "path": "activity",
  93. "style": {
  94. "navigationBarTitleText": "热门推荐",
  95. "enablePullDownRefresh": true
  96. }
  97. },
  98. {
  99. "path": "search/index/index",
  100. "style": {
  101. "navigationBarTitleText": "搜索"
  102. }
  103. }, {
  104. "path": "store/index",
  105. "style": {
  106. "navigationStyle": "custom",
  107. "navigationBarBackgroundColor": "#333333",
  108. "backgroundColor": "#333333",
  109. "navigationBarTextStyle": "white"
  110. }
  111. }, {
  112. "path": "goodsModule/goodsList",
  113. "style": {
  114. "navigationBarTitleText": "商品列表"
  115. }
  116. }, {
  117. "path": "goodsModule/couponShopList",
  118. "style": {
  119. "navigationBarTitleText": "优惠券可用商品列表"
  120. }
  121. }, {
  122. "path": "goodsModule/goodsDetails",
  123. "style": {
  124. "navigationBarTitleText": "详情"
  125. }
  126. }, {
  127. "path": "goodsModule/qADetail",
  128. "style": {
  129. "navigationBarTitleText": "问答详情"
  130. }
  131. }, {
  132. "path": "goodsModule/answerList",
  133. "style": {
  134. "navigationBarTitleText": "全部问答"
  135. }
  136. }, {
  137. "path": "goodsModule/putQuestions",
  138. "style": {
  139. "navigationBarTitleText": "提问"
  140. }
  141. }, {
  142. "path": "goodsModule/userEvaluate",
  143. "style": {
  144. "navigationBarTitleText": "我的评价"
  145. }
  146. }, {
  147. "path": "goodsModule/evaSuccessful",
  148. "style": {
  149. "navigationBarTitleText": "评价成功"
  150. }
  151. },{
  152. "path": "goodsModule/evaluateDetails",
  153. "style": {
  154. "navigationBarTitleText": "评价详情"
  155. }
  156. }, {
  157. "path": "goodsModule/evaluateList",
  158. "style": {
  159. "navigationBarTitleText": "宝贝评价"
  160. }
  161. }, {
  162. "path": "goodsModule/addEvaluate",
  163. "style": {
  164. "navigationBarTitleText": "追加评价"
  165. }
  166. }, {
  167. "path": "goodsModule/evaluate",
  168. "style": {
  169. "navigationBarTitleText": "评价"
  170. }
  171. },
  172. {
  173. "path": "orderModule/index",
  174. "style": {
  175. "navigationBarTitleText": "订单中心"
  176. }
  177. }, {
  178. "path": "orderModule/orderConfirm",
  179. "style": {
  180. "navigationBarTitleText": "购买宝贝",
  181. "navigationBarBackgroundColor": "#333333",
  182. "backgroundColor": "#333333",
  183. "navigationBarTextStyle": "white"
  184. }
  185. }, {
  186. "path": "orderModule/orderDetails",
  187. "style": {
  188. "navigationBarTitleText": "订单详情",
  189. "navigationBarBackgroundColor": "#333333",
  190. "backgroundColor": "#333333",
  191. "navigationBarTextStyle": "white"
  192. }
  193. }, {
  194. "path": "orderModule/afterSaleApplyRefund",
  195. "style": {
  196. "navigationBarTitleText": "申请退款"
  197. }
  198. }, {
  199. "path": "orderModule/afterSaleApplyRetund",
  200. "style": {
  201. "navigationBarTitleText": "申请退货"
  202. }
  203. }, {
  204. "path": "orderModule/afterSaleApply",
  205. "style": {
  206. "navigationBarTitleText": "选择商品",
  207. "navigationBarBackgroundColor": "#333333",
  208. "backgroundColor": "#333333",
  209. "navigationBarTextStyle": "white"
  210. }
  211. }, {
  212. "path": "orderModule/platformJoin",
  213. "style": {
  214. "navigationBarTitleText": "平台介入"
  215. }
  216. }, {
  217. "path": "orderModule/paySuccessful",
  218. "style": {
  219. "navigationStyle": "custom",
  220. "navigationBarTitleText": "支付成功"
  221. }
  222. }, {
  223. "path": "orderModule/addLogistics",
  224. "style": {
  225. "navigationBarTitleText": "填写退货物流"
  226. }
  227. }, {
  228. "path": "orderModule/refundDetails",
  229. "style": {
  230. "navigationBarTitleText": "退款详情",
  231. "navigationBarBackgroundColor": "#333333",
  232. "backgroundColor": "#333333",
  233. "navigationBarTextStyle": "white"
  234. }
  235. }, {
  236. "path": "orderModule/Intervene",
  237. "style": {
  238. "navigationBarTitleText": "平台介入"
  239. }
  240. }, {
  241. "path": "orderModule/returnDetails",
  242. "style": {
  243. "navigationBarTitleText": "退货详情",
  244. "navigationBarBackgroundColor": "#333333",
  245. "backgroundColor": "#333333",
  246. "navigationBarTextStyle": "white"
  247. }
  248. }, {
  249. "path": "orderModule/afterSale",
  250. "style": {
  251. "navigationBarTitleText": "我的售后"
  252. }
  253. }, {
  254. "path": "distributionModule/index",
  255. "style": {
  256. "navigationBarTitleText": "分销中心",
  257. "navigationBarBackgroundColor": "#333333",
  258. "backgroundColor": "#333333",
  259. "navigationBarTextStyle": "white"
  260. }
  261. }, {
  262. "path": "distributionModule/recruit",
  263. "style": {
  264. "navigationBarTitleText": "分销员招募令",
  265. "navigationBarBackgroundColor": "#333333",
  266. "backgroundColor": "#333333",
  267. "navigationBarTextStyle": "white"
  268. }
  269. }, {
  270. "path": "distributionModule/salesIndex",
  271. "style": {
  272. "navigationBarTitleText": "分销中心",
  273. "navigationBarBackgroundColor": "#333333",
  274. "backgroundColor": "#333333",
  275. "navigationBarTextStyle": "white"
  276. }
  277. }, {
  278. "path": "distributionModule/shareProduct",
  279. "style": {
  280. "navigationBarTitleText": "分享"
  281. }
  282. },{
  283. "path": "distributionModule/totalPersonnel",
  284. "style": {
  285. "navigationBarTitleText": "累计分销员",
  286. "navigationBarBackgroundColor": "#333333",
  287. "backgroundColor": "#333333",
  288. "navigationBarTextStyle": "white"
  289. }
  290. }, {
  291. "path": "distributionModule/totalAward",
  292. "style": {
  293. "navigationBarTitleText": "累计奖励",
  294. "navigationBarBackgroundColor": "#333333",
  295. "backgroundColor": "#333333",
  296. "navigationBarTextStyle": "white"
  297. }
  298. }, {
  299. "path": "distributionModule/totalClient",
  300. "style": {
  301. "navigationBarTitleText": "累计客户",
  302. "navigationBarBackgroundColor": "#333333",
  303. "backgroundColor": "#333333",
  304. "navigationBarTextStyle": "white"
  305. }
  306. }, {
  307. "path": "distributionModule/unliquidated",
  308. "style": {
  309. "navigationBarTitleText": "未结算奖励",
  310. "navigationBarBackgroundColor": "#333333",
  311. "backgroundColor": "#333333",
  312. "navigationBarTextStyle": "white"
  313. }
  314. }, {
  315. "path": "distributionModule/distributionOrder",
  316. "style": {
  317. "navigationBarTitleText": "我的分销订单",
  318. "navigationBarBackgroundColor": "#333333",
  319. "backgroundColor": "#333333",
  320. "navigationBarTextStyle": "white"
  321. }
  322. }, {
  323. "path": "distributionModule/promotion",
  324. "style": {
  325. "navigationBarTitleText": "推广店铺"
  326. }
  327. },
  328. {
  329. "path": "distributionModule/commodity",
  330. "style": {
  331. "navigationBarTitleText": "推广商品"
  332. }
  333. },
  334. {
  335. "path": "distributionModule/invite",
  336. "style": {
  337. "navigationBarTitleText": "邀请下级"
  338. }
  339. }, {
  340. "path": "orderModule/logisticsInfo",
  341. "style": {
  342. "navigationBarTitleText": "物流信息"
  343. }
  344. }, {
  345. "path": "homeModule/special",
  346. "style": {
  347. "navigationBarTitleText": "专题分类"
  348. }
  349. },
  350. {
  351. "path" : "goodsModule/invitePoster",
  352. "style" :
  353. {
  354. "navigationBarTitleText": "生成邀请海报"
  355. // "enablePullDownRefresh": false
  356. }
  357. },
  358. {
  359. "path" : "goodsModule/inviteSpell",
  360. "style" :
  361. {
  362. "navigationBarTitleText": "邀请好友拼单",
  363. "enablePullDownRefresh": false,
  364. "navigationBarBackgroundColor": "#333333",
  365. "backgroundColor": "#333333",
  366. "navigationBarTextStyle": "white"
  367. }
  368. },
  369. {
  370. "path" : "linkOthers/index",
  371. "style" :
  372. {
  373. "navigationBarTitleText": "商家",
  374. "enablePullDownRefresh": false
  375. }
  376. },
  377. {
  378. "path" : "memberCenter/index",
  379. "style" :
  380. {
  381. "navigationBarTitleText": "会员中心",
  382. "navigationBarBackgroundColor": "#333333",
  383. "backgroundColor": "#333333",
  384. "navigationBarTextStyle": "white"
  385. }
  386. },
  387. {
  388. "path": "memberCenter/memberSign",
  389. "style": {
  390. "navigationBarTitleText": "会员签到",
  391. "navigationBarBackgroundColor": "#333333",
  392. "backgroundColor": "#333333",
  393. "navigationBarTextStyle": "white",
  394. "enablePullDownRefresh": true
  395. }
  396. }
  397. ]
  398. },
  399. {
  400. "root":"pages_category_page2",
  401. "name": "pages_category_page2",
  402. "pages":[
  403. {
  404. "path": "userModule/accountLogin",
  405. "style": {
  406. "navigationBarTitleText": "登录"
  407. }
  408. },
  409. {
  410. "path": "userModule/addAddress",
  411. "style": {
  412. "navigationBarTitleText": "地址管理"
  413. }
  414. },
  415. {
  416. "path": "userModule/addBankcard",
  417. "style": {
  418. "navigationBarTitleText": "银行卡"
  419. }
  420. },
  421. {
  422. "path": "userModule/address",
  423. "style": {
  424. "navigationBarTitleText": "地址管理"
  425. }
  426. },
  427. {
  428. "path": "userModule/bankcard",
  429. "style": {
  430. "navigationBarTitleText": "银行卡",
  431. "navigationBarBackgroundColor": "#333333",
  432. "backgroundColor": "#333333",
  433. "navigationBarTextStyle": "white"
  434. }
  435. },
  436. {
  437. "path" : "userModule/collection",
  438. "style" :
  439. {
  440. "navigationBarTitleText": "我的收藏",
  441. "enablePullDownRefresh": false,
  442. "app-plus":{
  443. "bounce":"none"
  444. }
  445. }
  446. }
  447. ,{
  448. "path" : "userModule/footprintList",
  449. "style" :
  450. {
  451. "navigationBarTitleText": "浏览足迹",
  452. "enablePullDownRefresh": false,
  453. "app-plus":{
  454. "bounce":"none"
  455. }
  456. }
  457. }
  458. ,{
  459. "path" : "userModule/questionList",
  460. "style" :
  461. {
  462. "navigationBarTitleText": "我的问答",
  463. "enablePullDownRefresh": false,
  464. "app-plus":{
  465. "bounce":"none"
  466. }
  467. }
  468. },
  469. {
  470. "path": "userModule/personalDetails",
  471. "style": {
  472. "navigationBarTitleText": "个人信息"
  473. }
  474. }, {
  475. "path": "userModule/coupon",
  476. "style": {
  477. "navigationBarTitleText": "我的卡券"
  478. }
  479. },
  480. {
  481. "path": "userModule/login",
  482. "style": {
  483. "navigationStyle": "custom",
  484. "navigationBarTitleText": "登录"
  485. }
  486. },
  487. {
  488. "path": "userModule/protocol",
  489. "style": {
  490. "navigationBarTitleText": "《cereshop》商城用户协议"
  491. }
  492. }, {
  493. "path": "userModule/register",
  494. "style": {
  495. "navigationBarTitleText": "注册"
  496. }
  497. },
  498. {
  499. "path": "userModule/memberAccount",
  500. "style": {
  501. "navigationBarTitleText": "我的账户",
  502. "navigationBarBackgroundColor": "#333333",
  503. "backgroundColor": "#333333",
  504. "navigationBarTextStyle": "white"
  505. }
  506. }, {
  507. "path": "userModule/withdraw",
  508. "style": {
  509. "navigationBarTitleText": "提现"
  510. }
  511. },
  512. // {
  513. // "path": "userModule/u-city-select",
  514. // "style": {}
  515. // }, {
  516. // "path": "userModule/u-bank-select",
  517. // "style": {}
  518. // },
  519. {
  520. "path": "userModule/messageCenter",
  521. "style": {
  522. "navigationBarTitleText": "消息中心"
  523. }
  524. }, {
  525. "path": "userModule/messageDetail",
  526. "style": {
  527. "navigationBarTitleText": "公告详情"
  528. }
  529. },
  530. {
  531. "path" : "userModule/bindPhone",
  532. "style" :
  533. {
  534. "navigationBarTitleText": "绑定手机号",
  535. "enablePullDownRefresh": false
  536. }
  537. },
  538. {
  539. "path" : "userModule/mobilePhone",
  540. "style" :
  541. {
  542. "navigationBarTitleText": "手机号授权",
  543. "enablePullDownRefresh": false
  544. }
  545. }
  546. ]
  547. }],
  548. "globalStyle": {
  549. "navigationBarTextStyle": "black",
  550. "navigationBarTitleText": "cereshop",
  551. "navigationBarBackgroundColor": "#fff",
  552. "backgroundColor": "#F8F8F8"
  553. },
  554. "tabBar": {
  555. "borderStyle": "black",
  556. "backgroundColor": "#fff",
  557. "color": "#CCCCCC",
  558. "selectedColor": "#333333",
  559. "list": [{
  560. "pagePath": "pages/tabbar/index/index",
  561. "iconPath": "static/img/tabbar/home.png",
  562. "selectedIconPath": "static/img/tabbar/homeactive.png",
  563. "text": "首页"
  564. },
  565. {
  566. "pagePath": "pages/tabbar/category/index",
  567. "iconPath": "static/img/tabbar/fenlei.png",
  568. "selectedIconPath": "static/img/tabbar/fenleiactive.png",
  569. "text": "分类"
  570. },
  571. {
  572. "pagePath": "pages/tabbar/cart/index",
  573. "iconPath": "static/img/tabbar/gouwuche.png",
  574. "selectedIconPath": "static/img/tabbar/gouwucheactive.png",
  575. "text": "购物车"
  576. },
  577. {
  578. "pagePath": "pages/tabbar/user/index",
  579. "iconPath": "static/img/tabbar/wode.png",
  580. "selectedIconPath": "static/img/tabbar/wodeactive.png",
  581. "text": "我的",
  582. "navigationBarBackgroundColor": "#333333",
  583. "backgroundColor": "#333333",
  584. "navigationBarTextStyle": "white"
  585. }
  586. ]
  587. },
  588. "condition" : { //模式配置,仅开发期间生效
  589. "current": 0, //当前激活的模式(list 的索引项)
  590. "list": [
  591. {
  592. "name": "", //模式名称
  593. "path": "", //启动页面,必选
  594. "query": "" //启动参数,在页面的onLoad函数里面得到
  595. }
  596. ]
  597. }
  598. }