fixing bung
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<!-- <video :src="url" :show-fullscreen-btn="true"></video> -->
|
||||
<view v-if="type == '2'" class="video-container">
|
||||
<image :src="url" mode="aspectFill" class="video"></image>
|
||||
<view class="backs"></view>
|
||||
<image src="/static/videoPlay.png" mode="aspectFill" class="play-video"></image>
|
||||
</view>
|
||||
<image v-else :src="url" mode="aspectFill"></image>
|
||||
@@ -27,6 +28,15 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.backs {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
background-color: rgba($color: #000000, $alpha: 0.35);
|
||||
z-index: 9;
|
||||
}
|
||||
.play-video {
|
||||
position: absolute;
|
||||
width: 100rpx;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user