mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-28 05:48:12 +00:00
no message
This commit is contained in:
parent
29a0d22938
commit
bf45587c80
@ -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"
|
||||
|
||||
@ -213,7 +213,7 @@
|
||||
&.item-label {
|
||||
padding: 8px 12px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
top: -1px;
|
||||
z-index: 9;
|
||||
border-radius: 0;
|
||||
cursor: default;
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user