mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
f096d71cc1
commit
e5c8748b75
@ -14,7 +14,9 @@
|
||||
<Loading v-if="loadIng > 0"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</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>
|
||||
<i class="taskfont search-close" @click="onHide"></i>
|
||||
</div>
|
||||
@ -249,9 +251,9 @@ export default {
|
||||
if ($el) {
|
||||
$el.style.caretColor = 'transparent';
|
||||
$el.focus()
|
||||
const len = $el.value.length;
|
||||
$el.setSelectionRange(len, len);
|
||||
setTimeout(() => {
|
||||
const len = $el.value.length;
|
||||
$el.setSelectionRange(len, len);
|
||||
$el.style.caretColor = null
|
||||
}, 300)
|
||||
}
|
||||
|
||||
@ -59,7 +59,9 @@
|
||||
<Loading v-if="loadIng > 0"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</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>
|
||||
|
||||
|
||||
@ -177,7 +177,9 @@
|
||||
<Loading v-if="projectKeyLoading > 0"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</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>
|
||||
<ButtonGroup class="manage-box-new-group">
|
||||
<Button class="manage-box-new" type="primary" icon="md-add" @click="onAddShow">{{$L('新建项目')}}</Button>
|
||||
|
||||
@ -143,8 +143,10 @@
|
||||
<Loading v-if="searchLoad > 0"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</div>
|
||||
<Input 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>
|
||||
<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>
|
||||
</Form>
|
||||
</div>
|
||||
<div class="search-cancel" @click="onSearchKeyup(null)">{{$L('取消')}}</div>
|
||||
</div>
|
||||
|
||||
@ -7,7 +7,9 @@
|
||||
<Loading v-if="loadProjects > 0"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</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>
|
||||
<ul @touchstart="onTouchStart" @scroll="onScroll">
|
||||
|
||||
@ -9,20 +9,24 @@
|
||||
<Loading v-if="searchLoading"/>
|
||||
<Icon v-else type="ios-search" />
|
||||
</div>
|
||||
<Input
|
||||
v-if="tabActive==='dialog'"
|
||||
v-model="dialogSearchKey"
|
||||
ref="searchInput"
|
||||
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
||||
@on-keydown="onKeydown"
|
||||
clearable/>
|
||||
<Input
|
||||
v-else
|
||||
v-model="contactsKey"
|
||||
ref="contactInput"
|
||||
:placeholder="$L('搜索')"
|
||||
@on-keydown="onKeydown"
|
||||
clearable/>
|
||||
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||
<Input
|
||||
v-if="tabActive==='dialog'"
|
||||
type="search"
|
||||
v-model="dialogSearchKey"
|
||||
ref="searchInput"
|
||||
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
||||
@on-keydown="onKeydown"
|
||||
clearable/>
|
||||
<Input
|
||||
v-else
|
||||
type="search"
|
||||
v-model="contactsKey"
|
||||
ref="contactInput"
|
||||
:placeholder="$L('搜索')"
|
||||
@on-keydown="onKeydown"
|
||||
clearable/>
|
||||
</Form>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="tabActive==='dialog' && !dialogSearchKey" class="messenger-nav">
|
||||
|
||||
16
resources/assets/sass/components/search-box.scss
vendored
16
resources/assets/sass/components/search-box.scss
vendored
@ -68,13 +68,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -185,12 +185,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -418,18 +418,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search-total {
|
||||
padding-right: 12px;
|
||||
.search-total {
|
||||
padding-right: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.search-cancel {
|
||||
|
||||
@ -43,13 +43,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
15
resources/assets/sass/pages/page-manage.scss
vendored
15
resources/assets/sass/pages/page-manage.scss
vendored
@ -240,12 +240,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
15
resources/assets/sass/pages/page-messenger.scss
vendored
15
resources/assets/sass/pages/page-messenger.scss
vendored
@ -56,12 +56,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
.search-form {
|
||||
flex: 1;
|
||||
.ivu-input {
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user