✨(component): 优化 input select tag-input 禁用样式
This commit is contained in:
parent
326dc13ec3
commit
f9ea36149f
@ -209,6 +209,7 @@ provide("multiple", multiple);
|
||||
:placeholder="placeholder"
|
||||
:allow-clear="allowClear"
|
||||
:readonly="!showSearch"
|
||||
:disabled="disabled"
|
||||
:class="{ 'layui-unselect': !showSearch }"
|
||||
:size="size"
|
||||
@Input="handleSearch"
|
||||
|
@ -67,12 +67,9 @@
|
||||
|
||||
&-disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.4;
|
||||
|
||||
.layui-tag-input-clear {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.4;
|
||||
}
|
||||
&-disabled * {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.layui-tag {
|
||||
@ -138,7 +135,6 @@
|
||||
|
||||
.layui-tag-input:hover,
|
||||
.layui-tag-input:focus-within {
|
||||
border-color: #d2d2d2 !important;
|
||||
.layui-tag-input-clear{
|
||||
visibility: visible;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user