引入Wot UI组件库
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<fy-header title="搜索" back />
|
||||
<view class="search">
|
||||
<input v-model="q" placeholder="搜索同事 / 会话 / 聊天记录" confirm-type="search" focus />
|
||||
<wd-search v-model="q" placeholder="搜索同事、会话或待办" hide-cancel focus placeholder-left />
|
||||
<view v-if="!q.trim()">
|
||||
<wd-status-tip image="search" tip="搜索同事、会话或待办" />
|
||||
</view>
|
||||
<view v-if="!q.trim()" class="empty">搜索同事、会话或待办</view>
|
||||
<view v-else>
|
||||
<view v-if="people.length" class="sec">同事</view>
|
||||
<view v-for="p in people" :key="'p' + p.id" class="item" @click="openPerson(p)">
|
||||
@@ -38,7 +38,7 @@
|
||||
<text class="n">{{ t.title || t.no }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="!people.length && !convs.length && !hits.length && !todos.length" class="empty">没有找到相关内容</view>
|
||||
<wd-status-tip v-if="!people.length && !convs.length && !hits.length && !todos.length" image="search" tip="没有找到相关内容" />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user