u--image.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. const common_vendor = require("../../../../common/vendor.js");
  3. const uvImage = () => "../u-image/u-image.js";
  4. const _sfc_main = {
  5. name: "u--image",
  6. mixins: [common_vendor.mpMixin, common_vendor.props$13, common_vendor.mixin],
  7. components: {
  8. uvImage
  9. },
  10. emits: ["click", "error", "load"]
  11. };
  12. if (!Array) {
  13. const _component_uvImage = common_vendor.resolveComponent("uvImage");
  14. _component_uvImage();
  15. }
  16. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  17. return {
  18. a: common_vendor.o(($event) => _ctx.$emit("click")),
  19. b: common_vendor.o(($event) => _ctx.$emit("error")),
  20. c: common_vendor.o(($event) => _ctx.$emit("load")),
  21. d: common_vendor.p({
  22. src: _ctx.src,
  23. mode: _ctx.mode,
  24. width: _ctx.width,
  25. height: _ctx.height,
  26. shape: _ctx.shape,
  27. radius: _ctx.radius,
  28. lazyLoad: _ctx.lazyLoad,
  29. showMenuByLongpress: _ctx.showMenuByLongpress,
  30. loadingIcon: _ctx.loadingIcon,
  31. errorIcon: _ctx.errorIcon,
  32. showLoading: _ctx.showLoading,
  33. showError: _ctx.showError,
  34. fade: _ctx.fade,
  35. webp: _ctx.webp,
  36. duration: _ctx.duration,
  37. bgColor: _ctx.bgColor,
  38. customStyle: _ctx.customStyle
  39. })
  40. };
  41. }
  42. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "F:/兴元/开门柜项目/平台端管理系统小程序/node_modules/uview-plus/components/u--image/u--image.vue"]]);
  43. wx.createComponent(Component);