app.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. if (!Math) {
  6. "./pages/article_details/index.js";
  7. "./pages/index/index.js";
  8. "./pages/goods_details/index.js";
  9. }
  10. const _sfc_main = {
  11. onLaunch: function() {
  12. common_vendor.index.__f__("log", "at App.vue:4", "App Launch");
  13. },
  14. onShow: function() {
  15. common_vendor.index.__f__("log", "at App.vue:7", "App Show");
  16. },
  17. onHide: function() {
  18. common_vendor.index.__f__("log", "at App.vue:10", "App Hide");
  19. }
  20. };
  21. function createApp() {
  22. const app = common_vendor.createSSRApp(_sfc_main);
  23. app.use(uni_modules_uviewPlus_index.uviewPlus, () => {
  24. return {
  25. options: {
  26. // 修改$u.config对象的属性
  27. config: {
  28. // 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx'
  29. unit: "rpx"
  30. // customIcon: {
  31. // family: 'iconfont',
  32. // url: '//at.alicdn.com/t/c/font_4946742_e8oa3t01rkk.css'
  33. // }
  34. }
  35. }
  36. };
  37. });
  38. return {
  39. app
  40. };
  41. }
  42. createApp().app.mount("#app");
  43. exports.createApp = createApp;
  44. //# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map