import "./left.less";
import Orgin from "./orgin";
import Pover from "./pover";
import Turn from './turn';
const HomeLeft = () => {
  // const openDispatch = () => {
  // 位置移动
  // MapUtl.makerList[0].setPosition([103.55, 30.342]);
  // var m = MapUtl.amap;
  // var newIcon = new m.Icon({
  //   image: "//a.amap.com/jsapi_demos/static/demo-center/icons/dir-marker.png", //Icon 的图像
  //   size: new m.Size(25, 34), // 图标大小
  //   anchor: new m.Pixel(12, 32), // 图标锚点
  // });
  // MapUtl.makerList[0].setIcon(newIcon);
  // };

  return (
    <div className="left_container">
      <div className="org">
        <div className="org_head">
          <p>组织架构</p>
        </div>
        <Orgin />
      </div>
      <div className="org">
        <div className="org_head">
          <p>武装力量</p>
        </div>
        <Pover />
      </div>
      <div className="org">
        <div className="org_head">
          <p>年度训练</p>
        </div>
        <Turn />
      </div>
    </div>
  );
};
export default HomeLeft;
