|
|
@@ -8,6 +8,7 @@ import RenderUtils from '../utils/RenderUtils.js';
|
|
|
import config1 from '../data/BoardConfig3.json';
|
|
|
import config2 from '../data/BoardConfig4.json';
|
|
|
|
|
|
+
|
|
|
class Factory extends React.Component {
|
|
|
|
|
|
constructor(props) {
|
|
|
@@ -32,10 +33,10 @@ class Factory extends React.Component {
|
|
|
return (
|
|
|
<div>
|
|
|
<div>
|
|
|
- <Title {...this.state.config.title.config} state={{time1: new Date().format('hh:mm:ss'),time2: 60-new Date().getSeconds(),}} />
|
|
|
+ <Title {...this.state.config.title.config} />
|
|
|
</div>
|
|
|
<div>
|
|
|
- <Container items={this.state.config.content.items} rowHeight={(window.innerHeight - this.state.config.title.config.height) / 10} />
|
|
|
+ <Container items={this.state.config.content.items} rowHeight={(window.innerHeight - this.state.config.title.config.height || 55) / 10} />
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|