mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
no message
This commit is contained in:
parent
f096d71cc1
commit
e5c8748b75
@ -14,7 +14,9 @@
|
|||||||
<Loading v-if="loadIng > 0"/>
|
<Loading v-if="loadIng > 0"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input ref="searchKey" v-model="searchKey" :placeholder="$L('请输入关键字')" type="search" @on-enter="onEnter"/>
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
|
<Input type="search" ref="searchKey" v-model="searchKey" :placeholder="$L('请输入关键字')"/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
<i class="taskfont search-close" @click="onHide"></i>
|
<i class="taskfont search-close" @click="onHide"></i>
|
||||||
</div>
|
</div>
|
||||||
@ -249,9 +251,9 @@ export default {
|
|||||||
if ($el) {
|
if ($el) {
|
||||||
$el.style.caretColor = 'transparent';
|
$el.style.caretColor = 'transparent';
|
||||||
$el.focus()
|
$el.focus()
|
||||||
|
setTimeout(() => {
|
||||||
const len = $el.value.length;
|
const len = $el.value.length;
|
||||||
$el.setSelectionRange(len, len);
|
$el.setSelectionRange(len, len);
|
||||||
setTimeout(() => {
|
|
||||||
$el.style.caretColor = null
|
$el.style.caretColor = null
|
||||||
}, 300)
|
}, 300)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -59,7 +59,9 @@
|
|||||||
<Loading v-if="loadIng > 0"/>
|
<Loading v-if="loadIng > 0"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input v-model="searchKey" :placeholder="localPlaceholder" clearable/>
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
|
<Input type="search" v-model="searchKey" :placeholder="localPlaceholder" clearable/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -177,7 +177,9 @@
|
|||||||
<Loading v-if="projectKeyLoading > 0"/>
|
<Loading v-if="projectKeyLoading > 0"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input v-model="projectKeyValue" :placeholder="$L(`共${projectTotal || cacheProjects.length}个项目,搜索...`)" clearable/>
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
|
<Input type="search" v-model="projectKeyValue" :placeholder="$L(`共${projectTotal || cacheProjects.length}个项目,搜索...`)" clearable/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
<ButtonGroup class="manage-box-new-group">
|
<ButtonGroup class="manage-box-new-group">
|
||||||
<Button class="manage-box-new" type="primary" icon="md-add" @click="onAddShow">{{$L('新建项目')}}</Button>
|
<Button class="manage-box-new" type="primary" icon="md-add" @click="onAddShow">{{$L('新建项目')}}</Button>
|
||||||
|
|||||||
@ -143,8 +143,10 @@
|
|||||||
<Loading v-if="searchLoad > 0"/>
|
<Loading v-if="searchLoad > 0"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input ref="searchInput" v-model="searchKey" :placeholder="$L('搜索消息')" @on-keyup="onSearchKeyup" clearable/>
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
|
<Input type="search" ref="searchInput" v-model="searchKey" :placeholder="$L('搜索消息')" @on-keyup="onSearchKeyup" clearable/>
|
||||||
<div v-if="searchLoad === 0 && searchResult.length > 0" class="search-total">{{searchLocation}}/{{searchResult.length}}</div>
|
<div v-if="searchLoad === 0 && searchResult.length > 0" class="search-total">{{searchLocation}}/{{searchResult.length}}</div>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-cancel" @click="onSearchKeyup(null)">{{$L('取消')}}</div>
|
<div class="search-cancel" @click="onSearchKeyup(null)">{{$L('取消')}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -7,7 +7,9 @@
|
|||||||
<Loading v-if="loadProjects > 0"/>
|
<Loading v-if="loadProjects > 0"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input v-model="projectKeyValue" :placeholder="$L(loadProjects > 0 ? '更新中...' : '搜索')" clearable/>
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
|
<Input type="search" v-model="projectKeyValue" :placeholder="$L(loadProjects > 0 ? '更新中...' : '搜索')" clearable/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul @touchstart="onTouchStart" @scroll="onScroll">
|
<ul @touchstart="onTouchStart" @scroll="onScroll">
|
||||||
|
|||||||
@ -9,8 +9,10 @@
|
|||||||
<Loading v-if="searchLoading"/>
|
<Loading v-if="searchLoading"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
<Input
|
<Input
|
||||||
v-if="tabActive==='dialog'"
|
v-if="tabActive==='dialog'"
|
||||||
|
type="search"
|
||||||
v-model="dialogSearchKey"
|
v-model="dialogSearchKey"
|
||||||
ref="searchInput"
|
ref="searchInput"
|
||||||
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
||||||
@ -18,11 +20,13 @@
|
|||||||
clearable/>
|
clearable/>
|
||||||
<Input
|
<Input
|
||||||
v-else
|
v-else
|
||||||
|
type="search"
|
||||||
v-model="contactsKey"
|
v-model="contactsKey"
|
||||||
ref="contactInput"
|
ref="contactInput"
|
||||||
:placeholder="$L('搜索')"
|
:placeholder="$L('搜索')"
|
||||||
@on-keydown="onKeydown"
|
@on-keydown="onKeydown"
|
||||||
clearable/>
|
clearable/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="tabActive==='dialog' && !dialogSearchKey" class="messenger-nav">
|
<div v-if="tabActive==='dialog' && !dialogSearchKey" class="messenger-nav">
|
||||||
|
|||||||
@ -68,6 +68,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -78,6 +81,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.search-close {
|
.search-close {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|||||||
@ -185,9 +185,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
@ -195,6 +199,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.user-modal-switch {
|
.user-modal-switch {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@ -418,6 +418,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -432,6 +435,7 @@
|
|||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.search-cancel {
|
.search-cancel {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0 18px;
|
padding: 0 18px;
|
||||||
|
|||||||
@ -43,6 +43,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -54,6 +57,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
> ul {
|
> ul {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
3
resources/assets/sass/pages/page-manage.scss
vendored
3
resources/assets/sass/pages/page-manage.scss
vendored
@ -240,6 +240,8 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -249,6 +251,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.manage-box-new-group {
|
.manage-box-new-group {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
|
|||||||
@ -56,6 +56,8 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.search-form {
|
||||||
|
flex: 1;
|
||||||
.ivu-input {
|
.ivu-input {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -66,6 +68,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.messenger-nav {
|
.messenger-nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user