多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

692 lines
17 KiB

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