acdr-ui/dist/build/mp-weixin/modules/mall/sheep/components/s-image-block/s-image-block.js

2 lines
455 B
JavaScript
Raw Normal View History

2024-10-01 09:15:35 +08:00
"use strict";const e=require("../../../../../common/vendor.js"),r=require("../../index.js");if(!Array){e.resolveComponent("su-image")()}Math;const t={__name:"s-image-block",props:{data:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup:t=>(o,a)=>({a:e.p({src:e.unref(r.sheep).$url.cdn(t.data.imgUrl),mode:"widthFix"}),b:e.o((o=>{var a;return e.unref(r.sheep).$router.go(null==(a=t.data)?void 0:a.url)}))})};wx.createComponent(t);