"use strict"; const common_vendor = require("../../common/vendor.js"); const _sfc_main = { data() { return { localBaseImg: this.G.store().localBaseImg }; }, props: { url: { type: String, default() { return ""; } }, size: { default() { return 48; } }, radius: { default() { return 50; } }, pad: { default: 0 }, bg: { default: "none" } }, methods: { handleClick() { this.$emit("clickItem"); } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { a: $props.url ? $props.url : $data.localBaseImg + "default.svg", b: common_vendor.n("g_radius_" + $props.radius), c: $props.size / 2 + "px", d: $props.size / 2 + "px", e: common_vendor.o((...args) => $options.handleClick && $options.handleClick(...args)), f: $props.pad + "px", g: $props.bg, h: common_vendor.n("g_radius_" + $props.radius) }; } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createComponent(Component); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/panel/defaultImage.js.map