|
@@ -3,7 +3,6 @@ import { connect } from 'dva';
|
|
|
import { Row, Col, Card } from 'antd';
|
|
import { Row, Col, Card } from 'antd';
|
|
|
import numeral from 'numeral';
|
|
import numeral from 'numeral';
|
|
|
|
|
|
|
|
-import PageHeaderLayout from '../../layouts/PageHeaderLayout';
|
|
|
|
|
import { NumberInfo, MiniArea, Pie, WaterWave, Gauge } from '../../components/Charts';
|
|
import { NumberInfo, MiniArea, Pie, WaterWave, Gauge } from '../../components/Charts';
|
|
|
import MapChart from '../../components/MapChart';
|
|
import MapChart from '../../components/MapChart';
|
|
|
import TagCloud from '../../components/TagCloud';
|
|
import TagCloud from '../../components/TagCloud';
|
|
@@ -45,12 +44,10 @@ export default class Monitor extends PureComponent {
|
|
|
const { tags } = monitor;
|
|
const { tags } = monitor;
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
- <PageHeaderLayout
|
|
|
|
|
- title="大盘监控"
|
|
|
|
|
- >
|
|
|
|
|
|
|
+ <div>
|
|
|
<Row gutter={24}>
|
|
<Row gutter={24}>
|
|
|
<Col lg={16} md={24} sm={24} xs={24} style={{ marginBottom: 24 }}>
|
|
<Col lg={16} md={24} sm={24} xs={24} style={{ marginBottom: 24 }}>
|
|
|
- <Card title="活动实时交易情况">
|
|
|
|
|
|
|
+ <Card title="活动实时交易情况" bordered={false}>
|
|
|
<Row>
|
|
<Row>
|
|
|
<Col sm={6} xs={12}>
|
|
<Col sm={6} xs={12}>
|
|
|
<NumberInfo
|
|
<NumberInfo
|
|
@@ -85,7 +82,7 @@ export default class Monitor extends PureComponent {
|
|
|
</Card>
|
|
</Card>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col lg={8} md={24} sm={24} xs={24}>
|
|
<Col lg={8} md={24} sm={24} xs={24}>
|
|
|
- <Card title="活动情况预测" style={{ marginBottom: 24 }}>
|
|
|
|
|
|
|
+ <Card title="活动情况预测" style={{ marginBottom: 24 }} bordered={false}>
|
|
|
<div className={styles.activeChart}>
|
|
<div className={styles.activeChart}>
|
|
|
<NumberInfo
|
|
<NumberInfo
|
|
|
subTitle="目标评估"
|
|
subTitle="目标评估"
|
|
@@ -125,7 +122,12 @@ export default class Monitor extends PureComponent {
|
|
|
}
|
|
}
|
|
|
</div>
|
|
</div>
|
|
|
</Card>
|
|
</Card>
|
|
|
- <Card title="券核效率" style={{ marginBottom: 24 }} bodyStyle={{ textAlign: 'center' }}>
|
|
|
|
|
|
|
+ <Card
|
|
|
|
|
+ title="券核效率"
|
|
|
|
|
+ style={{ marginBottom: 24 }}
|
|
|
|
|
+ bodyStyle={{ textAlign: 'center' }}
|
|
|
|
|
+ bordered={false}
|
|
|
|
|
+ >
|
|
|
<Gauge
|
|
<Gauge
|
|
|
title="跳出率"
|
|
title="跳出率"
|
|
|
height={164}
|
|
height={164}
|
|
@@ -136,7 +138,11 @@ export default class Monitor extends PureComponent {
|
|
|
</Row>
|
|
</Row>
|
|
|
<Row gutter={24}>
|
|
<Row gutter={24}>
|
|
|
<Col sm={8} xs={24}>
|
|
<Col sm={8} xs={24}>
|
|
|
- <Card title="各品类占比" style={{ marginBottom: 24 }}>
|
|
|
|
|
|
|
+ <Card
|
|
|
|
|
+ title="各品类占比"
|
|
|
|
|
+ style={{ marginBottom: 24 }}
|
|
|
|
|
+ bordered={false}
|
|
|
|
|
+ >
|
|
|
<Row style={{ padding: '18px 0 19px 0' }}>
|
|
<Row style={{ padding: '18px 0 19px 0' }}>
|
|
|
<Col span={8}>
|
|
<Col span={8}>
|
|
|
<Pie
|
|
<Pie
|
|
@@ -168,7 +174,7 @@ export default class Monitor extends PureComponent {
|
|
|
</Card>
|
|
</Card>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col sm={8} xs={24} style={{ marginBottom: 24 }}>
|
|
<Col sm={8} xs={24} style={{ marginBottom: 24 }}>
|
|
|
- <Card title="热门搜索">
|
|
|
|
|
|
|
+ <Card title="热门搜索" bordered={false}>
|
|
|
<TagCloud
|
|
<TagCloud
|
|
|
data={tags}
|
|
data={tags}
|
|
|
height={161}
|
|
height={161}
|
|
@@ -176,7 +182,7 @@ export default class Monitor extends PureComponent {
|
|
|
</Card>
|
|
</Card>
|
|
|
</Col>
|
|
</Col>
|
|
|
<Col sm={8} xs={24} style={{ marginBottom: 24 }}>
|
|
<Col sm={8} xs={24} style={{ marginBottom: 24 }}>
|
|
|
- <Card title="资源剩余" bodyStyle={{ textAlign: 'center' }}>
|
|
|
|
|
|
|
+ <Card title="资源剩余" bodyStyle={{ textAlign: 'center' }} bordered={false}>
|
|
|
<WaterWave
|
|
<WaterWave
|
|
|
height={161}
|
|
height={161}
|
|
|
title="补贴资金剩余"
|
|
title="补贴资金剩余"
|
|
@@ -185,7 +191,7 @@ export default class Monitor extends PureComponent {
|
|
|
</Card>
|
|
</Card>
|
|
|
</Col>
|
|
</Col>
|
|
|
</Row>
|
|
</Row>
|
|
|
- </PageHeaderLayout>
|
|
|
|
|
|
|
+ </div>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|