no message

This commit is contained in:
kuaifan 2025-03-13 13:07:04 +08:00
parent 29a0d22938
commit bf45587c80
4 changed files with 22 additions and 4 deletions

View File

@ -19,7 +19,15 @@
<Button v-else shape="circle" icon="md-arrow-round-down"></Button>
</div>
<div :class="['file-search', searchKey ? 'has-value' : '']" @click="onSearchFocus" @mouseenter="onSearchFocus">
<Input v-model="searchKey" ref="searchInput" suffix="ios-search" @on-change="onSearchChange" :placeholder="$L('搜索名称')"/>
<Input
v-model="searchKey"
ref="searchInput"
suffix="ios-search"
@on-focus="searchIsFocus=true"
@on-blur="searchIsFocus=false"
@on-change="onSearchChange"
:placeholder="$L('搜索名称')"
clearable/>
</div>
<div class="file-add">
<Button shape="circle" icon="md-add" @click.stop="handleRightClick($event, null, true)"></Button>
@ -456,6 +464,7 @@ export default {
loadIng: 0,
searchKey: '',
searchTimeout: null,
searchIsFocus: false,
types: [
{
@ -1612,6 +1621,9 @@ export default {
},
onSearchFocus() {
if (this.searchIsFocus) {
return
}
this.$nextTick(() => {
this.$refs.searchInput.focus({
cursor: "end"

View File

@ -213,7 +213,7 @@
&.item-label {
padding: 8px 12px;
position: sticky;
top: 0;
top: -1px;
z-index: 9;
border-radius: 0;
cursor: default;

View File

@ -39,6 +39,10 @@
visibility: visible;
opacity: 1;
z-index: 10;
.record-remove {
z-index: 3;
opacity: 1;
}
}
}
}
@ -388,6 +392,7 @@
.record-remove {
color: #ffffff;
background-color: #a7a7a7;
transition: all 0.3s;
}
.record-convert {
margin-right: 12px;
@ -421,7 +426,7 @@
bottom: 96px;
width: 36px;
right: 8px;
z-index: 3;
z-index: -1;
padding: 10px 0;
border-radius: 18px;
display: flex;
@ -429,6 +434,7 @@
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0;
> i {
font-size: 18px;
&:last-child {

@ -1 +1 @@
Subproject commit 0aa8de2624ddc4c9f71acd1997479b05e19c6f11
Subproject commit aa5c863ca35dc08eee9a4e618a38f4175ba7a38d