import React, { Component } from "react";
import style from "./index.less";
import logo from '../../images/logoa.png'
import setup from '../../images/setup.png';
class Banner extends Component {
  render(){
    const {src,text, children} = this.props;

    return <div className={style['banner-wrapper']+" "+"clearfix"}>
         <div className={style['logo']}> <img src={logo}/><span >|&nbsp;&nbsp;智能辅助临床决策系统</span>
            <div className={style['buon']}><img className={style['st']} src={setup}/>设置</div>
            </div>
      {children?<div className='fl'>{children}</div>:''}
    </div>;
  }
}

export default Banner;
