import React from 'react';
import FootBtn from '../Form/FootBtn';
import Icon from '../../components/Icon/index';
import './style.styl';
interface Props {
    next: any;
}

const BottomBar = (props: Props) => {
    return (
        <FootBtn>
            <div className="goods-bottom-bar">
                <a className="goods-ask-service" href="tel:400-606-5999">
                    <Icon className="service-icon" type="service" />
                    <span className="service">咨询客服</span>
                </a>
                <div className="goods-buy-btn" onClick={props.next}>
                    立即购买
                </div>
            </div>
        </FootBtn>
    );
};

export default BottomBar;
