From a1b4d1f5f582366931516e030a89a130d5142c1f Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 27 Feb 2025 18:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E6=91=84=E5=83=8F=E5=A4=B4?= =?UTF-8?q?=E5=B7=A1=E6=A3=80=E5=A2=9E=E5=8A=A06=E8=B7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../video/components/videoPlayNew.vue | 72 ++++++++++++++++--- vue.config.js | 4 +- 2 files changed, 64 insertions(+), 12 deletions(-) diff --git a/src/views/screen/components/video/components/videoPlayNew.vue b/src/views/screen/components/video/components/videoPlayNew.vue index 3d15d1a..451aa0e 100644 --- a/src/views/screen/components/video/components/videoPlayNew.vue +++ b/src/views/screen/components/video/components/videoPlayNew.vue @@ -93,13 +93,13 @@ > 4路 - + @@ -126,12 +126,12 @@
-
+
@@ -590,8 +590,19 @@ export default { } }, cellClassNew() { - if (this.cellCount === 1) return 'container-1' - if (this.cellCount === 4) return 'container-4' + return index => { + if (this.cellCount === 1) return 'container-1' + if (this.cellCount === 4) return 'container-4' + if (this.cellCount === 6) return 'box' + index + } + }, + + playerContent() { + return index => { + if (this.cellCount === 6) return 'container-6' + + if (this.cellCount === 1 || this.cellCount === 4) return 'container-9' + } }, }, @@ -601,7 +612,7 @@ export default { } - diff --git a/vue.config.js b/vue.config.js index 41c9d26..31daeb8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,8 +38,8 @@ module.exports = { // target: `http://localhost:18080`, // target: 'http://192.168.0.176:18080', // target: 'http://192.168.0.58:19090', // 杰 - target: 'http://192.168.0.38:18080', // 测试环境 - // target: 'http://218.21.27.6:1999/prod-api', // 生产环境 + // target: 'http://192.168.0.38:18080', // 测试环境 + target: 'http://218.21.27.6:1999/prod-api', // 生产环境 // target: 'http://192.168.0.14:38080', // 郝志权 // target: 'http://192.168.2.122:18080', // 梁超 changeOrigin: true,