diff --git a/src/routes/Dashboard/Analysis.js b/src/routes/Dashboard/Analysis.js index 014289f973ef7c6a853d24e73c51a86db5e117d8..c5688db32fd4f8018d96d12377ae6f281703217d 100644 --- a/src/routes/Dashboard/Analysis.js +++ b/src/routes/Dashboard/Analysis.js @@ -88,7 +88,7 @@ export default class Analysis extends Component { salesTypeData, salesTypeDataOnline, salesTypeDataOffline, - } = chart; + } = chart; const salesPieData = salesType === 'all' ? salesTypeData @@ -253,30 +253,60 @@ export default class Analysis extends Component { - +
+ +
-

门店销售额排名

-
    - { - rankingListData.map((item, i) => ( -
  • - {i + 1} - {item.title} - {numeral(item.total).format('0,0')} -
  • - )) - } -
+
+

门店销售额排名

+
    + { + rankingListData.map((item, i) => ( +
  • + {i + 1} + {item.title} + {numeral(item.total).format('0,0')} +
  • + )) + } +
+
- - 访问量没有, 因为偷懒了 + + + +
+ +
+ + +
+

门店访问量排名

+
    + { + rankingListData.map((item, i) => ( +
  • + {i + 1} + {item.title} + {numeral(item.total).format('0,0')} +
  • + )) + } +
+
+ +
@@ -390,4 +420,4 @@ export default class Analysis extends Component { ); } -} + } diff --git a/src/routes/Dashboard/Analysis.less b/src/routes/Dashboard/Analysis.less index 69eb7a1d42c0e3edfeef5d97abf3ce43c4908969..e9732adb35450c5b31625acaacc5806e8df55e8d 100644 --- a/src/routes/Dashboard/Analysis.less +++ b/src/routes/Dashboard/Analysis.less @@ -57,10 +57,13 @@ } .salesCard { + .salesBar { + padding: 0 0 24px 24px; + } + .salesRank { + padding: 0 24px 24px 0; + } :global { - .ant-tabs-content { - padding: 0 24px 24px 24px; - } .ant-tabs-bar { padding-left: 24px; .ant-tabs-nav .ant-tabs-tab {