app.js
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"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;