修改
This commit is contained in:
parent
45a2fec144
commit
e45852a864
@ -49,15 +49,16 @@ class BI00FullScreen extends React.Component {
|
||||
borderStyle: 'solid',
|
||||
borderColor: '#ccc',
|
||||
borderWidth: '1px',
|
||||
height: '100%',
|
||||
}}
|
||||
>
|
||||
<h1 style={{ textAlign: 'center', marginTop: '30px' }}>金源公司生产安全管控平台</h1>
|
||||
<Button
|
||||
type={this.state.filterType == 1 ? 'primary' : 'default'}
|
||||
onClick={() => window.open('#/popup', '_blank', 'noreferrer')}
|
||||
style={{ marginRight: '5px' }}
|
||||
style={{ marginRight: '5px', alignItems: 'center', margin: 'auto' }}
|
||||
>
|
||||
最近1周
|
||||
管控平台入口
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -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 = () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user