紧凑样式
This commit is contained in:
@@ -121,19 +121,19 @@ export default function ReportCenterPage() {
|
||||
{`
|
||||
.compact-table .ant-table-thead > tr > th {
|
||||
background: #f8fafc;
|
||||
padding: 8px 12px !important;
|
||||
padding: 2px 4px !important;
|
||||
font-size: 12px;
|
||||
color: #4E5969;
|
||||
}
|
||||
.compact-table .ant-table-tbody > tr > td {
|
||||
padding: 8px 12px !important;
|
||||
padding: 2px 4px !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
.report-tabs .ant-tabs-nav {
|
||||
margin-bottom: 16px !important;
|
||||
margin-bottom: 8px !important;
|
||||
}
|
||||
.report-tabs .ant-tabs-tab {
|
||||
padding: 8px 16px !important;
|
||||
padding: 2px 4px !important;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -166,14 +166,14 @@ export default function ReportCenterPage() {
|
||||
</Tabs>
|
||||
|
||||
<Row
|
||||
gutter={[16, 16]}
|
||||
gutter={[8, 8]}
|
||||
style={{
|
||||
marginBottom: 20,
|
||||
marginBottom: 8,
|
||||
flexWrap: 'wrap',
|
||||
}}
|
||||
>
|
||||
{overviewCards.map((card, idx) => (
|
||||
<Col key={idx} style={{ minWidth: '168px', flex: '1 0 auto' }}>
|
||||
<Col key={idx} style={{ minWidth: '168px', flex: '1 0 auto', maxWidth: "250px" }}>
|
||||
<Card
|
||||
bordered={false}
|
||||
bodyStyle={{ padding: '16px' }}
|
||||
@@ -232,7 +232,7 @@ export default function ReportCenterPage() {
|
||||
</Row>
|
||||
|
||||
{/* 筛选栏 */}
|
||||
<div style={{ display: 'flex', alignItems: 'center', marginBottom: 20, gap: 20, flexWrap: 'wrap' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', marginBottom: 8, gap: 20, flexWrap: 'wrap' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center' }}>
|
||||
<span className="filter-label">报表周期:</span>
|
||||
<Select value={reportCycle} onChange={setReportCycle} style={{ width: 100 }} size="small">
|
||||
@@ -269,9 +269,9 @@ export default function ReportCenterPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Row gutter={[12, 12]}>
|
||||
<Row gutter={[8, 8]}>
|
||||
{/* 左侧主内容区 */}
|
||||
<Col xs={24} xl={16}>
|
||||
<Col xs={24} xl={16} >
|
||||
{/* 月度综合经营分析 */}
|
||||
<Card bordered={false} style={cardStyle} bodyStyle={{ padding: '20px' }} title={<span style={{ fontSize: 15, fontWeight: 700, color: '#1D2129' }}>月度综合经营分析</span>}>
|
||||
<Row gutter={24}>
|
||||
@@ -328,7 +328,7 @@ export default function ReportCenterPage() {
|
||||
</Card>
|
||||
|
||||
{/* 第二排:三个图表 */}
|
||||
<Row gutter={[12, 12]} style={{ marginTop: 16, }}>
|
||||
<Row gutter={[8, 8]} style={{ marginTop: 8 }}>
|
||||
<Col span={8}>
|
||||
<Card
|
||||
bordered={false}
|
||||
@@ -447,7 +447,7 @@ export default function ReportCenterPage() {
|
||||
</Col>
|
||||
</Row>
|
||||
{/* 订阅与分发 */}
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 16 }} bodyStyle={{ padding: '20px' }} title={<span style={{ fontSize: 15, fontWeight: 700, color: '#1D2129' }}>订阅与分发</span>}>
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 8 }} bodyStyle={{ padding: '20px' }} title={<span style={{ fontSize: 15, fontWeight: 700, color: '#1D2129' }}>订阅与分发</span>}>
|
||||
<Row gutter={[16, 16]} wrap>
|
||||
<Col xs={24} sm={12} md={8}>
|
||||
<div style={{ fontSize: 12, color: '#86909C', marginBottom: 12 }}>订阅人员 (6)</div>
|
||||
@@ -522,7 +522,7 @@ export default function ReportCenterPage() {
|
||||
</Card>
|
||||
|
||||
{/* 模板中心 */}
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 16 }} bodyStyle={{ padding: '16px' }} title={<span style={{ fontSize: 15, fontWeight: 700 }}>模板中心</span>} extra={<Button type="link" size="small">更多 <ChevronRight size={14} /></Button>}>
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 8 }} bodyStyle={{ padding: '16px' }} title={<span style={{ fontSize: 15, fontWeight: 700 }}>模板中心</span>} extra={<Button type="link" size="small">更多 <ChevronRight size={14} /></Button>}>
|
||||
<Row gutter={[12, 12]}>
|
||||
{reportTemplates.map((tpl, idx) => (
|
||||
<Col span={12} key={idx}>
|
||||
@@ -541,7 +541,7 @@ export default function ReportCenterPage() {
|
||||
</Card>
|
||||
|
||||
{/* 报表生成记录 */}
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 16 }} bodyStyle={{ padding: 0 }} title={<span style={{ fontSize: 15, fontWeight: 700 }}>报表生成记录</span>} extra={<Button type="link" size="small">更多 <ChevronRight size={14} /></Button>}>
|
||||
<Card bordered={false} style={{ ...cardStyle, marginTop: 8 }} bodyStyle={{ padding: 0 }} title={<span style={{ fontSize: 15, fontWeight: 700 }}>报表生成记录</span>} extra={<Button type="link" size="small">更多 <ChevronRight size={14} /></Button>}>
|
||||
<Table
|
||||
rowKey="name"
|
||||
columns={[
|
||||
|
||||
Reference in New Issue
Block a user