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
c1e9e800
Commit
c1e9e800
authored
Sep 03, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use filled icons
parent
efa6ba5b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/components/Result/demo/classic.md
src/components/Result/demo/classic.md
+2
-2
src/components/Result/demo/error.md
src/components/Result/demo/error.md
+2
-2
src/components/Result/index.js
src/components/Result/index.js
+2
-2
No files found.
src/components/Result/demo/classic.md
View file @
c1e9e800
...
...
@@ -15,7 +15,7 @@ const desc1 = (
<
div
style
=
{
{
fontSize
:
14
,
position
:
'
relative
'
,
left
:
38
}
}
>
<
div
style
=
{
{
marginTop
:
8
,
marginBottom
:
4
}
}
>
曲丽丽
<
Icon
type
=
"dingding
-o
"
style
=
{
{
marginLeft
:
8
}
}
/>
<
Icon
type
=
"dingding"
style
=
{
{
marginLeft
:
8
}
}
/>
</
div
>
<
div
style
=
{
{
marginTop
:
8
,
marginBottom
:
4
}
}
>
2016-12-12 12:32
</
div
>
</
div
>
...
...
@@ -25,7 +25,7 @@ const desc2 = (
<
div
style
=
{
{
fontSize
:
14
,
position
:
'
relative
'
,
left
:
38
}
}
>
<
div
style
=
{
{
marginTop
:
8
,
marginBottom
:
4
}
}
>
周毛毛
<
Icon
type
=
"dingding
-o
"
style
=
{
{
color
:
'
#00A0E9
'
,
marginLeft
:
8
}
}
/>
<
Icon
type
=
"dingding"
style
=
{
{
color
:
'
#00A0E9
'
,
marginLeft
:
8
}
}
/>
</
div
>
<
div
style
=
{
{
marginTop
:
8
,
marginBottom
:
4
}
}
><
a
href
=
""
>
催一下
</
a
></
div
>
</
div
>
...
...
src/components/Result/demo/error.md
View file @
c1e9e800
...
...
@@ -15,11 +15,11 @@ const extra = (
您提交的内容有如下错误:
</
div
>
<
div
style
=
{
{
marginBottom
:
16
}
}
>
<
Icon
style
=
{
{
color
:
'
#f5222d
'
,
marginRight
:
8
}
}
type
=
"close-circle
-o
"
/>
您的账户已被冻结
<
Icon
style
=
{
{
color
:
'
#f5222d
'
,
marginRight
:
8
}
}
type
=
"close-circle"
/>
您的账户已被冻结
<
a
style
=
{
{
marginLeft
:
16
}
}
>
立即解冻
<
Icon
type
=
"right"
/></
a
>
</
div
>
<
div
>
<
Icon
style
=
{
{
color
:
'
#f5222d
'
,
marginRight
:
8
}
}
type
=
"close-circle
-o
"
/>
您的账户还不具备申请资格
<
Icon
style
=
{
{
color
:
'
#f5222d
'
,
marginRight
:
8
}
}
type
=
"close-circle"
/>
您的账户还不具备申请资格
<
a
style
=
{
{
marginLeft
:
16
}
}
>
立即升级
<
Icon
type
=
"right"
/></
a
>
</
div
>
</
div
>
...
...
src/components/Result/index.js
View file @
c1e9e800
...
...
@@ -13,8 +13,8 @@ export default function Result({
...
restProps
})
{
const
iconMap
=
{
error
:
<
Icon
className
=
{
styles
.
error
}
type
=
"
close-circle
"
/>
,
success
:
<
Icon
className
=
{
styles
.
success
}
type
=
"
check-circle
"
/>
,
error
:
<
Icon
className
=
{
styles
.
error
}
type
=
"
close-circle
"
theme
=
"
filled
"
/>
,
success
:
<
Icon
className
=
{
styles
.
success
}
type
=
"
check-circle
"
theme
=
"
filled
"
/>
,
};
const
clsString
=
classNames
(
styles
.
result
,
className
);
return
(
...
...
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