57 lines
1.8 KiB
JavaScript
57 lines
1.8 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const common_vendor = require("./common/vendor.js");
|
|
const store_index = require("./store/index.js");
|
|
const utils_mpShare = require("./utils/mpShare.js");
|
|
if (!Math) {
|
|
"./pages/index/index.js";
|
|
"./pages/mine/mine.js";
|
|
"./pages/cate/cate.js";
|
|
"./pages/order/order.js";
|
|
"./pages/login/login.js";
|
|
"./pages/goods/goods.js";
|
|
"./pages/team/team.js";
|
|
"./pages/mine/sett.js";
|
|
"./pages/equity/equity.js";
|
|
"./pages/wallet/wallet.js";
|
|
"./pages/notice/notice.js";
|
|
"./pages/address/list.js";
|
|
"./pages/address/add.js";
|
|
"./pages/order/confirm.js";
|
|
"./pages/order/success.js";
|
|
"./pages/goods/prefecture.js";
|
|
"./pages/wallet/list.js";
|
|
"./pages/notice/details.js";
|
|
"./pages/mine/mobile.js";
|
|
"./pages/protocol/protocol.js";
|
|
"./pages/wallet/zhaun.js";
|
|
}
|
|
const _sfc_main = {
|
|
onLaunch: async function(options) {
|
|
if (options && options.query) {
|
|
common_vendor.index.setStorageSync("inviteCode", options.query.scene);
|
|
common_vendor.index.__f__("log", "at App.vue:8", "----", common_vendor.index.getStorageSync("inviteCode"));
|
|
}
|
|
const store = store_index.Store();
|
|
await store.usersGetInfo();
|
|
},
|
|
onShow: function(options) {
|
|
common_vendor.index.setStorageSync("inviteCode", options.query.scene);
|
|
common_vendor.index.__f__("log", "at App.vue:16", "App Show");
|
|
},
|
|
onHide: function() {
|
|
common_vendor.index.__f__("log", "at App.vue:19", "App Hide");
|
|
}
|
|
};
|
|
function createApp() {
|
|
const app = common_vendor.createSSRApp(_sfc_main);
|
|
app.mixin(utils_mpShare.share);
|
|
app.use(common_vendor.createPinia());
|
|
return {
|
|
app
|
|
};
|
|
}
|
|
createApp().app.mount("#app");
|
|
exports.createApp = createApp;
|
|
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|