File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33@button-prefix-cls : ~ ' @{prefix} -button' ;
44
5- @border-radius : 2 px ;
5+ @border-radius : 3 px ;
66
77@primary-hover-bg : @blue-5 ;
88@primary-active-bg : @blue-6 ;
Original file line number Diff line number Diff line change 2323 width : 150px ;
2424 color : @gray-9 ;
2525 border : 1px solid @gray-4 ;
26- border-radius : 2 px ;
26+ border-radius : 3 px ;
2727 background-color : @gray-1 ;
2828 transition : border- color 0.3s ;
2929
144144 border-left : 1px solid @gray-4 ;
145145 border-radius : 0 4px 4px 0 ;
146146 opacity : 0 ;
147- transition : opacity .24s linear .1s ;
147+ transition : opacity 0 .24s linear 0 .1s ;
148148 }
149149
150- & :hover , & :focus {
150+ & :hover ,
151+ & :focus {
151152 .@{input-number-prefix-cls} -handler-wrap {
152153 opacity : 1 ;
153154 }
188189 }
189190 }
190191
191- &-handler-down-icon ,
192- &-handler-up-icon {
193- // font-size: 8px;
194-
195- // PC上主流浏览器只能识别最小为12px的字体
196- font-size : 12px ;
197- transform : scale (0.7 );
198- }
192+ // &-handler-down-icon,
193+ // &-handler-up-icon {
194+ // transform: scale(0.7);
195+ // }
199196
200197 &-handler-input {
201198 height : 100% ;
Original file line number Diff line number Diff line change 99 path : /data
1010---
1111
12- ### 何时使用
12+ ## 何时使用
1313
14- 当需要获取标准数值时 。
14+ 通过鼠标或键盘,输入范围内的数值 。
1515
16- ### API
16+ ## API
1717
1818| 属性 | 说明 | 类型 | 默认值 |
1919| ------------ | --------------------------------------------------------- | ------------------------------------- | ----------- |
@@ -35,14 +35,19 @@ group:
3535| onFocus | 获取焦点 | Function() | - |
3636| onEnter | 按下键盘回车按键的回调 | function(event) | - |
3737
38- ### 代码演示
38+ ## 代码演示
3939
40+ ### 基础使用
4041<embed src =" @components/input-number/demos/basic-input-number.md " />
4142
43+ ### 不可用
4244<embed src =" @components/input-number/demos/disabled.md " />
4345
46+ ### 精确度
4447<embed src =" @components/input-number/demos/precision.md " />
4548
49+ ### 大小
4650<embed src =" @components/input-number/demos/size.md " />
4751
52+ ### 左右布局
4853<embed src =" @components/input-number/demos/step-type.md " />
You can’t perform that action at this time.
0 commit comments