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

2 lines
556 B
JavaScript

"use strict";const e=require("../../../../../common/vendor.js"),t=require("../../index.js"),r=require("../../helper/index.js");if(!Array){e.resolveComponent("su-video")()}Math;const s={__name:"s-video-block",props:{data:{type:Object,default(){}},styles:{type:Object,default(){}}},setup:s=>(a,o)=>({a:e.p({uid:e.unref(r.guid)(),src:e.unref(t.sheep).$url.cdn(s.data.videoUrl),poster:e.unref(t.sheep).$url.cdn(s.data.posterUrl),height:2*s.styles.height,autoplay:s.data.autoplay})})},a=e._export_sfc(s,[["__scopeId","data-v-3e0c4240"]]);wx.createComponent(a);