acdr-ui/dist/build/mp-weixin/modules/mall/sheep/components/s-notice-block/s-notice-block.js
2024-10-01 09:15:35 +08:00

2 lines
529 B
JavaScript

"use strict";const e=require("../../../../../common/vendor.js"),t=require("../../index.js");if(!Array){e.resolveComponent("su-notice-bar")()}Math;const o={__name:"s-notice-block",props:{data:{type:Object,default(){}}},setup:o=>(r,n)=>({a:e.unref(t.sheep).$url.cdn(o.data.iconUrl),b:e.o((r=>e.unref(t.sheep).$router.go(o.data.contents[0].url))),c:e.p({showIcon:!1,scrollable:!0,single:!0,text:o.data.contents[0].text,speed:50,color:o.data.textColor})})},r=e._export_sfc(o,[["__scopeId","data-v-a546ed09"]]);wx.createComponent(r);