acdr-ui/dist/build/mp-weixin/sheep/components/s-hotzone-block/s-hotzone-block.js

2 lines
512 B
JavaScript

"use strict";const e=require("../../../common/vendor.js"),t=require("../../index.js"),o={__name:"s-hotzone-block",props:{data:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup:o=>(a,p)=>({a:e.unref(t.sheep).$url.cdn(o.data.imgUrl),b:e.f(o.data.list,((o,a,p)=>({a:a,b:e.s({top:`${o.top}px`,left:`${o.left}px`,width:`${o.width}px`,height:`${o.height}px`}),c:e.o((a=>e.unref(t.sheep).$router.go(o.url)),a)})))})},a=e._export_sfc(o,[["__scopeId","data-v-1e4aca5f"]]);wx.createComponent(a);