Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
99f0a108
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
99f0a108
编写于
11月 17, 2015
作者:
M
MG12
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update less file and use variables; rename TimePicker to Timepicker
上级
bfb4342c
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
17 addition
and
23 deletion
+17
-23
components/timepicker/demo/basic.md
components/timepicker/demo/basic.md
+2
-2
components/timepicker/demo/disabled.md
components/timepicker/demo/disabled.md
+2
-2
components/timepicker/demo/special-minutes.md
components/timepicker/demo/special-minutes.md
+2
-2
components/timepicker/demo/without-seconds.md
components/timepicker/demo/without-seconds.md
+2
-2
components/timepicker/index.jsx
components/timepicker/index.jsx
+2
-2
components/timepicker/index.md
components/timepicker/index.md
+2
-2
index.js
index.js
+1
-1
style/components/timepicker.less
style/components/timepicker.less
+0
-1
style/components/timepicker/Combobox.less
style/components/timepicker/Combobox.less
+0
-4
style/components/timepicker/Select.less
style/components/timepicker/Select.less
+3
-3
style/components/timepicker/TimePanel.less
style/components/timepicker/TimePanel.less
+1
-2
未找到文件。
components/timepicker/demo/basic.md
浏览文件 @
99f0a108
...
...
@@ -8,9 +8,9 @@
---
````
jsx
import
{
Time
P
icker
}
from
'
antd
'
;
import
{
Time
p
icker
}
from
'
antd
'
;
ReactDOM
.
render
(
<
Time
P
icker
defaultValue
=
"12:08:23"
/>
<
Time
p
icker
defaultValue
=
"12:08:23"
/>
,
document
.
getElementById
(
'
components-timepicker-demo-basic
'
));
````
components/timepicker/demo/disabled.md
浏览文件 @
99f0a108
...
...
@@ -8,9 +8,9 @@
---
````
jsx
import
{
Time
P
icker
}
from
'
antd
'
;
import
{
Time
p
icker
}
from
'
antd
'
;
ReactDOM
.
render
(
<
Time
P
icker
defaultValue
=
"12:08:23"
disabled
/>
<
Time
p
icker
defaultValue
=
"12:08:23"
disabled
/>
,
document
.
getElementById
(
'
components-timepicker-demo-disabled
'
));
````
components/timepicker/demo/special-minutes.md
浏览文件 @
99f0a108
...
...
@@ -8,9 +8,9 @@
---
````
jsx
import
{
Time
P
icker
}
from
'
antd
'
;
import
{
Time
p
icker
}
from
'
antd
'
;
ReactDOM
.
render
(
<
Time
P
icker
defaultValue
=
"12:30:23"
format
=
"HH:mm"
minuteOptions
=
{
[
0
,
30
]
}
/>
<
Time
p
icker
defaultValue
=
"12:30:23"
format
=
"HH:mm"
minuteOptions
=
{
[
0
,
30
]
}
/>
,
document
.
getElementById
(
'
components-timepicker-demo-special-minutes
'
));
````
components/timepicker/demo/without-seconds.md
浏览文件 @
99f0a108
...
...
@@ -8,9 +8,9 @@
---
````
jsx
import
{
Time
P
icker
}
from
'
antd
'
;
import
{
Time
p
icker
}
from
'
antd
'
;
ReactDOM
.
render
(
<
Time
P
icker
defaultValue
=
"12:08:23"
format
=
"HH:mm"
/>
<
Time
p
icker
defaultValue
=
"12:08:23"
format
=
"HH:mm"
/>
,
document
.
getElementById
(
'
components-timepicker-demo-without-seconds
'
));
````
components/timepicker/index.jsx
浏览文件 @
99f0a108
...
...
@@ -8,7 +8,7 @@ import TimePanel from 'rc-time-picker/lib/TimePanel';
// import defaultLocale from './locale';
import
TimePickerLocale
from
'
rc-time-picker/lib/locale/zh_CN
'
;
const
AntTime
P
icker
=
React
.
createClass
({
const
AntTime
p
icker
=
React
.
createClass
({
getDefaultProps
()
{
return
{
...
...
@@ -69,4 +69,4 @@ const AntTimePicker = React.createClass({
});
export
default
AntTime
P
icker
;
export
default
AntTime
p
icker
;
components/timepicker/index.md
浏览文件 @
99f0a108
Time
P
icker
Time
p
icker
==========
-
category: Components
...
...
@@ -18,7 +18,7 @@ API
---
```
html
<Time
P
icker
value=
"13:30:56"
/>
<Time
p
icker
value=
"13:30:56"
/>
```
| 参数 | 说明 | 类型 | 默认值 |
...
...
index.js
浏览文件 @
99f0a108
...
...
@@ -59,7 +59,7 @@ const antd = {
Form
:
require
(
'
./components/form
'
).
Form
,
Input
:
require
(
'
./components/form
'
).
Input
,
Calendar
:
require
(
'
./components/calendar
'
),
Time
P
icker
:
require
(
'
./components/timepicker
'
),
Time
p
icker
:
require
(
'
./components/timepicker
'
),
};
antd
.
version
=
require
(
'
./package.json
'
).
version
;
...
...
style/components/timepicker.less
浏览文件 @
99f0a108
...
...
@@ -11,5 +11,4 @@
@import "timepicker/Picker";
@import "timepicker/TimePanel";
@import "timepicker/Header";
@import "timepicker/Combobox";
@import "timepicker/Select";
style/components/timepicker/Combobox.less
已删除
100644 → 0
浏览文件 @
bfb4342c
.@{timepicker-prefix-cls} {
&-combobox {
}
}
style/components/timepicker/Select.less
浏览文件 @
99f0a108
...
...
@@ -39,12 +39,12 @@
user-select: none;
&.selected {
background:
#edfaff
;
color:
#2db7f5
;
background:
tint(@primary-color, 90%)
;
color:
@link-color
;
}
&:hover {
background:
#edfaff
;
background:
tint(@primary-color, 90%)
;
}
}
}
style/components/timepicker/TimePanel.less
浏览文件 @
99f0a108
...
...
@@ -2,13 +2,12 @@
display: inline-block;
position: relative;
outline: none;
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", "WenQuanYi Micro Hei", sans-serif;
border: 1px solid #ccc;
list-style: none;
font-size: 12px;
text-align: left;
background-color: #fff;
border-radius:
6px
;
border-radius:
@border-radius-base
;
box-shadow: 0 1px 5px #ccc;
background-clip: padding-box;
border: 1px solid #ccc;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录