photoExamplePopup.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const pagesOne_winner_utils_source = require("../utils/source.js");
  4. const hooks_useDraw = require("../../../hooks/useDraw.js");
  5. if (!Array) {
  6. const _easycom_wd_popup2 = common_vendor.resolveComponent("wd-popup");
  7. _easycom_wd_popup2();
  8. }
  9. const _easycom_wd_popup = () => "../../../node-modules/wot-design-uni/components/wd-popup/wd-popup.js";
  10. if (!Math) {
  11. _easycom_wd_popup();
  12. }
  13. const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  14. __name: "photoExamplePopup",
  15. props: {
  16. show: {
  17. type: Boolean,
  18. default: true
  19. }
  20. },
  21. emits: ["update:show"],
  22. setup(__props, { emit: __emit }) {
  23. const props = __props;
  24. const emit = __emit;
  25. const { handleClose } = hooks_useDraw.useDraw(props, emit);
  26. return (_ctx, _cache) => {
  27. return {
  28. a: common_vendor.unref(pagesOne_winner_utils_source.imgObj).photoExp,
  29. b: common_vendor.o(
  30. //@ts-ignore
  31. (...args) => common_vendor.unref(handleClose) && common_vendor.unref(handleClose)(...args)
  32. ),
  33. c: common_vendor.unref(pagesOne_winner_utils_source.imgObj).close,
  34. d: common_vendor.o(($event) => props.show = $event),
  35. e: common_vendor.p({
  36. ["custom-style"]: "border-radius:10rpx;height:1000rpx; background: transparent;",
  37. ["lock-scroll"]: true,
  38. modelValue: props.show
  39. })
  40. };
  41. };
  42. }
  43. });
  44. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-ea8b307a"]]);
  45. wx.createComponent(Component);