调整 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

@ -11,7 +11,10 @@
<template>
<lay-timeline>
<lay-timeline-item title="0.2.8">
[完善] rate 评分组件。<br>
[新增] tooltip 提示信息组件。<br>
[新增] input-number 数字输入框。<br>
[新增] layer 弹层 area 属性 auto 类型。<br>
[升级] layer-vue 1.1.3。<br>
</lay-timeline-item>
<lay-timeline-item title="0.2.7">
[完善] rate 评分组件。<br>

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