营销:增加商城装修组件【视频播放】
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view>
|
||||
<s-image-block v-if="type === 'ImageBar'" :data="data" :styles="styles" />
|
||||
<s-image-banner v-if="type === 'imageBanner'" :data="data" :styles="styles" />
|
||||
<s-video-block v-if="type === 'videoPlayer'" :data="data" :styles="styles" />
|
||||
<s-video-block v-if="type === 'VideoPlayer'" :data="data" :styles="styles" />
|
||||
<s-image-cube v-if="type === 'imageCube'" :data="data" :styles="styles" />
|
||||
|
||||
<s-notice-block v-if="type === 'NoticeBar'" :data="data" />
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
class="sss"
|
||||
:uid="guid()"
|
||||
:src="sheep.$url.cdn(data.videoUrl)"
|
||||
:poster="sheep.$url.cdn(data.src)"
|
||||
:poster="sheep.$url.cdn(data.posterUrl)"
|
||||
:height="styles.height * 2"
|
||||
:autoplay="data.autoplay"
|
||||
></su-video>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user