fixing bung

This commit is contained in:
2020-08-20 14:46:57 +08:00
parent a91fa4708b
commit dbbd64269f
5 changed files with 22 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
<template>
<view class="videoTop">
<image :src="url" mode="aspectFill" class="video"></image>
<view class="backs"></view>
<image src="/static/videoPlay.png" mode="aspectFill" class="play-video"></image>
</view>
</template>
@@ -16,6 +17,15 @@
height: 100%;
z-index: 9;
}
.backs {
width: 100%;
height: 100%;
position: absolute;
top: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.35);
z-index: 9;
}
.play-video {
position: absolute;
width: 100rpx;