app.js 911 B

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const utils_request = require("./utils/request.js");
  5. if (!Math) {
  6. "./pages/index/index.js";
  7. "./pages/success/success.js";
  8. "./pages/interview-notice/interview-notice.js";
  9. "./pages/identity-verify/identity-verify.js";
  10. "./pages/face-photo/face-photo.js";
  11. "./pages/camera/camera.js";
  12. "./pages/my/my.js";
  13. "./pages/interview/interview.js";
  14. }
  15. const _sfc_main = {
  16. onLaunch: function() {
  17. console.log("App Launch");
  18. },
  19. onShow: function() {
  20. console.log("App Show");
  21. },
  22. onHide: function() {
  23. console.log("App Hide");
  24. }
  25. };
  26. function createApp() {
  27. const app = common_vendor.createSSRApp(_sfc_main);
  28. app.config.globalProperties.$http = utils_request.http;
  29. return {
  30. app
  31. };
  32. }
  33. createApp().app.mount("#app");
  34. exports.createApp = createApp;