mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-24 22:17:49 +08:00
修复播放地址复制和分屏播放布局BUG
This commit is contained in:
parent
f1fb046774
commit
c2c44daca6
@ -116,9 +116,6 @@ export default {
|
|||||||
height = clientHeight
|
height = clientHeight
|
||||||
width = (16 / 9) * height
|
width = (16 / 9) * height
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$refs.container.style.width = width + 'px'
|
|
||||||
this.$refs.container.style.height = height + 'px'
|
|
||||||
this.playerWidth = width
|
this.playerWidth = width
|
||||||
this.playerHeight = height
|
this.playerHeight = height
|
||||||
if (this.playing) {
|
if (this.playing) {
|
||||||
|
|||||||
@ -111,10 +111,10 @@
|
|||||||
<el-input v-model="getPlayerShared.sharedUrl" :disabled="true">
|
<el-input v-model="getPlayerShared.sharedUrl" :disabled="true">
|
||||||
<template slot="append">
|
<template slot="append">
|
||||||
<i
|
<i
|
||||||
v-clipboard="getPlayerShared.sharedUrl"
|
|
||||||
class="cpoy-btn el-icon-document-copy"
|
class="cpoy-btn el-icon-document-copy"
|
||||||
title="点击拷贝"
|
title="点击拷贝"
|
||||||
@success="$message({type:'success', message:'成功拷贝到粘贴板'})"
|
style="cursor: pointer"
|
||||||
|
@click="copyUrl(getPlayerShared.sharedUrl)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
@ -124,10 +124,10 @@
|
|||||||
<el-input v-model="getPlayerShared.sharedIframe" :disabled="true">
|
<el-input v-model="getPlayerShared.sharedIframe" :disabled="true">
|
||||||
<template slot="append">
|
<template slot="append">
|
||||||
<i
|
<i
|
||||||
v-clipboard="getPlayerShared.sharedIframe"
|
|
||||||
class="cpoy-btn el-icon-document-copy"
|
class="cpoy-btn el-icon-document-copy"
|
||||||
title="点击拷贝"
|
title="点击拷贝"
|
||||||
@success="$message({type:'success', message:'成功拷贝到粘贴板'})"
|
style="cursor: pointer"
|
||||||
|
@click="copyUrl(getPlayerShared.sharedIframe)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
@ -137,10 +137,10 @@
|
|||||||
<el-input v-model="getPlayerShared.sharedRtmp" :disabled="true">
|
<el-input v-model="getPlayerShared.sharedRtmp" :disabled="true">
|
||||||
<el-button
|
<el-button
|
||||||
slot="append"
|
slot="append"
|
||||||
v-clipboard="getPlayerShared.sharedRtmp"
|
|
||||||
icon="el-icon-document-copy"
|
icon="el-icon-document-copy"
|
||||||
title="点击拷贝"
|
title="点击拷贝"
|
||||||
@success="$message({type:'success', message:'成功拷贝到粘贴板'})"
|
style="cursor: pointer"
|
||||||
|
@click="copyUrl(getPlayerShared.sharedIframe)"
|
||||||
/>
|
/>
|
||||||
<el-dropdown v-if="streamInfo" slot="prepend" trigger="click" @command="copyUrl">
|
<el-dropdown v-if="streamInfo" slot="prepend" trigger="click" @command="copyUrl">
|
||||||
<el-button>
|
<el-button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user