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