This commit is contained in:
yunkexin 2026-01-26 09:12:04 +08:00
parent 45a2fec144
commit e45852a864
2 changed files with 5 additions and 4 deletions

View File

@ -49,15 +49,16 @@ class BI00FullScreen extends React.Component {
borderStyle: 'solid', borderStyle: 'solid',
borderColor: '#ccc', borderColor: '#ccc',
borderWidth: '1px', borderWidth: '1px',
height: '100%',
}} }}
> >
<h1 style={{ textAlign: 'center', marginTop: '30px' }}>金源公司生产安全管控平台</h1> <h1 style={{ textAlign: 'center', marginTop: '30px' }}>金源公司生产安全管控平台</h1>
<Button <Button
type={this.state.filterType == 1 ? 'primary' : 'default'} type={this.state.filterType == 1 ? 'primary' : 'default'}
onClick={() => window.open('#/popup', '_blank', 'noreferrer')} onClick={() => window.open('#/popup', '_blank', 'noreferrer')}
style={{ marginRight: '5px' }} style={{ marginRight: '5px', alignItems: 'center', margin: 'auto' }}
> >
最近1周 管控平台入口
</Button> </Button>
</div> </div>
); );

View File

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