index.js 472 Bytes
Newer Older
1 2 3 4 5
import React from 'react';
import './index.scss'

const VList = (props) => {
    return (
xuzhenghua committed
6
        <li className='v-list-item' onClick={e=>props.handleClick(props.id)}>
7
            <div className="content">
xuzhenghua committed
8
                <div className="cover">
xuzhenghua committed
9
                    {props.status}
zhanghaozhe committed
10
                    <img src={props.img} alt=""/>
11 12 13
                </div>
                {props.info}
            </div>
.  
baiguangyao committed
14
            {props.tab}
15 16 17 18 19
        </li>
    );
};

export default VList;