fix: BUG修改

This commit is contained in:
kun 2024-03-22 13:51:57 +08:00
parent c072d563b7
commit 8cea1162bd
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<ScaleBox :width="1920" :height="1080" bgc="transparent" :delay="100" :isFlat="false"> <ScaleBox :width="1920" :height="1080" bgc="transparent" :delay="100" :isFlat="false" @scaleChange="scaleChange" v-show="false">
<div class="largeScreen" ref="dataScreenRef"> <div class="largeScreen" ref="dataScreenRef">
<div class="header"> <div class="header">
<!-- <div class="hearderIcon"><img src="@/assets/images/jxjLogo.png" alt="" /></div> --> <!-- <div class="hearderIcon"><img src="@/assets/images/jxjLogo.png" alt="" /></div> -->
@ -108,6 +108,10 @@ let nowDate = ref("2023.11.16" as any);
let projectPassDay = ref(0 as any); let projectPassDay = ref(0 as any);
// //
const projectTimeInfo = ref({} as any); const projectTimeInfo = ref({} as any);
const scaleValue = ref(1);
const scaleChange = (data:any) => {
scaleValue.value = data;
}
const getProjectInfo = async () => { const getProjectInfo = async () => {
getNowDate(); getNowDate();
const res: any = await getTaskTimeDetail({ projectSn: store.sn }); const res: any = await getTaskTimeDetail({ projectSn: store.sn });
@ -519,7 +523,6 @@ function jumpBgd() {
height: 100%; height: 100%;
background: url("@/assets/images/bigImg.gif") no-repeat; background: url("@/assets/images/bigImg.gif") no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.header { .header {
width: 100%; width: 100%;
height: 12%; height: 12%;

View File

@ -43,11 +43,12 @@
<div <div
id="playWnd" id="playWnd"
class="playWnd" class="playWnd"
:style="{ style="width: 100%;height: 100%;"
></div>
<!-- :style="{
height: playWndHeight + 'px', height: playWndHeight + 'px',
width: playWndWidth + 'px' width: playWndWidth + 'px'
}" }" -->
></div>
</div> </div>
</Card> </Card>
</div> </div>
@ -171,7 +172,6 @@ onMounted(async () => {
window.addEventListener("resize", e => { window.addEventListener("resize", e => {
if (oWebControl.value == undefined) { if (oWebControl.value == undefined) {
// console.log("wwwww", e); // console.log("wwwww", e);
oWebControl.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight); oWebControl.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
// oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value); // oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value);
// setWndCover(); // setWndCover();