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
A
ant-design-pro
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
ant-design-pro
Commits
45aa12c3
Commit
45aa12c3
authored
Oct 26, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak card style
parent
12ba3e1d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/routes/List/CardList.js
src/routes/List/CardList.js
+1
-1
src/routes/List/CoverCardList.js
src/routes/List/CoverCardList.js
+1
-1
No files found.
src/routes/List/CardList.js
View file @
45aa12c3
...
@@ -63,7 +63,7 @@ export default class CardList extends PureComponent {
...
@@ -63,7 +63,7 @@ export default class CardList extends PureComponent {
dataSource
=
{[
''
,
...
list
]}
dataSource
=
{[
''
,
...
list
]}
renderItem
=
{
item
=>
(
item
?
(
renderItem
=
{
item
=>
(
item
?
(
<
List
.
Item
key
=
{
item
.
id
}
>
<
List
.
Item
key
=
{
item
.
id
}
>
<
Card
hoverable
actions
=
{[
<
a
>
ζδ½δΈ
<
/a>, <a>ζδ½δΊ</
a
>
]}
>
<
Card
actions
=
{[
<
a
>
ζδ½δΈ
<
/a>, <a>ζδ½δΊ</
a
>
]}
>
<
Link
to
=
"
/list/card-list
"
>
<
Link
to
=
"
/list/card-list
"
>
<
Card
.
Meta
<
Card
.
Meta
avatar
=
{
<
img
alt
=
""
className
=
{
styles
.
cardAvatar
}
src
=
{
item
.
avatar
}
/>
}
avatar
=
{
<
img
alt
=
""
className
=
{
styles
.
cardAvatar
}
src
=
{
item
.
avatar
}
/>
}
...
...
src/routes/List/CoverCardList.js
View file @
45aa12c3
...
@@ -215,7 +215,7 @@ export default class CoverCardList extends PureComponent {
...
@@ -215,7 +215,7 @@ export default class CoverCardList extends PureComponent {
<
/Form
>
<
/Form
>
<
/Card
>
<
/Card
>
<
div
className
=
{
styles
.
cardList
}
>
<
div
className
=
{
styles
.
cardList
}
>
{
cardList
}
{
cardList
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/PageHeaderLayout
>
<
/PageHeaderLayout
>
...
...
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