自适应
This commit is contained in:
@@ -133,9 +133,13 @@ export default function AIDiagnosisPage() {
|
||||
};
|
||||
|
||||
return (
|
||||
<div style={{ background: '#f5f7fa', minHeight: '100vh', padding: '16px 24px' }}>
|
||||
{/* 顶部指标卡片 */}
|
||||
{/* 优化版:宽高统一 + 最小168px + 自动换行 + 样式统一 */}
|
||||
<div style={{ background: '#f5f7fa', minHeight: '100vh', padding: '0px 24px' }}>
|
||||
<div style={{ display: 'flex', paddingBottom: "12px" }}>
|
||||
<div style={{ padding: '20px 0px 0' }}>
|
||||
<Typography.Title level={4} style={{ margin: 0 }}>AI诊断分析</Typography.Title>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<Row
|
||||
gutter={[12, 12]}
|
||||
style={{
|
||||
@@ -335,7 +339,8 @@ export default function AIDiagnosisPage() {
|
||||
>
|
||||
<div style={{ display: 'flex', gap: 16, flex: 1 }}>
|
||||
<div style={{ flex: 1 }}>
|
||||
<Line {...generationPerformanceConfig} height={220} />
|
||||
<Line {...generationPerformanceConfig} height={220} autoFit={true}
|
||||
/>
|
||||
</div>
|
||||
<div style={{ width: 100, fontSize: 12, display: 'flex', flexDirection: 'column', justifyContent: 'center', gap: 12 }}>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user