26 lines
423 B
Vue
26 lines
423 B
Vue
<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> |