商家首页
This commit is contained in:
26
pageC/components/merchant/video-top.vue
Normal file
26
pageC/components/merchant/video-top.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<view class="videoTop">
|
||||
<video :src="url" :show-fullscreen-btn="true"></video>
|
||||
</view>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
.videoTop{
|
||||
width: 100%;
|
||||
height: 284rpx;
|
||||
margin-bottom: 20rpx;
|
||||
>video{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
export default {
|
||||
name:"videoTop",
|
||||
data(){
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:['url']
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user