(component): update

This commit is contained in:
就眠儀式 2022-11-07 09:17:51 +08:00
parent 75ee93984b
commit 4fc7522206
4 changed files with 11 additions and 5 deletions

View File

@ -99,6 +99,10 @@
color: rgba(0, 0, 0, 0.45);
}
.layui-input-clear:hover {
opacity: 0.6;
}
.layui-input input::-webkit-input-placeholder {
line-height: 1.3;
}

View File

@ -177,8 +177,9 @@ provide("multiple", multiple);
:contentClass="contentClass"
:contentStyle="contentStyle"
:update-at-scroll="true"
@show="openState = true"
:autoFitWidth="true"
@hide="openState = false"
@show="openState = true"
>
<lay-tag-input
v-if="multiple"
@ -191,8 +192,8 @@ provide("multiple", multiple);
:disabled="disabled"
:size="size"
:class="{ 'layui-unselect': true }"
@clear="handleClear"
@remove="handleRemove"
@clear="handleClear"
>
<template #suffix>
<lay-icon
@ -226,6 +227,7 @@ provide("multiple", multiple);
<lay-input
v-model="searchValue"
:placeholder="searchPlaceholder"
@Input="handleSearch"
prefix-icon="layui-icon-search"
size="sm"
></lay-input>

View File

@ -67,8 +67,8 @@ const select = () => {
const display = computed(() => {
return (
props.keyword.indexOf(searchValue.value) > -1 ||
props.label.indexOf(searchValue.value) > -1
props.keyword.toString().indexOf(searchValue.value) > -1 ||
props.label.toString().indexOf(searchValue.value) > -1
);
});

View File

@ -57,7 +57,7 @@
}
&-clear:hover {
opacity: 0.5;
opacity: 0.8;
}
& &-inner-input {