多租户商城-商户小程序端
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.

698 lines
18 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
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
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": "%page.classify%"
  18. }
  19. },
  20. {
  21. "path": "pages/tabbar/cart/index",
  22. "style": {
  23. "navigationBarTitleText": "%page.shoppingcart%"
  24. }
  25. },
  26. {
  27. "path": "pages/tabbar/user/index",
  28. "style": {
  29. "navigationBarTitleText": "%page.my%",
  30. "backgroundColor": "#F8F8F8"
  31. }
  32. }
  33. ],
  34. "subpackages": [{
  35. "root": "pages_category_page1",
  36. "pages": [{
  37. "path": "discount/spikeList",
  38. "style": {
  39. "navigationBarTitleText": "%page.secondkillzone%",
  40. "navigationBarBackgroundColor": "#333333",
  41. "backgroundColor": "#333333",
  42. "navigationBarTextStyle": "white"
  43. }
  44. }, {
  45. "path": "discount/groupBuy",
  46. "style": {
  47. "navigationBarTitleText": "%page.groupzone%",
  48. "navigationBarBackgroundColor": "#333333",
  49. "backgroundColor": "#333333",
  50. "navigationBarTextStyle": "white"
  51. }
  52. }, {
  53. "path": "discount/discount",
  54. "style": {
  55. "navigationBarTitleText": "%page.limitedtimediscountsection%",
  56. "navigationBarBackgroundColor": "#333333",
  57. "backgroundColor": "#333333",
  58. "navigationBarTextStyle": "white"
  59. }
  60. },
  61. {
  62. "path": "discount/platformDiscount",
  63. "style": {
  64. "navigationBarTitleText": "%page.limitedtimediscountsection%",
  65. "navigationBarBackgroundColor": "#333333",
  66. "backgroundColor": "#333333",
  67. "navigationBarTextStyle": "white"
  68. }
  69. }, {
  70. "path": "memberCenter/activityList",
  71. "style": {
  72. "navigationBarTitleText": "%page.memberzone%",
  73. "navigationBarBackgroundColor": "#333333",
  74. "backgroundColor": "#333333",
  75. "navigationBarTextStyle": "white"
  76. }
  77. }, {
  78. "path": "integral/index",
  79. "style": {
  80. "navigationBarTitleText": "%page.myintegral%",
  81. "navigationBarBackgroundColor": "#333333",
  82. "backgroundColor": "#333333",
  83. "navigationBarTextStyle": "white"
  84. }
  85. }, {
  86. "path": "integral/exchangeDetail",
  87. "style": {
  88. "navigationBarTitleText": "%page.pointexchange%",
  89. "navigationBarBackgroundColor": "#333333",
  90. "backgroundColor": "#333333",
  91. "navigationBarTextStyle": "white"
  92. }
  93. }, {
  94. "path": "integral/sign",
  95. "style": {
  96. "navigationBarTitleText": "%page.signintoearnpoints%",
  97. "navigationBarBackgroundColor": "#333333",
  98. "backgroundColor": "#333333",
  99. "navigationBarTextStyle": "white"
  100. }
  101. }, {
  102. "path": "coupon/list",
  103. "style": {
  104. "navigationBarTitleText": "%page.coupon%"
  105. }
  106. }, {
  107. "path": "coupon/product",
  108. "style": {
  109. "navigationBarTitleText": "%page.availablegoods%"
  110. }
  111. }, {
  112. "path": "goodsModule/combination",
  113. "style": {
  114. "navigationBarTitleText": "%page.combinationpreference%",
  115. "navigationBarBackgroundColor": "#333333",
  116. "backgroundColor": "#333333",
  117. "navigationBarTextStyle": "white"
  118. }
  119. },
  120. {
  121. "path": "activity",
  122. "style": {
  123. "navigationBarTitleText": "%page.hotrecommendation%",
  124. "enablePullDownRefresh": true
  125. }
  126. },
  127. {
  128. "path": "search/index/index",
  129. "style": {
  130. "navigationBarTitleText": "%page.search%"
  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": "%page.goodslist%"
  144. }
  145. }, {
  146. "path": "goodsModule/canvasGoods",
  147. "style": {
  148. "navigationBarTitleText": "%page.goodslist%"
  149. }
  150. }, {
  151. "path": "goodsModule/couponShopList",
  152. "style": {
  153. "navigationBarTitleText": "%page.couponlistofavailableitems%"
  154. }
  155. }, {
  156. "path": "goodsModule/goodsDetails",
  157. "style": {
  158. "navigationBarTitleText": "%page.goodsdetail%"
  159. }
  160. }, {
  161. "path": "goodsModule/qADetail",
  162. "style": {
  163. "navigationBarTitleText": "%page.qadetail%"
  164. }
  165. }, {
  166. "path": "goodsModule/answerList",
  167. "style": {
  168. "navigationBarTitleText": "%page.allquestionsandanswers%"
  169. }
  170. }, {
  171. "path": "goodsModule/putQuestions",
  172. "style": {
  173. "navigationBarTitleText": "%page.ask%"
  174. }
  175. }, {
  176. "path": "goodsModule/userEvaluate",
  177. "style": {
  178. "navigationBarTitleText": "%page.myassessment%"
  179. }
  180. }, {
  181. "path": "goodsModule/evaSuccessful",
  182. "style": {
  183. "navigationBarTitleText": "%page.evaluatesuccess%"
  184. }
  185. }, {
  186. "path": "goodsModule/evaluateDetails",
  187. "style": {
  188. "navigationBarTitleText": "%page.evaluationdetails%"
  189. }
  190. }, {
  191. "path": "goodsModule/evaluateList",
  192. "style": {
  193. "navigationBarTitleText": "%page.goodsevaluation%"
  194. }
  195. }, {
  196. "path": "goodsModule/addEvaluate",
  197. "style": {
  198. "navigationBarTitleText": "%page.additionalevaluation%"
  199. }
  200. }, {
  201. "path": "goodsModule/evaluate",
  202. "style": {
  203. "navigationBarTitleText": "%page.evaluate%"
  204. }
  205. },
  206. {
  207. "path": "orderModule/index",
  208. "style": {
  209. "navigationBarTitleText": "%page.ordercenter%"
  210. }
  211. }, {
  212. "path": "orderModule/orderConfirm",
  213. "style": {
  214. "navigationBarTitleText": "%page.purchasegoods%",
  215. "navigationBarBackgroundColor": "#333333",
  216. "backgroundColor": "#333333",
  217. "navigationBarTextStyle": "white"
  218. }
  219. }, {
  220. "path": "orderModule/orderDetails",
  221. "style": {
  222. "navigationBarTitleText": "%page.orderdetail%",
  223. "navigationBarBackgroundColor": "#333333",
  224. "backgroundColor": "#333333",
  225. "navigationBarTextStyle": "white"
  226. }
  227. }, {
  228. "path": "orderModule/afterSaleApplyRefund",
  229. "style": {
  230. "navigationBarTitleText": "%page.applyforarefund%"
  231. }
  232. }, {
  233. "path": "orderModule/afterSaleApplyRetund",
  234. "style": {
  235. "navigationBarTitleText": "%page.applyforreturnofgoods%"
  236. }
  237. }, {
  238. "path": "orderModule/afterSaleApply",
  239. "style": {
  240. "navigationBarTitleText": "%page.selectgoods%",
  241. "navigationBarBackgroundColor": "#333333",
  242. "backgroundColor": "#333333",
  243. "navigationBarTextStyle": "white"
  244. }
  245. }, {
  246. "path": "orderModule/platformJoin",
  247. "style": {
  248. "navigationBarTitleText": "%page.platformintervention%"
  249. }
  250. }, {
  251. "path": "orderModule/paySuccessful",
  252. "style": {
  253. "navigationStyle": "custom",
  254. "navigationBarTitleText": "%page.paymentsuccess%"
  255. }
  256. }, {
  257. "path": "orderModule/addLogistics",
  258. "style": {
  259. "navigationBarTitleText": "%page.fillinthereturnlogistics%"
  260. }
  261. }, {
  262. "path": "orderModule/Intervene",
  263. "style": {
  264. "navigationBarTitleText": "%page.platformintervention%"
  265. }
  266. },
  267. {
  268. "path": "distributionModule/index",
  269. "style": {
  270. "navigationBarTitleText": "%page.distributioncenter%",
  271. "navigationBarBackgroundColor": "#333333",
  272. "backgroundColor": "#333333",
  273. "navigationBarTextStyle": "white"
  274. }
  275. }, {
  276. "path": "distributionModule/recruit",
  277. "style": {
  278. "navigationBarTitleText": "%page.distributionclerkrecruitmentorder%",
  279. "navigationBarBackgroundColor": "#333333",
  280. "backgroundColor": "#333333",
  281. "navigationBarTextStyle": "white"
  282. }
  283. }, {
  284. "path": "distributionModule/salesIndex",
  285. "style": {
  286. "navigationBarTitleText": "%page.distributioncenter%",
  287. "navigationBarBackgroundColor": "#333333",
  288. "backgroundColor": "#333333",
  289. "navigationBarTextStyle": "white"
  290. }
  291. }, {
  292. "path": "distributionModule/shareProduct",
  293. "style": {
  294. "navigationBarTitleText": "%page.share%"
  295. }
  296. }, {
  297. "path": "distributionModule/totalPersonnel",
  298. "style": {
  299. "navigationBarTitleText": "%page.cumulativedistributor%",
  300. "navigationBarBackgroundColor": "#333333",
  301. "backgroundColor": "#333333",
  302. "navigationBarTextStyle": "white"
  303. }
  304. }, {
  305. "path": "distributionModule/totalAward",
  306. "style": {
  307. "navigationBarTitleText": "%page.cumulativereward%",
  308. "navigationBarBackgroundColor": "#333333",
  309. "backgroundColor": "#333333",
  310. "navigationBarTextStyle": "white"
  311. }
  312. }, {
  313. "path": "distributionModule/totalClient",
  314. "style": {
  315. "navigationBarTitleText": "%page.cumulativecustomer%",
  316. "navigationBarBackgroundColor": "#333333",
  317. "backgroundColor": "#333333",
  318. "navigationBarTextStyle": "white"
  319. }
  320. }, {
  321. "path": "distributionModule/unliquidated",
  322. "style": {
  323. "navigationBarTitleText": "%page.unbilledincentive%",
  324. "navigationBarBackgroundColor": "#333333",
  325. "backgroundColor": "#333333",
  326. "navigationBarTextStyle": "white"
  327. }
  328. }, {
  329. "path": "distributionModule/promotion",
  330. "style": {
  331. "navigationBarTitleText": "%page.promotionshop%",
  332. "navigationBarBackgroundColor": "#333333",
  333. "backgroundColor": "#333333",
  334. "navigationBarTextStyle": "white"
  335. }
  336. },
  337. {
  338. "path": "distributionModule/commodity",
  339. "style": {
  340. "navigationBarTitleText": "%page.promotegoods%"
  341. }
  342. },
  343. {
  344. "path": "distributionModule/distributionOrder",
  345. "style": {
  346. "navigationBarTitleText": "%page.mydistributionorder%"
  347. }
  348. },
  349. {
  350. "path": "distributionModule/invite",
  351. "style": {
  352. "navigationBarTitleText": "%page.invitesubordinates%"
  353. }
  354. }, {
  355. "path": "orderModule/logisticsInfo",
  356. "style": {
  357. "navigationBarTitleText": "%page.logisticsinformation%"
  358. }
  359. }, {
  360. "path": "homeModule/special",
  361. "style": {
  362. "navigationBarTitleText": "%page.thematicclassification%"
  363. }
  364. },
  365. {
  366. "path": "goodsModule/invitePoster",
  367. "style": {
  368. "navigationBarTitleText": "%page.generateinvitationposters%"
  369. }
  370. },
  371. {
  372. "path": "goodsModule/inviteSpell",
  373. "style": {
  374. "navigationBarTitleText": "%page.invitefriendstoorder%",
  375. "enablePullDownRefresh": false,
  376. "navigationBarBackgroundColor": "#333333",
  377. "backgroundColor": "#333333",
  378. "navigationBarTextStyle": "white"
  379. }
  380. },
  381. {
  382. "path": "linkOthers/index",
  383. "style": {
  384. "navigationBarTitleText": "%page.business%",
  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": "%page.membercheckin%",
  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": "%page.login%"
  414. }
  415. },
  416. {
  417. "path": "userModule/addAddress",
  418. "style": {
  419. "navigationBarTitleText": "%page.addressmanager%"
  420. }
  421. },
  422. {
  423. "path": "userModule/language",
  424. "style": {
  425. "navigationBarTitleText": "%page.language%"
  426. }
  427. },
  428. {
  429. "path": "userModule/addBankcard",
  430. "style": {
  431. "navigationBarTitleText": "%page.bankcard%"
  432. }
  433. },
  434. {
  435. "path": "userModule/address",
  436. "style": {
  437. "navigationBarTitleText": "%page.addressmanager%"
  438. }
  439. },
  440. {
  441. "path": "userModule/bankcard",
  442. "style": {
  443. "navigationBarTitleText": "%page.bankcard%",
  444. "navigationBarBackgroundColor": "#333333",
  445. "backgroundColor": "#333333",
  446. "navigationBarTextStyle": "white"
  447. }
  448. },
  449. {
  450. "path": "userModule/collection",
  451. "style": {
  452. "navigationBarTitleText": "%page.mycollection%",
  453. "enablePullDownRefresh": false,
  454. "app-plus": {
  455. "bounce": "none"
  456. }
  457. }
  458. },
  459. {
  460. "path": "userModule/footprintList",
  461. "style": {
  462. "navigationBarTitleText": "%page.browsingfootprint%",
  463. "enablePullDownRefresh": false,
  464. "app-plus": {
  465. "bounce": "none"
  466. }
  467. }
  468. },
  469. {
  470. "path": "userModule/questionList",
  471. "style": {
  472. "navigationBarTitleText": "%page.myquestionsandanswers%",
  473. "enablePullDownRefresh": false,
  474. "app-plus": {
  475. "bounce": "none"
  476. }
  477. }
  478. },
  479. {
  480. "path": "userModule/personalDetails",
  481. "style": {
  482. "navigationBarTitleText": "%page.personalinformation%"
  483. }
  484. }, {
  485. "path": "userModule/coupon",
  486. "style": {
  487. "navigationBarTitleText": "%page.mycardcoupon%"
  488. }
  489. },
  490. {
  491. "path": "orderModule/afterSale",
  492. "style": {
  493. "navigationBarTitleText": "%page.myaftersales%"
  494. }
  495. },
  496. {
  497. "path": "orderModule/returnDetails",
  498. "style": {
  499. "navigationBarTitleText": "%page.returndetails%",
  500. "navigationBarBackgroundColor": "#333333",
  501. "backgroundColor": "#333333",
  502. "navigationBarTextStyle": "white"
  503. }
  504. },
  505. {
  506. "path": "orderModule/refundDetails",
  507. "style": {
  508. "navigationBarTitleText": "%page.refunddetails%",
  509. "navigationBarBackgroundColor": "#333333",
  510. "backgroundColor": "#333333",
  511. "navigationBarTextStyle": "white"
  512. }
  513. },
  514. {
  515. "path": "userModule/login",
  516. "style": {
  517. "navigationStyle": "custom",
  518. "navigationBarTitleText": "%page.login%"
  519. }
  520. },
  521. {
  522. "path": "userModule/protocol",
  523. "style": {
  524. "navigationBarTitleText": "%page.malluseragreement%"
  525. }
  526. }, {
  527. "path": "userModule/register",
  528. "style": {
  529. "navigationBarTitleText": "%page.register%"
  530. }
  531. },
  532. {
  533. "path": "userModule/memberAccount",
  534. "style": {
  535. "navigationBarTitleText": "%page.myaccount%",
  536. "navigationBarBackgroundColor": "#333333",
  537. "backgroundColor": "#333333",
  538. "navigationBarTextStyle": "white"
  539. }
  540. },
  541. // {
  542. // "path": "distributionModule/distributionOrder",
  543. // "style": {
  544. // "navigationBarTitleText": "我的分销订单",
  545. // "navigationBarBackgroundColor": "#333333",
  546. // "backgroundColor": "#333333",
  547. // "navigationBarTextStyle": "white"
  548. // }
  549. // },
  550. {
  551. "path": "userModule/withdraw",
  552. "style": {
  553. "navigationBarTitleText": "%page.withdraw%"
  554. }
  555. },
  556. // {
  557. // "path": "userModule/u-city-select",
  558. // "style": {}
  559. // }, {
  560. // "path": "userModule/u-bank-select",
  561. // "style": {}
  562. // },
  563. {
  564. "path": "userModule/messageCenter",
  565. "style": {
  566. "navigationBarTitleText": "%page.messagecenter%"
  567. }
  568. }, {
  569. "path": "userModule/messageDetail",
  570. "style": {
  571. "navigationBarTitleText": "%page.announcementdetails%"
  572. }
  573. },
  574. {
  575. "path": "userModule/bindPhone",
  576. "style": {
  577. "navigationBarTitleText": "%page.bingphone%",
  578. "enablePullDownRefresh": false
  579. }
  580. },
  581. {
  582. "path": "userModule/mobilePhone",
  583. "style": {
  584. "navigationBarTitleText": "%page.mobilenumberauthorization%",
  585. "enablePullDownRefresh": false
  586. }
  587. },
  588. {
  589. "path": "livePage/index",
  590. "style": {
  591. "navigationBarTitleText": "%page.liverecommendation%",
  592. "navigationBarBackgroundColor": "#333333",
  593. "backgroundColor": "#333333",
  594. "navigationBarTextStyle": "white",
  595. "enablePullDownRefresh": true
  596. }
  597. },
  598. {
  599. "path": "channelCoupon/index",
  600. "style": {
  601. "navigationBarTitleText": "",
  602. "enablePullDownRefresh": false
  603. }
  604. },
  605. {
  606. "path": "userModule/unsubscribe",
  607. "style": {
  608. "navigationBarTitleText": "%page.accountcancellation%",
  609. "navigationBarBackgroundColor": "#333333",
  610. "backgroundColor": "#333333",
  611. "navigationBarTextStyle": "white"
  612. }
  613. },
  614. {
  615. "path": "userModule/unsubscribeCode",
  616. "style": {
  617. "navigationBarTitleText": "%page.cancelaccountmobileauthentication%"
  618. }
  619. }
  620. ]
  621. }
  622. ],
  623. // https://uniapp.dcloud.io/collocation/pages?id=subpackages
  624. "preloadRule": {
  625. "pages_category_page1/search/index/index": {
  626. "network": "all",
  627. "packages": ["pages_category_page1"]
  628. },
  629. "pages_category_page1/goodsModule/inviteSpell": {
  630. "network": "all",
  631. "packages": ["pages_category_page1"]
  632. },
  633. "pages_category_page1/goodsModule/invitePoster": {
  634. "network": "all",
  635. "packages": ["pages_category_page1"]
  636. },
  637. "pages_category_page1/orderModule/orderDetails": {
  638. "network": "all",
  639. "packages": ["pages_category_page1"]
  640. }
  641. },
  642. "globalStyle": {
  643. "navigationBarTextStyle": "black",
  644. "navigationBarTitleText": "Thee",
  645. "navigationBarBackgroundColor": "#fff",
  646. "backgroundColor": "#F8F8F8",
  647. "mp-weixin": {
  648. "usingComponents": {
  649. "send-coupon": "plugin://sendCoupon/send-coupon"
  650. }
  651. }
  652. },
  653. "tabBar": {
  654. "borderStyle": "black",
  655. "backgroundColor": "#fff",
  656. "color": "#CCCCCC",
  657. "selectedColor": "#333333",
  658. "list": [{
  659. "pagePath": "pages/tabbar/index/index",
  660. "iconPath": "static/images/tabbar/home.png",
  661. "selectedIconPath": "static/images/tabbar/homeactive.png",
  662. "text": "%page.index%"
  663. },
  664. {
  665. "pagePath": "pages/tabbar/category/index",
  666. "iconPath": "static/images/tabbar/fenlei.png",
  667. "selectedIconPath": "static/images/tabbar/fenleiactive.png",
  668. "text": "%page.classify%"
  669. },
  670. {
  671. "pagePath": "pages/tabbar/cart/index",
  672. "iconPath": "static/images/tabbar/gouwuche.png",
  673. "selectedIconPath": "static/images/tabbar/gouwucheactive.png",
  674. "text": "%page.shoppingcart%"
  675. },
  676. {
  677. "pagePath": "pages/tabbar/user/index",
  678. "iconPath": "static/images/tabbar/wode.png",
  679. "selectedIconPath": "static/images/tabbar/wodeactive.png",
  680. "text": "%page.my%",
  681. "navigationBarBackgroundColor": "#333333",
  682. "backgroundColor": "#333333",
  683. "navigationBarTextStyle": "white"
  684. }
  685. ]
  686. },
  687. "condition": { //
  688. "current": 0, //(list )
  689. "list": [{
  690. "name": "", //
  691. "path": "", //
  692. "query": "" //onLoad
  693. }]
  694. }
  695. }