12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- "use strict";
- const common_vendor = require("../../../common/vendor.js");
- const pagesOne_winner_utils_source = require("../utils/source.js");
- const hooks_useDraw = require("../../../hooks/useDraw.js");
- if (!Array) {
- const _easycom_wd_gap2 = common_vendor.resolveComponent("wd-gap");
- const _easycom_wd_popup2 = common_vendor.resolveComponent("wd-popup");
- (_easycom_wd_gap2 + _easycom_wd_popup2)();
- }
- const _easycom_wd_gap = () => "../../../node-modules/wot-design-uni/components/wd-gap/wd-gap.js";
- const _easycom_wd_popup = () => "../../../node-modules/wot-design-uni/components/wd-popup/wd-popup.js";
- if (!Math) {
- (_easycom_wd_gap + _easycom_wd_popup)();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "uploadReceptPopop",
- props: {
- show: {
- type: Boolean,
- default: false
- }
- },
- emits: ["update:show"],
- setup(__props, { emit: __emit }) {
- const props = __props;
- const emit = __emit;
- common_vendor.ref("1");
- const list = [
- { name: "满25返8", id: "1", checked: false },
- { name: "满25返8", id: "2", checked: false },
- { name: "满25返8", id: "3", checked: true },
- { name: "满25返8", id: "1", checked: false },
- { name: "满25返8", id: "2", checked: false }
- ];
- const { handleClose } = hooks_useDraw.useDraw(props, emit);
- return (_ctx, _cache) => {
- return {
- a: common_vendor.f(list, (item, k0, i0) => {
- return {
- a: item.id,
- b: item.checked,
- c: item.id,
- d: common_vendor.n(item.checked ? "active" : "static")
- };
- }),
- b: common_vendor.unref(pagesOne_winner_utils_source.imgObj).icon1,
- c: common_vendor.p({
- height: "16rpx",
- ["bg-color"]: "#F7F8F9"
- }),
- d: common_vendor.o(
- //@ts-ignore
- (...args) => common_vendor.unref(handleClose) && common_vendor.unref(handleClose)(...args)
- ),
- e: common_vendor.o(common_vendor.unref(handleClose)),
- f: common_vendor.o(($event) => props.show = $event),
- g: common_vendor.p({
- position: "bottom",
- ["safe-area-inset-bottom"]: true,
- ["custom-style"]: "height: 922rpx;border-radius: 40rpx 40rpx 0 0;",
- modelValue: props.show
- })
- };
- };
- }
- });
- wx.createComponent(_sfc_main);
|