From e45852a864816bfdd2263a205e6549b1ba932b1d Mon Sep 17 00:00:00 2001 From: yunkexin <760754045@qq.com> Date: Mon, 26 Jan 2026 09:12:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CustomPages/BI/BI00FullScreen.js | 5 +++-- src/layout/FullScreenInter.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/CustomPages/BI/BI00FullScreen.js b/src/components/CustomPages/BI/BI00FullScreen.js index 768479c..8af3302 100644 --- a/src/components/CustomPages/BI/BI00FullScreen.js +++ b/src/components/CustomPages/BI/BI00FullScreen.js @@ -49,15 +49,16 @@ class BI00FullScreen extends React.Component { borderStyle: 'solid', borderColor: '#ccc', borderWidth: '1px', + height: '100%', }} >

金源公司生产安全管控平台

); diff --git a/src/layout/FullScreenInter.js b/src/layout/FullScreenInter.js index cbf1429..cec0895 100644 --- a/src/layout/FullScreenInter.js +++ b/src/layout/FullScreenInter.js @@ -28,7 +28,7 @@ const { TabPane } = Tabs; const getScale = () => { const width = 1920, - height = 1200; // 此处可以根据实际设计稿尺寸修改 + height = 1080; // 此处可以根据实际设计稿尺寸修改 let ww = window.innerWidth / width; let wh = window.innerHeight / height; return ww < wh ? ww : wh; @@ -1149,7 +1149,7 @@ class FullScreen extends React.Component { render() { const width = 1920, - height = 1200; + height = 1080; // 固定好16:9的宽高比,计算出最合适的缩放比,宽高比可根据需要自行更改 const { scale, safetySloganOne, animationDuration, sliderColor, sliderSize, activeTab } = this.state; const renderContent = () => {