✨(button): 增加所有类型按钮 active 状态样式
This commit is contained in:
parent
2a5bd7d1fc
commit
cceeb03c9f
@ -58,16 +58,13 @@
|
||||
}
|
||||
|
||||
.layui-btn:hover {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.layui-btn-warm:hover,
|
||||
.layui-btn-normal:hover,
|
||||
.layui-btn-primary:hover,
|
||||
.layui-btn-danger:hover {
|
||||
opacity: 0.8;
|
||||
filter: alpha(opacity=80);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.layui-btn:active {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
|
||||
.layui-btn-lg {
|
||||
|
@ -175,7 +175,10 @@ const showPassword = () => {
|
||||
<password-icon v-if="isPassword"></password-icon>
|
||||
<un-password-icon v-else></un-password-icon>
|
||||
</span>
|
||||
<span class="layui-input-clear" v-if="allowClear && hasContent && !disabled">
|
||||
<span
|
||||
class="layui-input-clear"
|
||||
v-if="allowClear && hasContent && !disabled"
|
||||
>
|
||||
<lay-icon type="layui-icon-close-fill" @click.stop="onClear"></lay-icon>
|
||||
</span>
|
||||
<span class="layui-input-suffix" v-if="slots.suffix || props.suffixIcon">
|
||||
|
@ -319,7 +319,10 @@ defineExpose({
|
||||
/>
|
||||
</template>
|
||||
</span>
|
||||
<span v-if="allowClear && tagData?.length && !disabled" class="layui-tag-input-clear">
|
||||
<span
|
||||
v-if="allowClear && tagData?.length && !disabled"
|
||||
class="layui-tag-input-clear"
|
||||
>
|
||||
<lay-icon type="layui-icon-close-fill" @click.stop="handleClearClick" />
|
||||
</span>
|
||||
<span class="layui-tag-input-suffix" v-if="$slots.suffix">
|
||||
|
Loading…
Reference in New Issue
Block a user