Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
5e0d8684
Commit
5e0d8684
authored
Sep 14, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneccessary card noHovering prop
parent
f6c32c25
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
34 deletions
+15
-34
src/routes/Dashboard/Workplace.js
src/routes/Dashboard/Workplace.js
+1
-6
src/routes/Forms/BasicForm.js
src/routes/Forms/BasicForm.js
+1
-1
src/routes/List/CardList.js
src/routes/List/CardList.js
+1
-4
src/routes/List/CoverCardList.js
src/routes/List/CoverCardList.js
+2
-7
src/routes/List/FilterCardList.js
src/routes/List/FilterCardList.js
+2
-7
src/routes/List/SearchList.js
src/routes/List/SearchList.js
+1
-1
src/routes/List/TableList.js
src/routes/List/TableList.js
+1
-1
src/routes/Profile/AdvancedProfile.js
src/routes/Profile/AdvancedProfile.js
+4
-5
src/routes/Result/Error.js
src/routes/Result/Error.js
+1
-1
src/routes/Result/Success.js
src/routes/Result/Success.js
+1
-1
No files found.
src/routes/Dashboard/Workplace.js
View file @
5e0d8684
...
...
@@ -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
=
"
团队
"
...
...
src/routes/Forms/BasicForm.js
View file @
5e0d8684
...
...
@@ -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
}
...
...
src/routes/List/CardList.js
View file @
5e0d8684
...
...
@@ -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
}
...
...
src/routes/List/CoverCardList.js
View file @
5e0d8684
...
...
@@ -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
'
)(
...
...
src/routes/List/FilterCardList.js
View file @
5e0d8684
...
...
@@ -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
'
)(
...
...
src/routes/List/SearchList.js
View file @
5e0d8684
...
...
@@ -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
>
...
...
src/routes/List/TableList.js
View file @
5e0d8684
...
...
@@ -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
}
>
...
...
src/routes/Profile/AdvancedProfile.js
View file @
5e0d8684
...
...
@@ -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
}
...
...
src/routes/Result/Error.js
View file @
5e0d8684
...
...
@@ -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
=
"
提交失败
"
...
...
src/routes/Result/Success.js
View file @
5e0d8684
...
...
@@ -52,7 +52,7 @@ const actions = (
export
default
()
=>
(
<
PageHeaderLayout
>
<
Card
bordered
=
{
false
}
noHovering
>
<
Card
bordered
=
{
false
}
>
<
Result
type
=
"
success
"
title
=
"
提交成功
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment