import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Card, Button, Icon, List } from 'antd'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import styles from './CardList.less'; @connect(state => ({ list: state.list, })) export default class CardList extends PureComponent { componentDidMount() { this.props.dispatch({ type: 'list/fetch', payload: { count: 8, }, }); } render() { const { list: { list, loading } } = this.props; const content = (

段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态, 提供跨越设计与开发的体验解决方案。

快速开始 产品简介 产品文档
); const extraContent = (
这是一个标题
); return (
(item ? ( 操作一, 操作二]}> } title={{item.title}} description={(

{item.description}

)} />
) : ( ) )} />
); } }