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
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
Hide 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';
const
actions
=
(
<
div
>
<
Button
type
=
"primary"
size
=
"large"
>
回到首页
</
Button
>
<
Button
size
=
"large"
>
查看详情
</
Button
>
<
Button
type
=
"primary"
>
回到首页
</
Button
>
<
Button
>
查看详情
</
Button
>
</
div
>
);
ReactDOM
.
render
(
...
...
src/components/Exception/index.js
View file @
cb286ee4
...
...
@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {
<
h1
>
{
title
||
config
[
pageType
].
title
}
<
/h1
>
<
div
className
=
{
styles
.
desc
}
>
{
desc
||
config
[
pageType
].
desc
}
<
/div
>
<
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
>
...
...
src/components/PageHeader/demo/standard.md
View file @
cb286ee4
...
...
@@ -19,10 +19,10 @@ const menu = (
const
action
=
(
<
div
>
<
Button
size
=
"large"
type
=
"primary"
>
主操作
</
Button
>
<
Button
size
=
"large"
>
次操作
</
Button
>
<
Button
type
=
"primary"
>
主操作
</
Button
>
<
Button
>
次操作
</
Button
>
<
Dropdown
overlay
=
{
menu
}
>
<
Button
size
=
"large"
>
<
Button
>
更多
<
Icon
type
=
"down"
/>
</
Button
>
</
Dropdown
>
...
...
src/components/Result/demo/classic.md
View file @
cb286ee4
...
...
@@ -46,9 +46,9 @@ const extra = (
const
actions
=
(
<
div
>
<
Button
size
=
"large"
type
=
"primary"
>
返回列表
</
Button
>
<
Button
size
=
"large"
>
查看项目
</
Button
>
<
Button
size
=
"large"
>
打 印
</
Button
>
<
Button
type
=
"primary"
>
返回列表
</
Button
>
<
Button
>
查看项目
</
Button
>
<
Button
>
打 印
</
Button
>
</
div
>
);
...
...
src/components/Result/demo/error.md
View file @
cb286ee4
...
...
@@ -25,7 +25,7 @@ const extra = (
</
div
>
);
const
actions
=
<
Button
size
=
"large"
type
=
"primary"
>
返回修改
</
Button
>;
const
actions
=
<
Button
type
=
"primary"
>
返回修改
</
Button
>;
ReactDOM
.
render
(
<
Result
...
...
src/routes/Profile/AdvancedProfile.js
View file @
cb286ee4
...
...
@@ -21,15 +21,15 @@ const menu = (
const
action
=
(
<
div
>
<
ButtonGroup
style
=
{{
marginRight
:
8
}}
>
<
Button
size
=
"
large
"
>
操作
<
/Button
>
<
Button
size
=
"
large
"
>
操作
<
/Button
>
<
Button
>
操作
<
/Button
>
<
Button
>
操作
<
/Button
>
<
Dropdown
overlay
=
{
menu
}
>
<
Button
size
=
"
large
"
>
<
Button
>
更多操作
<
Icon
type
=
"
down
"
/>
<
/Button
>
<
/Dropdown
>
<
/ButtonGroup
>
<
Button
size
=
"
large
"
type
=
"
primary
"
>
主操作
<
/Button
>
<
Button
type
=
"
primary
"
>
主操作
<
/Button
>
<
/div
>
);
...
...
src/routes/Result/Error.js
View file @
cb286ee4
...
...
@@ -19,7 +19,7 @@ const extra = (
<
/div
>
);
const
actions
=
<
Button
size
=
"
large
"
type
=
"
primary
"
>
返回修改
<
/Button>
;
const
actions
=
<
Button
type
=
"
primary
"
>
返回修改
<
/Button>
;
export
default
()
=>
(
<
PageHeaderLayout
>
...
...
src/routes/Result/Success.js
View file @
cb286ee4
...
...
@@ -44,9 +44,9 @@ const extra = (
const
actions
=
(
<
div
>
<
Button
size
=
"
large
"
type
=
"
primary
"
>
返回列表
<
/Button
>
<
Button
size
=
"
large
"
>
查看项目
<
/Button
>
<
Button
size
=
"
large
"
>
打
印
<
/Button
>
<
Button
type
=
"
primary
"
>
返回列表
<
/Button
>
<
Button
>
查看项目
<
/Button
>
<
Button
>
打
印
<
/Button
>
<
/div
>
);
...
...
src/routes/User/Register.js
View file @
cb286ee4
...
...
@@ -176,7 +176,6 @@ export default class Register extends Component {
}],
})(
<
Input
size
=
"
large
"
type
=
"
password
"
placeholder
=
"
至少6位密码,区分大小写
"
/>
...
...
@@ -203,7 +202,7 @@ export default class Register extends Component {
{
getFieldDecorator
(
'
prefix
'
,
{
initialValue
:
'
86
'
,
})(
<
Select
size
=
"
large
"
>
<
Select
>
<
Option
value
=
"
86
"
>+
86
<
/Option
>
<
Option
value
=
"
87
"
>+
87
<
/Option
>
<
/Select
>
...
...
@@ -231,7 +230,6 @@ export default class Register extends Component {
}],
})(
<
Input
size
=
"
large
"
placeholder
=
"
验证码
"
/>
)}
...
...
@@ -240,7 +238,6 @@ export default class Register extends Component {
<
Button
disabled
=
{
count
}
className
=
{
styles
.
getCaptcha
}
size
=
"
large
"
onClick
=
{
this
.
onGetCaptcha
}
>
{
count
?
`
${
count
}
s`
:
'
获取验证码
'
}
...
...
src/routes/User/RegisterResult.js
View file @
cb286ee4
...
...
@@ -5,8 +5,8 @@ import Result from '../../components/Result';
const
actions
=
(
<
div
>
<
Button
size
=
"
large
"
type
=
"
primary
"
><
a
href
=
""
>
查看邮箱
<
/a></
Button
>
<
Button
size
=
"
large
"
><
Link
to
=
"
/
"
>
返回首页
<
/Link></
Button
>
<
Button
type
=
"
primary
"
><
a
href
=
""
>
查看邮箱
<
/a></
Button
>
<
Button
><
Link
to
=
"
/
"
>
返回首页
<
/Link></
Button
>
<
/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