"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
const util_index = require("./util/index.js");
const utils_orderMonitor = require("./utils/orderMonitor.js");
if (!Math) {
  "./pages/index/index.js";
  "./pages/my/index.js";
  "./pages/deposit/index.js";
  "./pages/order/index.js";
  "./pages/order/payment.js";
  "./pages/order/details.js";
  "./pages/feedback/index.js";
  "./pages/help/index.js";
  "./pages/device/detail.js";
  "./pages/serve/bagCheck/index.js";
  "./pages/return/index.js";
  "./pages/order/success.js";
  "./pages/order/return-success.js";
}
const _sfc_main = {
  onLaunch: function() {
    common_vendor.index.__f__("log", "at App.vue:10", "App Launch");
  },
  onShow: async function() {
    common_vendor.index.__f__("log", "at App.vue:14", "App Show");
    await this.autoLogin();
  },
  onHide: function() {
    common_vendor.index.__f__("log", "at App.vue:19", "App Hide");
  },
  methods: {
    async autoLogin() {
      try {
        const loginResult = await util_index.wxLogin();
      } catch (error) {
        common_vendor.index.__f__("error", "at App.vue:30", "自动登录失败:", error);
      }
    }
  }
};
function createApp() {
  const app = common_vendor.createSSRApp(_sfc_main);
  app.config.globalProperties.$orderMonitor = utils_orderMonitor.orderMonitor;
  return {
    app
  };
}
createApp().app.mount("#app");
exports.createApp = createApp;
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
