调整 input number 样式
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@border-color: #cacaca;
|
||||
@hover-border-color: #1E9FFF;
|
||||
@border-color: #eee;
|
||||
@hover-border-color: #5fb878;
|
||||
@lg: 40px;
|
||||
@lg-wdith: 200px;
|
||||
@lg-right: 20px;
|
||||
@@ -48,13 +48,10 @@
|
||||
box-sizing: border-box;
|
||||
border: 1px solid @border-color;
|
||||
border-color: @border-color;
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
.set-size(@lg-wdith, @lg, @lg-right);
|
||||
margin-left: 5px;
|
||||
&:hover {
|
||||
border-color: @hover-border-color;
|
||||
}
|
||||
.layui-input{
|
||||
text-align: center;
|
||||
border: 0;
|
||||
|
||||
@@ -122,7 +122,7 @@ const longDown = function (fn: Function) {
|
||||
if (props.disabled) {
|
||||
return;
|
||||
}
|
||||
timer = setInterval(() => fn.call(timer), 100);
|
||||
timer = setInterval(() => fn.call(timer), 150);
|
||||
fn.call(timer);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user