调整 input number 样式

This commit is contained in:
就眠儀式
2021-12-12 19:51:42 +08:00
parent 753658ea93
commit 09f1472058
3 changed files with 8 additions and 8 deletions

View File

@@ -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;

View File

@@ -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);
};