|
|
|
@ -8,10 +8,16 @@ interface Props { }; |
|
|
|
interface Callbacks { }; |
|
|
|
|
|
|
|
function mainView(props: Props & Callbacks) { |
|
|
|
const weightPanel = { |
|
|
|
color: "#ff4300", |
|
|
|
backgroundColor: "black", |
|
|
|
fontSize: "7rem", |
|
|
|
fontFamily: "\"7bar\"", |
|
|
|
}; |
|
|
|
return <Grid> |
|
|
|
<Row style={{ height: "calc(20vh - 50px)" }}> |
|
|
|
<Col xs={3}> |
|
|
|
<div>0.00</div> |
|
|
|
<div style={weightPanel}>0.00</div> |
|
|
|
<ButtonToolbar> |
|
|
|
<Button>启用称重</Button> |
|
|
|
<Button disabled>停止称重</Button> |
|
|
|
|