diff --git a/src/components/Trend/index.less b/src/components/Trend/index.less index 92985b2686f9bab57df06f8f850b31272b9c5fe8..47f39a30f93c1c19b7178679fabb4cabee4d3b05 100644 --- a/src/components/Trend/index.less +++ b/src/components/Trend/index.less @@ -6,9 +6,6 @@ font-size: @font-size-base; line-height: 22px; - & + & { - margin-left: 16px; - } .up, .down { margin-left: 4px; diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 6f3c142324bbc9835c5fcccabc1c1312859fc742..f2c3ae47b93ae18a6b8d8db74b78f930540a3003 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -228,16 +228,12 @@ export default class Analysis extends Component { footer={} contentHeight={46} > -
- - 周同比 - 12% - - - 日环比 - 11% - -
+ + 周同比12% + + + 日环比11% + @@ -279,14 +275,12 @@ export default class Analysis extends Component { total="78%" footer={
- - 周同比 - 12% - - - 日环比 - 11% - + + 周同比12% + + + 日环比11% +
} contentHeight={46} diff --git a/src/routes/Dashboard/Analysis.less b/src/routes/Dashboard/Analysis.less index 19897eafb258962fd2d413fc5afb7d7e05131348..6ad7c2a0f30c31c2661048a2023f60184f299c72 100644 --- a/src/routes/Dashboard/Analysis.less +++ b/src/routes/Dashboard/Analysis.less @@ -134,7 +134,7 @@ th.alignRight { text-align: right!important; } -.trend { +.trendText { margin-left: 8px; color: @heading-color; }