mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-05 04:44:13 +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>
|
<Button v-else shape="circle" icon="md-arrow-round-down"></Button>
|
||||||
</div>
|
</div>
|
||||||
<div :class="['file-search', searchKey ? 'has-value' : '']" @click="onSearchFocus" @mouseenter="onSearchFocus">
|
<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>
|
||||||
<div class="file-add">
|
<div class="file-add">
|
||||||
<Button shape="circle" icon="md-add" @click.stop="handleRightClick($event, null, true)"></Button>
|
<Button shape="circle" icon="md-add" @click.stop="handleRightClick($event, null, true)"></Button>
|
||||||
@ -456,6 +464,7 @@ export default {
|
|||||||
loadIng: 0,
|
loadIng: 0,
|
||||||
searchKey: '',
|
searchKey: '',
|
||||||
searchTimeout: null,
|
searchTimeout: null,
|
||||||
|
searchIsFocus: false,
|
||||||
|
|
||||||
types: [
|
types: [
|
||||||
{
|
{
|
||||||
@ -1612,6 +1621,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onSearchFocus() {
|
onSearchFocus() {
|
||||||
|
if (this.searchIsFocus) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.searchInput.focus({
|
this.$refs.searchInput.focus({
|
||||||
cursor: "end"
|
cursor: "end"
|
||||||
|
|||||||
@ -213,7 +213,7 @@
|
|||||||
&.item-label {
|
&.item-label {
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: -1px;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|||||||
@ -39,6 +39,10 @@
|
|||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
.record-remove {
|
||||||
|
z-index: 3;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -388,6 +392,7 @@
|
|||||||
.record-remove {
|
.record-remove {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background-color: #a7a7a7;
|
background-color: #a7a7a7;
|
||||||
|
transition: all 0.3s;
|
||||||
}
|
}
|
||||||
.record-convert {
|
.record-convert {
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
@ -421,7 +426,7 @@
|
|||||||
bottom: 96px;
|
bottom: 96px;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
right: 8px;
|
right: 8px;
|
||||||
z-index: 3;
|
z-index: -1;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
border-radius: 18px;
|
border-radius: 18px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -429,6 +434,7 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
opacity: 0;
|
||||||
> i {
|
> i {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 0aa8de2624ddc4c9f71acd1997479b05e19c6f11
|
Subproject commit aa5c863ca35dc08eee9a4e618a38f4175ba7a38d
|
||||||
Loading…
x
Reference in New Issue
Block a user