app.js 1.71 KB
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
const config = require("./config.js");
if (!Math) {
  "./pages/index/index.js";
  "./pages/index/login.js";
  "./pages/index/register.js";
  "./pages/index/binding.js";
  "./pages/myCenter/myCenter.js";
  "./pages/webView/auth.js";
  "./training/trainList.js";
  "./training/detailPage.js";
  "./training/trainSignUp.js";
  "./match/index.js";
  "./match/single.js";
  "./match/singleLs.js";
  "./match/sign_single.js";
  "./match/matchBill.js";
  "./match/matchPayDone.js";
  "./match/choose_sportman.js";
  "./match/team_choose_sportman.js";
  "./match/choose_coach.js";
  "./match/add_coach.js";
  "./match/add_rank.js";
  "./match/choose_project.js";
  "./match/projectList.js";
  "./myCenter/index.js";
  "./myCenter/mytrain/mytrain.js";
  "./myCenter/mytrain/myBill.js";
  "./myCenter/mytrain/orderDetail.js";
  "./webView/newList/newList.js";
  "./webView/vipSystem.js";
}
const _sfc_main = {
  onLaunch: function(options) {
    console.log("App Launch", options);
    this.globalData.baseUrl_api = config.config.baseUrl_api;
    let userName = common_vendor.index.getStorageSync("userName");
    if (userName) {
      this.globalData.isLogin = true;
    } else {
      this.globalData.isLogin = false;
    }
  },
  onShow: function() {
    console.log("App Show");
  },
  onHide: function() {
    console.log("App Hide");
  }
};
const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "/Users/yangyang/ztx_wx_minapp/App.vue"]]);
function createApp() {
  const app = common_vendor.createSSRApp(App);
  return {
    app
  };
}
createApp().app.mount("#app");
exports.createApp = createApp;