flx:提交视频比例

This commit is contained in:
X_Rian 2024-08-11 13:55:57 +08:00
parent 5af466db44
commit e38e0e38ec
4 changed files with 13 additions and 9 deletions

View File

@ -39,10 +39,12 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# 九柱
# VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111'
# 四川网诚
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
VITE_API_URL = 'http://jxj.zhgdyun.com:34568'
VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:34568'
# 九柱集团
# VITE_API_URL = 'http://218.95.151.122:31004'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -5,7 +5,7 @@ NODE_ENV = "production"
# 注切换部署环境时需更改src\routers\modules\staticRouter里的路径 改src\config\config.ts里的项目标识
# VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://jxj.zhgdyun.com:6688"
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022"
# 嘉兴王江泾公用码头
@ -36,7 +36,7 @@ NODE_ENV = "production"
# 同济
# VITE_API_URL = 'http://192.168.110.220:9809'
# 四川网诚
VITE_API_URL = 'http://192.168.9.249:9820'
# VITE_API_URL = 'http://192.168.9.249:9820'
# 九柱集团
# VITE_API_URL = 'http://218.95.151.122:31004'
# 包头化工

View File

@ -23,13 +23,13 @@ export const BAIDU_MAP_KEY: string = "";
export const BASE_IMAGE_URL = import.meta.env.VITE_BASE_IMAGE_URL;
// 项目环境标识配置 部署时需更改对应的项目
// export const COMPANY: string = ""; //标准版
export const COMPANY: string = ""; //标准版
// export const COMPANY: string = "zhzrf"; //中海·臻如府
// export const COMPANY: string = "zsbf"; //中水北方
// export const COMPANY: string = "as"; //鞍山项目
// export const COMPANY: string = "agjt"; //鞍钢集团
// export const COMPANY: string = "tj"; // 同济项目
export const COMPANY: string = "scwc"; // 四川网诚项目
// export const COMPANY: string = "scwc"; // 四川网诚项目
// export const COMPANY: string = "agjtLive"; //鞍钢集团现场大屏
// export const COMPANY: string = "bthg"; //包头化工
// export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏

View File

@ -58,7 +58,7 @@
<ysyPlayAndPlayback :ref="'ysy'" :ysyParams="ysyParams"></ysyPlayAndPlayback>
</div>
<!-- 播放海康 -->
<div ref="playWndBox" style="width: 100%; height: 100%; margin: 0 2% 0% 1%">
<div ref="playWndBox" style="width: 100%; height: 100%; margin: 0 2% 0% 1%" >
<div id="playWnd" class="playWnd" style="width: 100%; height: 100%"></div>
<!-- :style="{
height: playWndHeight + 'px',
@ -305,8 +305,10 @@ onMounted(async () => {
const htmlFontSize = getComputedStyle(window.document.documentElement)["font-size"];
const htmlFontSizeNumber = +htmlFontSize.slice(0, htmlFontSize.indexOf("px"));
console.log(htmlFontSizeNumber,tagDomObj?.clientWidth, tagDomObj?.clientHeight / 12);
playWndHeight.value = tagDomObj?.clientHeight / 1.2;
playWndWidth.value = tagDomObj?.clientWidth / 1.2;
// playWndHeight.value = tagDomObj?.clientHeight / 1.2;
// playWndWidth.value = tagDomObj?.clientWidth / 1.2;
playWndHeight.value = tagDomObj?.clientHeight / 1.05;
playWndWidth.value = tagDomObj?.clientWidth / 1.05;
console.log(playWndHeight.value, playWndWidth.value, tagDomObj?.offsetHeight, tagDomObj?.offsetWidth, tagDomObj);
// scroll使DIV