11
This commit is contained in:
@@ -29,11 +29,7 @@
|
||||
</view>
|
||||
</u-overlay>
|
||||
</view>
|
||||
<uni-search-bar @confirm="search" :focus="false" bgColor="#fff"
|
||||
placeholder="请输入您要搜索的内容"
|
||||
v-model="searchValue" @input="input"
|
||||
@cancel="cancel" @clear="clear">
|
||||
</uni-search-bar>
|
||||
<SearchbarPlace @click="toSearch">搜索</SearchbarPlace>
|
||||
<view class="status_notice">
|
||||
<view class="tag" v-if="storeIsSyncing">
|
||||
<img class="loading" style="height: 24rpx; width: 24rpx" src="static/images/loading.png"
|
||||
@@ -86,15 +82,15 @@
|
||||
import MyAvatar from "@/components/MyAvatar/index.vue";
|
||||
import IMSDK from "openim-uniapp-polyfill";
|
||||
import util from "@/util";
|
||||
import SearchbarPlace from "@/components/searchbar_place.vue";
|
||||
export default {
|
||||
name: "ChatHeader",
|
||||
components: {
|
||||
MyAvatar,
|
||||
MyAvatar,SearchbarPlace
|
||||
},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
searchValue:"",
|
||||
connectStart: -2,
|
||||
moreMenuVisible: false,
|
||||
popMenuPosition: {
|
||||
@@ -113,12 +109,11 @@
|
||||
this.unsubscribeAll();
|
||||
},
|
||||
methods: {
|
||||
search(){},
|
||||
blur(){},
|
||||
focus(){},
|
||||
input(){},
|
||||
cancel(){},
|
||||
clear(){},
|
||||
toSearch(){
|
||||
uni.navigateTo({
|
||||
url:"/pages/common/search/index"
|
||||
})
|
||||
},
|
||||
setStateStart() {
|
||||
this.connectStart = 0;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user