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

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const mp_ecard_sdk_main = require("./mp_ecard_sdk/main.js");
  5. const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js");
  6. const config_request = require("./config/request.js");
  7. const utils_utils = require("./utils/utils.js");
  8. if (!Math) {
  9. "./pages/tabbar/index/index.js";
  10. "./pages/tabbar/mine/mine.js";
  11. "./mp_ecard_sdk/index/index.js";
  12. "./pages/subPage/notice/notice.js";
  13. "./pages/subPage/login/login.js";
  14. "./pages/subPage/notice/noticeDetail.js";
  15. "./pages/subPage/authentication/authentication.js";
  16. "./pages/subPage/authentication/comp/select1.js";
  17. "./pages/subPage/authentication/comp/select2.js";
  18. "./pages/subPage/authentication/comp/select3.js";
  19. "./pages/subPage/privacyAgreement/privacyAgreement.js";
  20. "./pages/subPage/ballots/ballotsList/ballotsList.js";
  21. "./pages/subPage/ballots/vote/vote.js";
  22. "./pages/subPage/webView/webView.js";
  23. "./pages/subPage/ballots/vote/voteReslut.js";
  24. }
  25. const _sfc_main = {
  26. onLaunch: function() {
  27. console.log("App Launch");
  28. mp_ecard_sdk_main.initEid();
  29. },
  30. onShow: function() {
  31. console.log("App Show");
  32. },
  33. onHide: function() {
  34. console.log("App Hide");
  35. }
  36. };
  37. function createApp() {
  38. const app = common_vendor.createSSRApp(_sfc_main);
  39. app.config.globalProperties.$goPage = utils_utils.goPage;
  40. const pinia = common_vendor.createPinia();
  41. app.use(pinia);
  42. app.use(uni_modules_uviewPlus_index.uviewPlus);
  43. config_request.request();
  44. return {
  45. app
  46. };
  47. }
  48. createApp().app.mount("#app");
  49. exports.createApp = createApp;