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
12ba3e1d
Commit
12ba3e1d
authored
Oct 26, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak style
parent
281746e0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
src/routes/List/CardList.js
src/routes/List/CardList.js
+2
-1
src/routes/List/CoverCardList.js
src/routes/List/CoverCardList.js
+1
-1
src/routes/List/CoverCardList.less
src/routes/List/CoverCardList.less
+9
-0
src/routes/List/SearchList.js
src/routes/List/SearchList.js
+1
-1
No files found.
src/routes/List/CardList.js
View file @
12ba3e1d
...
@@ -25,7 +25,8 @@ export default class CardList extends PureComponent {
...
@@ -25,7 +25,8 @@ export default class CardList extends PureComponent {
const
content
=
(
const
content
=
(
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
div
className
=
{
styles
.
pageHeaderContent
}
>
<
p
>
段落示意
:
蚂蚁金服务设计平台
design
.
alipay
.
com
,
用最小的工作量
,
无缝接入蚂蚁金服生态
,
<
p
>
段落示意
:
蚂蚁金服务设计平台
design
.
alipay
.
com
,
用最小的工作量
,
无缝接入蚂蚁金服生态
,
提供跨越设计与开发的体验解决方案
。
提供跨越设计与开发的体验解决方案
。
<
/p
>
<
/p
>
<
div
className
=
{
styles
.
contentLink
}
>
<
div
className
=
{
styles
.
contentLink
}
>
...
...
src/routes/List/CoverCardList.js
View file @
12ba3e1d
...
@@ -81,7 +81,7 @@ export default class CoverCardList extends PureComponent {
...
@@ -81,7 +81,7 @@ export default class CoverCardList extends PureComponent {
cover
=
{
<
img
alt
=
{
item
.
title
}
src
=
{
item
.
cover
}
/>
}
cover
=
{
<
img
alt
=
{
item
.
title
}
src
=
{
item
.
cover
}
/>
}
>
>
<
Card
.
Meta
<
Card
.
Meta
title
=
{
item
.
title
}
title
=
{
<
a
href
=
"
#
"
>
{
item
.
title
}
<
/a>
}
description
=
{
item
.
subDescription
}
description
=
{
item
.
subDescription
}
/
>
/
>
<
div
className
=
{
styles
.
cardItemContent
}
>
<
div
className
=
{
styles
.
cardItemContent
}
>
...
...
src/routes/List/CoverCardList.less
View file @
12ba3e1d
...
@@ -4,8 +4,17 @@
...
@@ -4,8 +4,17 @@
.coverCardList {
.coverCardList {
margin-bottom: -24px;
margin-bottom: -24px;
:global {
:global {
.ant-card-meta-title > a {
color: @heading-color;
}
.ant-card:hover .ant-card-meta-title > a {
color: @primary-color;
}
.ant-card-meta-description {
.ant-card-meta-description {
color: @text-color;
color: @text-color;
height: 44px;
line-height: 22px;
overflow: hidden;
}
}
}
}
.cardItemContent {
.cardItemContent {
...
...
src/routes/List/SearchList.js
View file @
12ba3e1d
...
@@ -282,7 +282,7 @@ export default class SearchList extends Component {
...
@@ -282,7 +282,7 @@ export default class SearchList extends Component {
<
Card
<
Card
style
=
{{
marginTop
:
24
}}
style
=
{{
marginTop
:
24
}}
bordered
=
{
false
}
bordered
=
{
false
}
bodyStyle
=
{{
padding
:
'
12px 24px 32px 24
px
'
}}
bodyStyle
=
{{
padding
:
'
8px 32px 32px 32
px
'
}}
>
>
<
List
<
List
size
=
"
large
"
size
=
"
large
"
...
...
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