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"/>
|
<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()
|
||||||
const len = $el.value.length;
|
|
||||||
$el.setSelectionRange(len, len);
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
const len = $el.value.length;
|
||||||
|
$el.setSelectionRange(len, len);
|
||||||
$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">
|
||||||
<div v-if="searchLoad === 0 && searchResult.length > 0" class="search-total">{{searchLocation}}/{{searchResult.length}}</div>
|
<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>
|
||||||
<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,20 +9,24 @@
|
|||||||
<Loading v-if="searchLoading"/>
|
<Loading v-if="searchLoading"/>
|
||||||
<Icon v-else type="ios-search" />
|
<Icon v-else type="ios-search" />
|
||||||
</div>
|
</div>
|
||||||
<Input
|
<Form class="search-form" action="javascript:void(0)" @submit.native.prevent="$A.eeuiAppKeyboardHide">
|
||||||
v-if="tabActive==='dialog'"
|
<Input
|
||||||
v-model="dialogSearchKey"
|
v-if="tabActive==='dialog'"
|
||||||
ref="searchInput"
|
type="search"
|
||||||
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
v-model="dialogSearchKey"
|
||||||
@on-keydown="onKeydown"
|
ref="searchInput"
|
||||||
clearable/>
|
:placeholder="$L(loadDialogs > 0 ? '更新中...' : '搜索')"
|
||||||
<Input
|
@on-keydown="onKeydown"
|
||||||
v-else
|
clearable/>
|
||||||
v-model="contactsKey"
|
<Input
|
||||||
ref="contactInput"
|
v-else
|
||||||
:placeholder="$L('搜索')"
|
type="search"
|
||||||
@on-keydown="onKeydown"
|
v-model="contactsKey"
|
||||||
clearable/>
|
ref="contactInput"
|
||||||
|
:placeholder="$L('搜索')"
|
||||||
|
@on-keydown="onKeydown"
|
||||||
|
clearable/>
|
||||||
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="tabActive==='dialog' && !dialogSearchKey" class="messenger-nav">
|
<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 {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
&:hover,
|
.ivu-input {
|
||||||
&:focus {
|
border-color: transparent;
|
||||||
box-shadow: none;
|
background-color: transparent;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -185,12 +185,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-input {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
|
||||||
&:hover,
|
.ivu-input {
|
||||||
&:focus {
|
border-color: transparent;
|
||||||
box-shadow: none;
|
background-color: transparent;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -418,18 +418,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-input {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
&:hover,
|
.ivu-input {
|
||||||
&:focus {
|
border-color: transparent;
|
||||||
box-shadow: none;
|
background-color: transparent;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.search-total {
|
.search-total {
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.search-cancel {
|
.search-cancel {
|
||||||
|
|||||||
@ -43,13 +43,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-input {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
&:hover,
|
.ivu-input {
|
||||||
&:focus {
|
border-color: transparent;
|
||||||
box-shadow: none;
|
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;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ivu-input {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
.ivu-input {
|
||||||
&:hover,
|
border-color: transparent;
|
||||||
&:focus {
|
background-color: transparent;
|
||||||
box-shadow: none;
|
&: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;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ivu-input {
|
.search-form {
|
||||||
border-color: transparent;
|
flex: 1;
|
||||||
background-color: transparent;
|
.ivu-input {
|
||||||
&:hover,
|
border-color: transparent;
|
||||||
&:focus {
|
background-color: transparent;
|
||||||
box-shadow: none;
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user