✨(component): update
This commit is contained in:
parent
75ee93984b
commit
4fc7522206
@ -99,6 +99,10 @@
|
|||||||
color: rgba(0, 0, 0, 0.45);
|
color: rgba(0, 0, 0, 0.45);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layui-input-clear:hover {
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
.layui-input input::-webkit-input-placeholder {
|
.layui-input input::-webkit-input-placeholder {
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
}
|
}
|
||||||
|
@ -177,8 +177,9 @@ provide("multiple", multiple);
|
|||||||
:contentClass="contentClass"
|
:contentClass="contentClass"
|
||||||
:contentStyle="contentStyle"
|
:contentStyle="contentStyle"
|
||||||
:update-at-scroll="true"
|
:update-at-scroll="true"
|
||||||
@show="openState = true"
|
:autoFitWidth="true"
|
||||||
@hide="openState = false"
|
@hide="openState = false"
|
||||||
|
@show="openState = true"
|
||||||
>
|
>
|
||||||
<lay-tag-input
|
<lay-tag-input
|
||||||
v-if="multiple"
|
v-if="multiple"
|
||||||
@ -191,8 +192,8 @@ provide("multiple", multiple);
|
|||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:size="size"
|
:size="size"
|
||||||
:class="{ 'layui-unselect': true }"
|
:class="{ 'layui-unselect': true }"
|
||||||
@clear="handleClear"
|
|
||||||
@remove="handleRemove"
|
@remove="handleRemove"
|
||||||
|
@clear="handleClear"
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<lay-icon
|
<lay-icon
|
||||||
@ -226,6 +227,7 @@ provide("multiple", multiple);
|
|||||||
<lay-input
|
<lay-input
|
||||||
v-model="searchValue"
|
v-model="searchValue"
|
||||||
:placeholder="searchPlaceholder"
|
:placeholder="searchPlaceholder"
|
||||||
|
@Input="handleSearch"
|
||||||
prefix-icon="layui-icon-search"
|
prefix-icon="layui-icon-search"
|
||||||
size="sm"
|
size="sm"
|
||||||
></lay-input>
|
></lay-input>
|
||||||
|
@ -67,8 +67,8 @@ const select = () => {
|
|||||||
|
|
||||||
const display = computed(() => {
|
const display = computed(() => {
|
||||||
return (
|
return (
|
||||||
props.keyword.indexOf(searchValue.value) > -1 ||
|
props.keyword.toString().indexOf(searchValue.value) > -1 ||
|
||||||
props.label.indexOf(searchValue.value) > -1
|
props.label.toString().indexOf(searchValue.value) > -1
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-clear:hover {
|
&-clear:hover {
|
||||||
opacity: 0.5;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
& &-inner-input {
|
& &-inner-input {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user