import back from "~/assets/images/public/white/back.png";
import more from "~/assets/images/public/white/more.png";
import title from "~/assets/images/public/white/title.png";
import bg from "~/assets/images/public/white/titlebg.png";
import "./index.less";

function Header(props) {
  return (
    <div className="white_share_header" style={{ backgroundImage: `url(${bg})` }}>
      <div className="left">
        <div className="back">
          <img
            src={back}
            alt=""
            onClick={() => {
              props.history.goBack();
            }}
          />
        </div>
        <div className="list">已安全生产 365 天</div>
        <div className="list">10~27℃    多云     星期三</div>
      </div>
      <div className="title">
        <img src={title} alt="" />
      </div>
      <div className="right">
        <div className="top">
          <div className="name">股份公司数据统计</div>
          <div className="more">
            <img src={more} alt="" />
          </div>
          <div className="down_main">
            <div className="list">二公司</div>
            <div className="list">六公司</div>
            <div className="list">七公司</div>
            <div className="list">九公司</div>
          </div>
        </div>
      </div>
    </div>
  );
}

export default Header;
