|
|
|
@ -17,7 +17,10 @@ const { Statistic } = StatisticCard;
|
|
|
|
|
|
|
|
|
|
/**styles 组件样式配置 */
|
|
|
|
|
const topColSpanProps = { sm: 24, md: 12, lg: 6 }; // 每个卡片项栅格配置
|
|
|
|
|
const topItemStyle = { marginBottom: 24, height: 190 }; // 每个卡片独立样式
|
|
|
|
|
const topItemStyle = { marginBottom: 24, height: 190, backgroundColor: 'rgba(255, 233, 214, 1)' }; // 每个卡片独立样式
|
|
|
|
|
const topItemStyle1 = { marginBottom: 24, height: 190, backgroundColor: 'rgba(214, 225, 255, 1)' }; // 每个卡片独立样式
|
|
|
|
|
const topItemStyle2 = { marginBottom: 24, height: 190, backgroundColor: 'rgba(221, 213, 253, 1)' }; // 每个卡片独立样式
|
|
|
|
|
const topItemStyle3 = { marginBottom: 24, height: 190, backgroundColor: 'rgba(214, 239, 255, 1)' }; // 每个卡片独立样式
|
|
|
|
|
const topItemHeadStyle = { padding: 15 };
|
|
|
|
|
const chartsStyle = {
|
|
|
|
|
height: 84
|
|
|
|
@ -49,7 +52,7 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
boxShadow
|
|
|
|
|
>
|
|
|
|
|
<StatisticCard
|
|
|
|
|
bodyStyle={{ padding: 0 }}
|
|
|
|
|
bodyStyle={{ padding: 0, backgroundColor: 'rgba(255, 233, 214, 1)' }}
|
|
|
|
|
statistic={{
|
|
|
|
|
value: 1102893,
|
|
|
|
|
style: chartsStyle,
|
|
|
|
@ -64,7 +67,7 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
<>
|
|
|
|
|
<Divider style={{ margin: 5 }} />
|
|
|
|
|
<Space>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0 }}>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0, backgroundColor: 'rgba(255, 233, 214, 1)' }}>
|
|
|
|
|
<Statistic title="日异常量" value="0.00%" />
|
|
|
|
|
</StatisticCard>
|
|
|
|
|
</Space>
|
|
|
|
@ -87,11 +90,11 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
</>
|
|
|
|
|
}
|
|
|
|
|
colSpan={topColSpanProps}
|
|
|
|
|
style={topItemStyle}
|
|
|
|
|
style={topItemStyle1}
|
|
|
|
|
boxShadow
|
|
|
|
|
>
|
|
|
|
|
<StatisticCard
|
|
|
|
|
bodyStyle={{ padding: 0 }}
|
|
|
|
|
bodyStyle={{ padding: 0, backgroundColor: 'rgba(214, 225, 255, 1)' }}
|
|
|
|
|
statistic={{
|
|
|
|
|
value: 467,
|
|
|
|
|
style: chartsStyle,
|
|
|
|
@ -114,7 +117,7 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
<>
|
|
|
|
|
<Divider style={{ margin: 5 }} />
|
|
|
|
|
<Space>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0 }}>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0, backgroundColor: 'rgba(214, 225, 255, 1)' }}>
|
|
|
|
|
<Statistic title="设备量" value="0.00%" />
|
|
|
|
|
</StatisticCard>
|
|
|
|
|
</Space>
|
|
|
|
@ -137,11 +140,11 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
</>
|
|
|
|
|
}
|
|
|
|
|
colSpan={topColSpanProps}
|
|
|
|
|
style={topItemStyle}
|
|
|
|
|
style={topItemStyle2}
|
|
|
|
|
boxShadow
|
|
|
|
|
>
|
|
|
|
|
<StatisticCard
|
|
|
|
|
bodyStyle={{ padding: 0 }}
|
|
|
|
|
bodyStyle={{ padding: 0, backgroundColor: 'rgba(221, 213, 253, 1)' }}
|
|
|
|
|
statistic={{
|
|
|
|
|
value: 3048,
|
|
|
|
|
style:chartsStyle,
|
|
|
|
@ -162,7 +165,7 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
<>
|
|
|
|
|
<Divider style={{ margin: 5 }} />
|
|
|
|
|
<Space>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0 }}>
|
|
|
|
|
<StatisticCard bodyStyle={{ padding: 0, backgroundColor: 'rgba(221, 213, 253, 1)' }}>
|
|
|
|
|
<Statistic title="覆盖网点率" value="0.00%" />
|
|
|
|
|
</StatisticCard>
|
|
|
|
|
</Space>
|
|
|
|
@ -185,11 +188,11 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
</>
|
|
|
|
|
}
|
|
|
|
|
colSpan={topColSpanProps}
|
|
|
|
|
style={topItemStyle}
|
|
|
|
|
style={topItemStyle3}
|
|
|
|
|
boxShadow
|
|
|
|
|
>
|
|
|
|
|
<StatisticCard
|
|
|
|
|
bodyStyle={{ padding: 0 }}
|
|
|
|
|
bodyStyle={{ padding: 0, backgroundColor: 'rgba(214, 239, 255, 1)' }}
|
|
|
|
|
statistic={{
|
|
|
|
|
value: 893,
|
|
|
|
|
style:chartsStyle,
|
|
|
|
@ -218,7 +221,7 @@ const NavInfoCardList: React.FC = () => {
|
|
|
|
|
chart={
|
|
|
|
|
<>
|
|
|
|
|
<Divider style={{ margin: 5 }} />
|
|
|
|
|
<Space style={{ marginTop: 0 }}>
|
|
|
|
|
<Space style={{ marginTop: 0, backgroundColor: 'rgba(214, 239, 255, 1)' }}>
|
|
|
|
|
<Statistic title="周同比" value="12%" trend="up" />
|
|
|
|
|
<Statistic title="日同比" value="11%" trend="down" />
|
|
|
|
|
</Space>
|
|
|
|
|