index.jsx 500 Bytes
Newer Older
1 2 3 4 5 6 7 8
/**
 * 徐立
 * 2019年9月19日
 * 查看详情底层模板,内容不做添加
 */
import React, { Component } from 'react'
import styles from './index.less'
export default class Card extends Component {
9 10 11
  constructor(props) {
    super(props);
  }
12 13 14
    render() {
        return (
            <div className={styles.div}>
15
                <div  className={styles.card} style={this.props.style}>
16 17 18 19 20 21
                    {this.props.children}
                </div>
            </div>
        )
    }
}