import Ellipsis from '@/components/Ellipsis'; import PageHeaderWrapper from '@/components/PageHeaderWrapper'; import { Button, Card, Icon, List } from 'antd'; import { connect } from 'dva'; import React, { Component } from 'react'; import styles from './CardList.less'; import { IRuleModelState } from './models/rule'; interface ICardListProps { list: IRuleModelState; dispatch: (args: any) => void; loading: boolean; } @connect(({ list, loading }) => ({ list, loading: loading.models.list, })) class CardList extends Component { componentDidMount() { const { dispatch } = 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} } /> ) : ( ) } />
); } } export default CardList;