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 = () => {