Compare commits

..

No commits in common. "3f0ad6963adfc553827ca7234ce1f52511fc98d1" and "ac67d51f9ce3e9d5bccbdfa7492a5241fa586275" have entirely different histories.

4 changed files with 13 additions and 32 deletions

View File

@ -2047,7 +2047,6 @@
height: 100%;
display: flex;
align-items: center;
position: relative;
}
.realTime .page-content .realTime-bottom .left-view > div .video-js {
@ -2055,12 +2054,6 @@
height: 100%;
}
.realTime .page-content .realTime-bottom .left-view > div #video-js {
position: absolute;
left: 0;
top: 0;
}
.realTime .page-content .realTime-bottom .left-view > div .video-control {
width: 400px;
display: flex;

File diff suppressed because one or more lines are too long

View File

@ -2185,17 +2185,12 @@
height: 100%;
display: flex;
align-items: center;
position: relative;
.video-js {
width: calc(100% - 400px);
height: 100%;
}
#video-js{
position: absolute;
left: 0;
top: 0;
}
.video-control {
width: 400px;
display: flex;

View File

@ -10,10 +10,7 @@
<div ref="monitor" class="monitor" id="monitor">
<!-- <video ref="videoPlayer" class="video-js" id="video-js"></video> -->
<img v-if="imgUrl" class="video-js" :src="imgUrl" alt="">
<div v-if="!imgUrl" ref="videoPlayer" class="video-js">
<div id="video-js"></div>
</div>
<div v-else ref="videoPlayer" class="video-js" id="video-js"></div>
<div class="video-control">
<div class="video-btn-big">
<div class="top" @mousedown="downStart(0)">
@ -222,12 +219,6 @@ export default {
width: divW, // 1920 px
height: divH, // 1080 px
})
window.onresize = () => {
this.player.reSize(
this.$refs.videoPlayer.clientWidth,
this.$refs.videoPlayer.clientHeight
);
};
},
dataInit() {
const store = this.$store.state
@ -254,3 +245,5 @@ export default {
}
</script>
<style lang="scss"></style>