import React, { Component } from 'react';
// import { Sym } from '../../Icon/index';
import './style.styl';

class Process extends Component<any> {
    render() {
        const { info = {} } = this.props;
        return (
            <div className="process" id="process">
                <div className="process-head">服务流程</div>
                <div className="process-main">
                    <div className="process-main-qa">
                        {/* <div className="qus">
                            {type === 'plan' ? (
                                <Sym type="quan" />
                            ) : (
                                <div className="huangquan" />
                            )}
                            <div>{info.process.title}</div>
                        </div> */}
                        {info.process.list.map((item: any, index: number) => {
                            return (
                                <div className="as" key={index}>
                                    {/* {`（${index + 1}）${item}`} */}
                                    {item}
                                </div>
                            );
                        })}
                    </div>
                </div>
                {/* {type === 'plan' ? (
                    <div className="process-all">查看全部</div>
                ) : (
                    ''
                )} */}
            </div>
        );
    }
}

export default Process;
