Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
钟摆人-Puppet゜
ant-design-pro
提交
cb286ee4
A
ant-design-pro
项目概览
钟摆人-Puppet゜
/
ant-design-pro
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design-pro
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
cb286ee4
编写于
10月 09, 2017
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove size="large"
上级
c320f1b2
变更
10
显示空白变更内容
内联
并排
Showing
10 changed file
with
21 addition
and
24 deletion
+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
未找到文件。
src/components/Exception/demo/403.md
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
>
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录