优化天气图表显示
This commit is contained in:
@@ -588,6 +588,8 @@ export default function StationDashboard() {
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'start', gap: 20 }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: 12 }}>
|
||||
<WeatherDisplay type={weatherType} />
|
||||
{/*<WeatherDisplay type="sunny" />*/}
|
||||
|
||||
<div style={{ flex: 1, flexDirection: "row" }}>
|
||||
<div style={{ fontSize: 28, fontWeight: 800, color: '#1890ff' }}>
|
||||
{weatherdata.temperature}℃
|
||||
|
||||
@@ -114,9 +114,9 @@ export default function Login() {
|
||||
rules={[{ validator: (_, value) => value ? Promise.resolve() : Promise.reject(new Error('请阅读并同意用户协议')) }]}
|
||||
>
|
||||
<Checkbox>
|
||||
<Text style={{ fontSize: 14, color: '#666' }}>
|
||||
我已阅读并同意 <Text type="link" style={{ padding: 0, color: '#1677ff' }}>用户协议</Text> 和 <Text type="link" style={{ padding: 0, color: '#1677ff' }}>隐私政策</Text>
|
||||
</Text>
|
||||
<p style={{ fontSize: 14, color: '#666' }}>
|
||||
我已阅读并同意 <span type="link" style={{ padding: 0, color: '#1677ff' }}>用户协议</span> 和 <span type="link" style={{ padding: 0, color: '#1677ff' }}>隐私政策</span>
|
||||
</p>
|
||||
</Checkbox>
|
||||
</Form.Item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user