app 3.js 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const sheep_index = require("./sheep/index.js");
  5. const sheep_store_index = require("./sheep/store/index.js");
  6. require("./sheep/url/index.js");
  7. require("./sheep/config/index.js");
  8. require("./sheep/router/index.js");
  9. require("./sheep/hooks/useModal.js");
  10. require("./sheep/helper/index.js");
  11. require("./sheep/helper/test.js");
  12. require("./sheep/helper/digit.js");
  13. require("./sheep/api/member/auth.js");
  14. require("./sheep/request/index.js");
  15. require("./sheep/platform/index.js");
  16. require("./sheep/platform/provider/wechat/index.js");
  17. require("./sheep/platform/provider/wechat/miniProgram.js");
  18. require("./sheep/api/member/social.js");
  19. require("./sheep/api/member/user.js");
  20. require("./sheep/platform/provider/apple/index.js");
  21. require("./sheep/platform/share.js");
  22. require("./sheep/platform/pay.js");
  23. require("./sheep/api/pay/order.js");
  24. require("./sheep/helper/throttle.js");
  25. require("./sheep/config/zIndex.js");
  26. require("./sheep/store/app.js");
  27. require("./sheep/api/promotion/diy.js");
  28. require("./sheep/store/user.js");
  29. require("./sheep/store/cart.js");
  30. require("./sheep/api/trade/cart.js");
  31. require("./sheep/api/pay/wallet.js");
  32. require("./sheep/api/trade/order.js");
  33. require("./sheep/api/promotion/coupon.js");
  34. require("./sheep/store/sys.js");
  35. require("./sheep/store/modal.js");
  36. if (!Math) {
  37. "./pages/index/index.js";
  38. "./pages/index/user.js";
  39. "./pages/index/category.js";
  40. "./pages/index/cart.js";
  41. "./pages/index/login.js";
  42. "./pages/index/search.js";
  43. "./pages/index/page.js";
  44. "./pages/goods/index.js";
  45. "./pages/goods/groupon.js";
  46. "./pages/goods/seckill.js";
  47. "./pages/goods/list.js";
  48. "./pages/goods/comment/add.js";
  49. "./pages/goods/comment/list.js";
  50. "./pages/order/detail.js";
  51. "./pages/order/confirm.js";
  52. "./pages/order/list.js";
  53. "./pages/order/aftersale/apply.js";
  54. "./pages/order/aftersale/return-delivery.js";
  55. "./pages/order/aftersale/list.js";
  56. "./pages/order/aftersale/detail.js";
  57. "./pages/order/aftersale/log.js";
  58. "./pages/order/express/log.js";
  59. "./pages/user/info.js";
  60. "./pages/user/goods-collect.js";
  61. "./pages/user/goods-log.js";
  62. "./pages/user/address/list.js";
  63. "./pages/user/address/edit.js";
  64. "./pages/user/wallet/money.js";
  65. "./pages/user/wallet/score.js";
  66. "./pages/commission/index.js";
  67. "./pages/commission/wallet.js";
  68. "./pages/commission/goods.js";
  69. "./pages/commission/order.js";
  70. "./pages/commission/team.js";
  71. "./pages/commission/promoter.js";
  72. "./pages/commission/commission-ranking.js";
  73. "./pages/commission/withdraw.js";
  74. "./pages/app/sign.js";
  75. "./pages/public/setting.js";
  76. "./pages/public/richtext.js";
  77. "./pages/public/faq.js";
  78. "./pages/public/error.js";
  79. "./pages/public/webview.js";
  80. "./pages/coupon/list.js";
  81. "./pages/coupon/detail.js";
  82. "./pages/chat/index.js";
  83. "./pages/pay/index.js";
  84. "./pages/pay/result.js";
  85. "./pages/pay/recharge.js";
  86. "./pages/pay/recharge-log.js";
  87. "./pages/activity/groupon/detail.js";
  88. "./pages/activity/groupon/order.js";
  89. "./pages/activity/index.js";
  90. "./pages/activity/groupon/list.js";
  91. "./pages/activity/seckill/list.js";
  92. "./pages/activity/bargain/list.js";
  93. "./pages/activity/bargain/detail.js";
  94. }
  95. const _sfc_main = {
  96. __name: "App",
  97. setup(__props) {
  98. common_vendor.onLaunch(() => {
  99. common_vendor.index.hideTabBar();
  100. sheep_index.ShoproInit();
  101. });
  102. common_vendor.onError((err) => {
  103. console.log("AppOnError:", err);
  104. });
  105. common_vendor.onShow((options) => {
  106. console.log(options, "options");
  107. });
  108. return () => {
  109. };
  110. }
  111. };
  112. const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-app/App.vue"]]);
  113. function createApp() {
  114. const app = common_vendor.createSSRApp(App);
  115. sheep_store_index.setupPinia(app);
  116. return {
  117. app
  118. };
  119. }
  120. createApp().app.mount("#app");
  121. exports.createApp = createApp;