Commit 59d0ddc4 authored by afc163's avatar afc163

fix style

parent 435434d2
...@@ -228,14 +228,16 @@ export default class Analysis extends Component { ...@@ -228,14 +228,16 @@ export default class Analysis extends Component {
footer={<Field label="日均销售额" value={`¥${numeral(12423).format('0,0')}`} />} footer={<Field label="日均销售额" value={`¥${numeral(12423).format('0,0')}`} />}
contentHeight={46} contentHeight={46}
> >
<span> <div style={{ whiteSpace: 'nowrap', overflow: 'hidden' }}>
周同比 <span>
<Trend flag="up" className={styles.trend}>12%</Trend> 周同比
</span> <Trend flag="up" className={styles.trend}>12%</Trend>
<span style={{ marginLeft: 16 }}> </span>
日环比 <span style={{ marginLeft: 16 }}>
<Trend flag="down" className={styles.trend}>11%</Trend> 日环比
</span> <Trend flag="down" className={styles.trend}>11%</Trend>
</span>
</div>
</ChartCard> </ChartCard>
</Col> </Col>
<Col {...topColResponsiveProps}> <Col {...topColResponsiveProps}>
...@@ -276,7 +278,7 @@ export default class Analysis extends Component { ...@@ -276,7 +278,7 @@ export default class Analysis extends Component {
action={<Tooltip title="指标说明"><Icon type="info-circle-o" /></Tooltip>} action={<Tooltip title="指标说明"><Icon type="info-circle-o" /></Tooltip>}
total="78%" total="78%"
footer={ footer={
<div> <div style={{ whiteSpace: 'nowrap', overflow: 'hidden' }}>
<span> <span>
周同比 周同比
<Trend flag="up" className={styles.trend}>12%</Trend> <Trend flag="up" className={styles.trend}>12%</Trend>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment