MapContainer.js 748 B

123456789101112131415161718192021222324
  1. import React from "react";
  2. import { connect } from "dva";
  3. import WorldMap from "./WorldMap"
  4. import styles from "../styles/map_container.less";
  5. const MapContainer = ({ data, loading, dispatch }) => {
  6. return (
  7. <div className={styles.map_container}>
  8. <img
  9. className={styles.map_container_img}
  10. src={require("../../../../assets/bigscreen/overview-bg.png")}
  11. />
  12. <span className={styles.map_container_title}>会员地域分布</span>
  13. <div className={styles.map_container_content}>
  14. <WorldMap></WorldMap>
  15. </div>
  16. </div>
  17. );
  18. };
  19. export default connect(({ bigscreen }) => ({
  20. // data: bigscreen.memberAddTrendData.data,
  21. // loading: bigscreen.memberAddTrendData.loading,
  22. }))(MapContainer);