import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Link } from 'dva/router'; import { Card, Avatar, 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 = (

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

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

{item.description}

)} />
)) }
); } }