Commit 5e0d8684 authored by afc163's avatar afc163

Remove unneccessary card noHovering prop

parent f6c32c25
...@@ -153,7 +153,6 @@ export default class Workplace extends PureComponent { ...@@ -153,7 +153,6 @@ export default class Workplace extends PureComponent {
<Card <Card
className={styles.projectList} className={styles.projectList}
style={{ marginBottom: 24 }} style={{ marginBottom: 24 }}
noHovering
title="进行中的项目" title="进行中的项目"
bordered={false} bordered={false}
extra={<Link to="/">全部项目</Link>} extra={<Link to="/">全部项目</Link>}
...@@ -163,7 +162,7 @@ export default class Workplace extends PureComponent { ...@@ -163,7 +162,7 @@ export default class Workplace extends PureComponent {
{ {
!projectLoading && notice.length > 0 && notice.map(item => ( !projectLoading && notice.length > 0 && notice.map(item => (
<Card.Grid className={styles.projectGrid} key={item.id}> <Card.Grid className={styles.projectGrid} key={item.id}>
<Card noHovering bodyStyle={{ padding: 0 }} bordered={false}> <Card bodyStyle={{ padding: 0 }} bordered={false}>
<Card.Meta <Card.Meta
avatar={<Avatar src={item.logo} />} avatar={<Avatar src={item.logo} />}
title={<Link to={item.href}>{item.title}</Link>} title={<Link to={item.href}>{item.title}</Link>}
...@@ -181,7 +180,6 @@ export default class Workplace extends PureComponent { ...@@ -181,7 +180,6 @@ export default class Workplace extends PureComponent {
} }
</Card> </Card>
<Card <Card
noHovering
style={{ marginBottom: 24 }} style={{ marginBottom: 24 }}
bodyStyle={{ padding: 0 }} bodyStyle={{ padding: 0 }}
bordered={false} bordered={false}
...@@ -208,7 +206,6 @@ export default class Workplace extends PureComponent { ...@@ -208,7 +206,6 @@ export default class Workplace extends PureComponent {
<Col lg={8} md={24} sm={24} xs={24}> <Col lg={8} md={24} sm={24} xs={24}>
<Card <Card
style={{ marginBottom: 24 }} style={{ marginBottom: 24 }}
noHovering
title="快速开始 / 便捷导航" title="快速开始 / 便捷导航"
bordered={false} bordered={false}
bodyStyle={{ padding: 0 }} bodyStyle={{ padding: 0 }}
...@@ -220,7 +217,6 @@ export default class Workplace extends PureComponent { ...@@ -220,7 +217,6 @@ export default class Workplace extends PureComponent {
</Card> </Card>
<Card <Card
style={{ marginBottom: 24 }} style={{ marginBottom: 24 }}
noHovering
bordered={false} bordered={false}
title="xx 指数" title="xx 指数"
> >
...@@ -235,7 +231,6 @@ export default class Workplace extends PureComponent { ...@@ -235,7 +231,6 @@ export default class Workplace extends PureComponent {
</div> </div>
</Card> </Card>
<Card <Card
noHovering
bodyStyle={{ paddingBottom: 0 }} bodyStyle={{ paddingBottom: 0 }}
bordered={false} bordered={false}
title="团队" title="团队"
......
...@@ -48,7 +48,7 @@ export default class BasicForms extends PureComponent { ...@@ -48,7 +48,7 @@ export default class BasicForms extends PureComponent {
return ( return (
<PageHeaderLayout title="基础表单" content="表单页是向后台提交数据的标准场景。"> <PageHeaderLayout title="基础表单" content="表单页是向后台提交数据的标准场景。">
<Card bordered={false} noHovering> <Card bordered={false}>
<Form onSubmit={this.handleSubmit} hideRequiredMark style={{ marginTop: 24 }}> <Form onSubmit={this.handleSubmit} hideRequiredMark style={{ marginTop: 24 }}>
<FormItem <FormItem
{...formItemLayout} {...formItemLayout}
......
...@@ -67,10 +67,7 @@ export default class CardList extends PureComponent { ...@@ -67,10 +67,7 @@ export default class CardList extends PureComponent {
list && list.map(item => ( list && list.map(item => (
<List.Item key={item.id}> <List.Item key={item.id}>
<Link to="/list/card-list"> <Link to="/list/card-list">
<Card <Card actions={[<a>操作一</a>, <a>操作二</a>]}>
noHovering={false}
actions={[<a>操作一</a>, <a>操作二</a>]}
>
<Card.Meta <Card.Meta
avatar={<Avatar size="large" src={item.avatar} />} avatar={<Avatar size="large" src={item.avatar} />}
title={item.title} title={item.title}
......
...@@ -146,13 +146,8 @@ export default class CoverCardList extends PureComponent { ...@@ -146,13 +146,8 @@ export default class CoverCardList extends PureComponent {
onTabChange={this.handleTabChange} onTabChange={this.handleTabChange}
> >
<div className={styles.coverCardList}> <div className={styles.coverCardList}>
<Card <Card bordered={false}>
bordered={false} <Form layout="inline">
noHovering
>
<Form
layout="inline"
>
<StandardFormRow title="所属类目" block> <StandardFormRow title="所属类目" block>
<FormItem> <FormItem>
{getFieldDecorator('category')( {getFieldDecorator('category')(
......
...@@ -133,13 +133,8 @@ export default class FilterCardList extends PureComponent { ...@@ -133,13 +133,8 @@ export default class FilterCardList extends PureComponent {
onTabChange={this.handleTabChange} onTabChange={this.handleTabChange}
> >
<div className={styles.filterCardList}> <div className={styles.filterCardList}>
<Card <Card bordered={false}>
noHovering <Form layout="inline">
bordered={false}
>
<Form
layout="inline"
>
<StandardFormRow title="所属类目" block> <StandardFormRow title="所属类目" block>
<FormItem> <FormItem>
{getFieldDecorator('category')( {getFieldDecorator('category')(
......
...@@ -169,7 +169,7 @@ export default class SearchList extends Component { ...@@ -169,7 +169,7 @@ export default class SearchList extends Component {
onTabChange={this.handleTabChange} onTabChange={this.handleTabChange}
> >
<div> <div>
<Card noHovering bordered={false}> <Card bordered={false}>
<Form layout="inline"> <Form layout="inline">
<StandardFormRow title="所属类目" block> <StandardFormRow title="所属类目" block>
<FormItem> <FormItem>
......
...@@ -170,7 +170,7 @@ export default class TableList extends PureComponent { ...@@ -170,7 +170,7 @@ export default class TableList extends PureComponent {
return ( return (
<PageHeaderLayout title="标准表格"> <PageHeaderLayout title="标准表格">
<Card noHovering bordered={false}> <Card bordered={false}>
<div className={styles.tableList}> <div className={styles.tableList}>
<div className={styles.tableListForm}> <div className={styles.tableListForm}>
<Form onSubmit={this.handleSearch}> <Form onSubmit={this.handleSearch}>
......
...@@ -188,7 +188,7 @@ export default class AdvancedProfile extends Component { ...@@ -188,7 +188,7 @@ export default class AdvancedProfile extends Component {
extraContent={extra} extraContent={extra}
tabList={tabList} tabList={tabList}
> >
<Card noHovering title="流程进度" style={{ marginBottom: 24 }} bordered={false}> <Card title="流程进度" style={{ marginBottom: 24 }} bordered={false}>
<Steps progressDot={customDot} current={1}> <Steps progressDot={customDot} current={1}>
<Step title="创建项目" description={desc1} /> <Step title="创建项目" description={desc1} />
<Step title="部门初审" description={desc2} /> <Step title="部门初审" description={desc2} />
...@@ -196,7 +196,7 @@ export default class AdvancedProfile extends Component { ...@@ -196,7 +196,7 @@ export default class AdvancedProfile extends Component {
<Step title="完成" /> <Step title="完成" />
</Steps> </Steps>
</Card> </Card>
<Card noHovering title="用户信息" style={{ marginBottom: 24 }} bordered={false}> <Card title="用户信息" style={{ marginBottom: 24 }} bordered={false}>
<DescriptionList style={{ marginBottom: 24 }}> <DescriptionList style={{ marginBottom: 24 }}>
<Description term="用户姓名">付小小</Description> <Description term="用户姓名">付小小</Description>
<Description term="会员卡号">32943898021309809423</Description> <Description term="会员卡号">32943898021309809423</Description>
...@@ -222,7 +222,7 @@ export default class AdvancedProfile extends Component { ...@@ -222,7 +222,7 @@ export default class AdvancedProfile extends Component {
</Description> </Description>
<Description term="该数据更新时间">2017-08-08</Description> <Description term="该数据更新时间">2017-08-08</Description>
</DescriptionList> </DescriptionList>
<Card noHovering type="inner" title="多层级信息组"> <Card type="inner" title="多层级信息组">
<DescriptionList style={{ marginBottom: 16 }} title="组名称"> <DescriptionList style={{ marginBottom: 16 }} title="组名称">
<Description term="负责人">林东东</Description> <Description term="负责人">林东东</Description>
<Description term="角色码">1234567</Description> <Description term="角色码">1234567</Description>
...@@ -243,13 +243,12 @@ export default class AdvancedProfile extends Component { ...@@ -243,13 +243,12 @@ export default class AdvancedProfile extends Component {
</DescriptionList> </DescriptionList>
</Card> </Card>
</Card> </Card>
<Card noHovering title="用户近半年来电记录" style={{ marginBottom: 24 }} bordered={false}> <Card title="用户近半年来电记录" style={{ marginBottom: 24 }} bordered={false}>
<div className={styles.noData}> <div className={styles.noData}>
<Icon type="frown-o" /> 暂无数据 <Icon type="frown-o" /> 暂无数据
</div> </div>
</Card> </Card>
<Card <Card
noHovering
className={styles.tabsCard} className={styles.tabsCard}
bordered={false} bordered={false}
tabList={operationTabList} tabList={operationTabList}
......
...@@ -23,7 +23,7 @@ const actions = <Button size="large" type="primary">返回修改</Button>; ...@@ -23,7 +23,7 @@ const actions = <Button size="large" type="primary">返回修改</Button>;
export default () => ( export default () => (
<PageHeaderLayout> <PageHeaderLayout>
<Card bordered={false} noHovering> <Card bordered={false}>
<Result <Result
type="error" type="error"
title="提交失败" title="提交失败"
......
...@@ -52,7 +52,7 @@ const actions = ( ...@@ -52,7 +52,7 @@ const actions = (
export default () => ( export default () => (
<PageHeaderLayout> <PageHeaderLayout>
<Card bordered={false} noHovering> <Card bordered={false}>
<Result <Result
type="success" type="success"
title="提交成功" title="提交成功"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment