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

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

export default VList;