activityDescPopup.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const hooks_useDraw = require("../../../hooks/useDraw.js");
  4. if (!Array) {
  5. const _easycom_wd_popup2 = common_vendor.resolveComponent("wd-popup");
  6. _easycom_wd_popup2();
  7. }
  8. const _easycom_wd_popup = () => "../../../node-modules/wot-design-uni/components/wd-popup/wd-popup.js";
  9. if (!Math) {
  10. _easycom_wd_popup();
  11. }
  12. const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
  13. __name: "activityDescPopup",
  14. props: {
  15. show: {
  16. type: Boolean,
  17. default: false
  18. }
  19. },
  20. emits: ["update:show"],
  21. setup(__props, { emit: __emit }) {
  22. const props = __props;
  23. const emit = __emit;
  24. const { handleClose } = hooks_useDraw.useDraw(props, emit);
  25. return (_ctx, _cache) => {
  26. return {
  27. a: common_vendor.o(common_vendor.unref(handleClose)),
  28. b: common_vendor.o(($event) => props.show = $event),
  29. c: common_vendor.p({
  30. position: "bottom",
  31. closable: true,
  32. ["custom-style"]: "height: 600rpx;border-radius:16rpx",
  33. modelValue: props.show
  34. })
  35. };
  36. };
  37. }
  38. });
  39. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-84dcedc1"]]);
  40. wx.createComponent(Component);