
import bg from "~/assets/images/public/white/bg.png";
import "./index.less";
import Header from "~/pages/Container/Share/components/Header";
import Left from "~/pages/Container/Share/components/LeftPanel";
import Middle from "~/pages/Container/Share/components/MiddlePanel";
import Right from "~/pages/Container/Share/components/RightPanel";
import {useMount} from "ahooks";
import autoFit from "autofit.js";

function WhiteShareOffice() {
  useMount(() => {
    autoFit.init({ dw: 1920, dh: 1080, el: ".white_branch_office", resize: true });
  });
  return (
    <div className="white_share_office" style={{ backgroundImage: `url(${bg})` }}>
      <Header />
    <div className="white_share_office_content">
      <div className="left">
        <Left/>
      </div>
      <div className="middle">
        <Middle/>
      </div>
      <div className="right">
        <Right/>
      </div>
    </div>
    </div>
  );
}

export default WhiteShareOffice;
