修复播放地址复制和分屏播放布局BUG

This commit is contained in:
lin
2025-05-12 16:33:16 +08:00
parent f1fb046774
commit c2c44daca6
2 changed files with 6 additions and 9 deletions

View File

@@ -116,9 +116,6 @@ export default {
height = clientHeight
width = (16 / 9) * height
}
this.$refs.container.style.width = width + 'px'
this.$refs.container.style.height = height + 'px'
this.playerWidth = width
this.playerHeight = height
if (this.playing) {

View File

@@ -111,10 +111,10 @@
<el-input v-model="getPlayerShared.sharedUrl" :disabled="true">
<template slot="append">
<i
v-clipboard="getPlayerShared.sharedUrl"
class="cpoy-btn el-icon-document-copy"
title="点击拷贝"
@success="$message({type:'success', message:'成功拷贝到粘贴板'})"
style="cursor: pointer"
@click="copyUrl(getPlayerShared.sharedUrl)"
/>
</template>
</el-input>
@@ -124,10 +124,10 @@
<el-input v-model="getPlayerShared.sharedIframe" :disabled="true">
<template slot="append">
<i
v-clipboard="getPlayerShared.sharedIframe"
class="cpoy-btn el-icon-document-copy"
title="点击拷贝"
@success="$message({type:'success', message:'成功拷贝到粘贴板'})"
style="cursor: pointer"
@click="copyUrl(getPlayerShared.sharedIframe)"
/>
</template>
</el-input>
@@ -137,10 +137,10 @@
<el-input v-model="getPlayerShared.sharedRtmp" :disabled="true">
<el-button
slot="append"
v-clipboard="getPlayerShared.sharedRtmp"
icon="el-icon-document-copy"
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-button>