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>
<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="header">
<!-- <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);
//
const projectTimeInfo = ref({} as any);
const scaleValue = ref(1);
const scaleChange = (data:any) => {
scaleValue.value = data;
}
const getProjectInfo = async () => {
getNowDate();
const res: any = await getTaskTimeDetail({ projectSn: store.sn });
@ -519,7 +523,6 @@ function jumpBgd() {
height: 100%;
background: url("@/assets/images/bigImg.gif") no-repeat;
background-size: 100% 100%;
.header {
width: 100%;
height: 12%;

View File

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