homePage.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const hook_useOnLoad_index = require("../../../../hook/use-on-load/index.js");
  4. if (!Array) {
  5. const _easycom_uni_search_bar2 = common_vendor.resolveComponent("uni-search-bar");
  6. const _easycom_uni_badge2 = common_vendor.resolveComponent("uni-badge");
  7. (_easycom_uni_search_bar2 + _easycom_uni_badge2)();
  8. }
  9. const _easycom_uni_search_bar = () => "../../../../uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.js";
  10. const _easycom_uni_badge = () => "../../../../uni_modules/uni-badge/components/uni-badge/uni-badge.js";
  11. if (!Math) {
  12. (_easycom_uni_search_bar + _easycom_uni_badge)();
  13. }
  14. const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  15. __name: "homePage",
  16. setup(__props) {
  17. getApp();
  18. const text = common_vendor.ref("Hello world");
  19. const fn = () => {
  20. common_vendor.index.__f__("log", "at pages/business/tabbar/homePage/homePage.vue:19", "logSuccess");
  21. };
  22. const toCRM = () => {
  23. common_vendor.goToUrl("/pagesCrm/business/home/home");
  24. };
  25. hook_useOnLoad_index.useOnLoad(fn);
  26. return (_ctx, _cache) => {
  27. return {
  28. a: common_vendor.t(text.value),
  29. b: common_vendor.o(() => {
  30. }),
  31. c: common_vendor.o(() => {
  32. }),
  33. d: common_vendor.p({
  34. text: "1",
  35. type: "primary"
  36. }),
  37. e: common_vendor.o(toCRM)
  38. };
  39. };
  40. }
  41. });
  42. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f3fcf405"]]);
  43. wx.createPage(MiniProgramPage);
  44. //# sourceMappingURL=../../../../../.sourcemap/mp-weixin/pages/business/tabbar/homePage/homePage.js.map