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.

54 lines
1.9 KiB

1 week ago
  1. "use strict";
  2. Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
  3. const common_vendor = require("./common/vendor.js");
  4. const uni_modules_uviewPlus_index = require("./uni_modules/uview-plus/index.js");
  5. const config_request = require("./config/request.js");
  6. const utils_utils = require("./utils/utils.js");
  7. const store_index = require("./store/index.js");
  8. if (!Math) {
  9. "./pages/index/index.js";
  10. "./pages/index/comp/city.js";
  11. "./pages/vip/vipEntry/vipEntry.js";
  12. "./pages/vip/vipQuestions/vipQuestions.js";
  13. "./pages/exercises/chapter/chapter.js";
  14. "./pages/exercises/webView/webView.js";
  15. "./pages/exercises/brushQuestions/brushQuestions.js";
  16. "./pages/exercises/brushQuestions/examQuestions.js";
  17. "./pages/exercises/brushQuestions/wrongQuestions.js";
  18. "./pages/exercises/exam/exam.js";
  19. "./pages/exercises/examIntroduction/examIntroduction.js";
  20. "./pages/exercises/beforeExam/beforeExam.js";
  21. "./pages/exercises/examResults/examResults.js";
  22. "./pages/exercises/wrongQuestion/wrongQuestion.js";
  23. "./pages/exercises/theoryStudy/theoryStudy.js";
  24. "./pages/exercises/categoryExercises/categoryExercises.js";
  25. "./pages/exercises/queTypeExercises/queTypeExercises.js";
  26. "./pages/exercises/myStudy/myStudy.js";
  27. "./pages/exercises/lastPage/lastPage.js";
  28. "./pages/exercises/examSubjiect1/examSubjiect1.js";
  29. "./pages/exercises/examSubjiect1/examResultsOne.js";
  30. }
  31. const _sfc_main = {
  32. onLaunch: function() {
  33. console.log("App Launch");
  34. },
  35. onShow: function() {
  36. console.log("App Show");
  37. },
  38. onHide: function() {
  39. console.log("App Hide");
  40. }
  41. };
  42. function createApp() {
  43. const app = common_vendor.createSSRApp(_sfc_main);
  44. app.config.globalProperties.$goPage = utils_utils.goPage;
  45. app.config.globalProperties.$noDoFn = utils_utils.noDoFn;
  46. app.use(uni_modules_uviewPlus_index.uviewPlus);
  47. config_request.request();
  48. store_index.setupStore(app);
  49. return {
  50. app
  51. };
  52. }
  53. createApp().app.mount("#app");
  54. exports.createApp = createApp;