You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
"use strict";
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const common_vendor = require("./common/vendor.js");
|
|
const mp_ecard_sdk_main = require("./mp_ecard_sdk/main.js");
|
|
const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js");
|
|
const config_request = require("./config/request.js");
|
|
const utils_utils = require("./utils/utils.js");
|
|
if (!Math) {
|
|
"./pages/tabbar/index/index.js";
|
|
"./pages/tabbar/mine/mine.js";
|
|
"./mp_ecard_sdk/index/index.js";
|
|
"./pages/subPage/notice/notice.js";
|
|
"./pages/subPage/login/login.js";
|
|
"./pages/subPage/notice/noticeDetail.js";
|
|
"./pages/subPage/authentication/authentication.js";
|
|
"./pages/subPage/authentication/comp/select1.js";
|
|
"./pages/subPage/authentication/comp/select2.js";
|
|
"./pages/subPage/authentication/comp/select3.js";
|
|
"./pages/subPage/privacyAgreement/privacyAgreement.js";
|
|
"./pages/subPage/ballots/ballotsList/ballotsList.js";
|
|
"./pages/subPage/ballots/vote/vote.js";
|
|
"./pages/subPage/webView/webView.js";
|
|
"./pages/subPage/ballots/vote/voteReslut.js";
|
|
}
|
|
const _sfc_main = {
|
|
onLaunch: function() {
|
|
console.log("App Launch");
|
|
mp_ecard_sdk_main.initEid();
|
|
},
|
|
onShow: function() {
|
|
console.log("App Show");
|
|
},
|
|
onHide: function() {
|
|
console.log("App Hide");
|
|
}
|
|
};
|
|
function createApp() {
|
|
const app = common_vendor.createSSRApp(_sfc_main);
|
|
app.config.globalProperties.$goPage = utils_utils.goPage;
|
|
const pinia = common_vendor.createPinia();
|
|
app.use(pinia);
|
|
app.use(uni_modules_uviewPlus_index.uviewPlus);
|
|
config_request.request();
|
|
return {
|
|
app
|
|
};
|
|
}
|
|
createApp().app.mount("#app");
|
|
exports.createApp = createApp;
|