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