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
cb286ee4
Commit
cb286ee4
authored
Oct 09, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove size="large"
parent
c320f1b2
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
21 additions
and
24 deletions
+21
-24
src/components/Exception/demo/403.md
src/components/Exception/demo/403.md
+2
-2
src/components/Exception/index.js
src/components/Exception/index.js
+1
-1
src/components/PageHeader/demo/standard.md
src/components/PageHeader/demo/standard.md
+3
-3
src/components/Result/demo/classic.md
src/components/Result/demo/classic.md
+3
-3
src/components/Result/demo/error.md
src/components/Result/demo/error.md
+1
-1
src/routes/Profile/AdvancedProfile.js
src/routes/Profile/AdvancedProfile.js
+4
-4
src/routes/Result/Error.js
src/routes/Result/Error.js
+1
-1
src/routes/Result/Success.js
src/routes/Result/Success.js
+3
-3
src/routes/User/Register.js
src/routes/User/Register.js
+1
-4
src/routes/User/RegisterResult.js
src/routes/User/RegisterResult.js
+2
-2
No files found.
src/components/Exception/demo/403.md
View file @
cb286ee4
...
@@ -11,8 +11,8 @@ import { Button } from 'antd';
...
@@ -11,8 +11,8 @@ import { Button } from 'antd';
const
actions
=
(
const
actions
=
(
<
div
>
<
div
>
<
Button
type
=
"primary"
size
=
"large"
>
ๅๅฐ้ฆ้กต
</
Button
>
<
Button
type
=
"primary"
>
ๅๅฐ้ฆ้กต
</
Button
>
<
Button
size
=
"large"
>
ๆฅ็่ฏฆๆ
</
Button
>
<
Button
>
ๆฅ็่ฏฆๆ
</
Button
>
</
div
>
</
div
>
);
);
ReactDOM
.
render
(
ReactDOM
.
render
(
...
...
src/components/Exception/index.js
View file @
cb286ee4
...
@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {
...
@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {
<
h1
>
{
title
||
config
[
pageType
].
title
}
<
/h1
>
<
h1
>
{
title
||
config
[
pageType
].
title
}
<
/h1
>
<
div
className
=
{
styles
.
desc
}
>
{
desc
||
config
[
pageType
].
desc
}
<
/div
>
<
div
className
=
{
styles
.
desc
}
>
{
desc
||
config
[
pageType
].
desc
}
<
/div
>
<
div
className
=
{
styles
.
actions
}
>
<
div
className
=
{
styles
.
actions
}
>
{
actions
||
<
Link
to
=
"
/
"
><
Button
size
=
"
large
"
type
=
"
primary
"
>
่ฟๅ้ฆ้กต
<
/Button></
Link
>
}
{
actions
||
<
Link
to
=
"
/
"
><
Button
type
=
"
primary
"
>
่ฟๅ้ฆ้กต
<
/Button></
Link
>
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
src/components/PageHeader/demo/standard.md
View file @
cb286ee4
...
@@ -19,10 +19,10 @@ const menu = (
...
@@ -19,10 +19,10 @@ const menu = (
const
action
=
(
const
action
=
(
<
div
>
<
div
>
<
Button
size
=
"large"
type
=
"primary"
>
ไธปๆไฝ
</
Button
>
<
Button
type
=
"primary"
>
ไธปๆไฝ
</
Button
>
<
Button
size
=
"large"
>
ๆฌกๆไฝ
</
Button
>
<
Button
>
ๆฌกๆไฝ
</
Button
>
<
Dropdown
overlay
=
{
menu
}
>
<
Dropdown
overlay
=
{
menu
}
>
<
Button
size
=
"large"
>
<
Button
>
ๆดๅค
<
Icon
type
=
"down"
/>
ๆดๅค
<
Icon
type
=
"down"
/>
</
Button
>
</
Button
>
</
Dropdown
>
</
Dropdown
>
...
...
src/components/Result/demo/classic.md
View file @
cb286ee4
...
@@ -46,9 +46,9 @@ const extra = (
...
@@ -46,9 +46,9 @@ const extra = (
const
actions
=
(
const
actions
=
(
<
div
>
<
div
>
<
Button
size
=
"large"
type
=
"primary"
>
่ฟๅๅ่กจ
</
Button
>
<
Button
type
=
"primary"
>
่ฟๅๅ่กจ
</
Button
>
<
Button
size
=
"large"
>
ๆฅ็้กน็ฎ
</
Button
>
<
Button
>
ๆฅ็้กน็ฎ
</
Button
>
<
Button
size
=
"large"
>
ๆ ๅฐ
</
Button
>
<
Button
>
ๆ ๅฐ
</
Button
>
</
div
>
</
div
>
);
);
...
...
src/components/Result/demo/error.md
View file @
cb286ee4
...
@@ -25,7 +25,7 @@ const extra = (
...
@@ -25,7 +25,7 @@ const extra = (
</
div
>
</
div
>
);
);
const
actions
=
<
Button
size
=
"large"
type
=
"primary"
>
่ฟๅไฟฎๆน
</
Button
>;
const
actions
=
<
Button
type
=
"primary"
>
่ฟๅไฟฎๆน
</
Button
>;
ReactDOM
.
render
(
ReactDOM
.
render
(
<
Result
<
Result
...
...
src/routes/Profile/AdvancedProfile.js
View file @
cb286ee4
...
@@ -21,15 +21,15 @@ const menu = (
...
@@ -21,15 +21,15 @@ const menu = (
const
action
=
(
const
action
=
(
<
div
>
<
div
>
<
ButtonGroup
style
=
{{
marginRight
:
8
}}
>
<
ButtonGroup
style
=
{{
marginRight
:
8
}}
>
<
Button
size
=
"
large
"
>
ๆไฝ
<
/Button
>
<
Button
>
ๆไฝ
<
/Button
>
<
Button
size
=
"
large
"
>
ๆไฝ
<
/Button
>
<
Button
>
ๆไฝ
<
/Button
>
<
Dropdown
overlay
=
{
menu
}
>
<
Dropdown
overlay
=
{
menu
}
>
<
Button
size
=
"
large
"
>
<
Button
>
ๆดๅคๆไฝ
<
Icon
type
=
"
down
"
/>
ๆดๅคๆไฝ
<
Icon
type
=
"
down
"
/>
<
/Button
>
<
/Button
>
<
/Dropdown
>
<
/Dropdown
>
<
/ButtonGroup
>
<
/ButtonGroup
>
<
Button
size
=
"
large
"
type
=
"
primary
"
>
ไธปๆไฝ
<
/Button
>
<
Button
type
=
"
primary
"
>
ไธปๆไฝ
<
/Button
>
<
/div
>
<
/div
>
);
);
...
...
src/routes/Result/Error.js
View file @
cb286ee4
...
@@ -19,7 +19,7 @@ const extra = (
...
@@ -19,7 +19,7 @@ const extra = (
<
/div
>
<
/div
>
);
);
const
actions
=
<
Button
size
=
"
large
"
type
=
"
primary
"
>
่ฟๅไฟฎๆน
<
/Button>
;
const
actions
=
<
Button
type
=
"
primary
"
>
่ฟๅไฟฎๆน
<
/Button>
;
export
default
()
=>
(
export
default
()
=>
(
<
PageHeaderLayout
>
<
PageHeaderLayout
>
...
...
src/routes/Result/Success.js
View file @
cb286ee4
...
@@ -44,9 +44,9 @@ const extra = (
...
@@ -44,9 +44,9 @@ const extra = (
const
actions
=
(
const
actions
=
(
<
div
>
<
div
>
<
Button
size
=
"
large
"
type
=
"
primary
"
>
่ฟๅๅ่กจ
<
/Button
>
<
Button
type
=
"
primary
"
>
่ฟๅๅ่กจ
<
/Button
>
<
Button
size
=
"
large
"
>
ๆฅ็้กน็ฎ
<
/Button
>
<
Button
>
ๆฅ็้กน็ฎ
<
/Button
>
<
Button
size
=
"
large
"
>
ๆ
ๅฐ
<
/Button
>
<
Button
>
ๆ
ๅฐ
<
/Button
>
<
/div
>
<
/div
>
);
);
...
...
src/routes/User/Register.js
View file @
cb286ee4
...
@@ -176,7 +176,6 @@ export default class Register extends Component {
...
@@ -176,7 +176,6 @@ export default class Register extends Component {
}],
}],
})(
})(
<
Input
<
Input
size
=
"
large
"
type
=
"
password
"
type
=
"
password
"
placeholder
=
"
่ณๅฐ6ไฝๅฏ็ ๏ผๅบๅๅคงๅฐๅ
"
placeholder
=
"
่ณๅฐ6ไฝๅฏ็ ๏ผๅบๅๅคงๅฐๅ
"
/>
/>
...
@@ -203,7 +202,7 @@ export default class Register extends Component {
...
@@ -203,7 +202,7 @@ export default class Register extends Component {
{
getFieldDecorator
(
'
prefix
'
,
{
{
getFieldDecorator
(
'
prefix
'
,
{
initialValue
:
'
86
'
,
initialValue
:
'
86
'
,
})(
})(
<
Select
size
=
"
large
"
>
<
Select
>
<
Option
value
=
"
86
"
>+
86
<
/Option
>
<
Option
value
=
"
86
"
>+
86
<
/Option
>
<
Option
value
=
"
87
"
>+
87
<
/Option
>
<
Option
value
=
"
87
"
>+
87
<
/Option
>
<
/Select
>
<
/Select
>
...
@@ -231,7 +230,6 @@ export default class Register extends Component {
...
@@ -231,7 +230,6 @@ export default class Register extends Component {
}],
}],
})(
})(
<
Input
<
Input
size
=
"
large
"
placeholder
=
"
้ช่ฏ็
"
placeholder
=
"
้ช่ฏ็
"
/>
/>
)}
)}
...
@@ -240,7 +238,6 @@ export default class Register extends Component {
...
@@ -240,7 +238,6 @@ export default class Register extends Component {
<
Button
<
Button
disabled
=
{
count
}
disabled
=
{
count
}
className
=
{
styles
.
getCaptcha
}
className
=
{
styles
.
getCaptcha
}
size
=
"
large
"
onClick
=
{
this
.
onGetCaptcha
}
onClick
=
{
this
.
onGetCaptcha
}
>
>
{
count
?
`
${
count
}
s`
:
'
่ทๅ้ช่ฏ็
'
}
{
count
?
`
${
count
}
s`
:
'
่ทๅ้ช่ฏ็
'
}
...
...
src/routes/User/RegisterResult.js
View file @
cb286ee4
...
@@ -5,8 +5,8 @@ import Result from '../../components/Result';
...
@@ -5,8 +5,8 @@ import Result from '../../components/Result';
const
actions
=
(
const
actions
=
(
<
div
>
<
div
>
<
Button
size
=
"
large
"
type
=
"
primary
"
><
a
href
=
""
>
ๆฅ็้ฎ็ฎฑ
<
/a></
Button
>
<
Button
type
=
"
primary
"
><
a
href
=
""
>
ๆฅ็้ฎ็ฎฑ
<
/a></
Button
>
<
Button
size
=
"
large
"
><
Link
to
=
"
/
"
>
่ฟๅ้ฆ้กต
<
/Link></
Button
>
<
Button
><
Link
to
=
"
/
"
>
่ฟๅ้ฆ้กต
<
/Link></
Button
>
<
/div
>
<
/div
>
);
);
...
...
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