You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
3.3 KiB
Plaintext

2 years ago
<!-- <button aria-role="alert" wx:if="{{topTips}}" class="weui-toptips weui-toptips_warn fadeIn" open-type="getUserInfo" bindtap="getUserInfoBtn">请完善用户信息</button> -->
<view>
<view class="weui-search-bar weui-search-bar_focusing" id="searchBar" style="line-height: 1;background-color: #fff;">
<form class="weui-search-bar__form flex-1">
<view class="weui-search-bar__box" catchtap="goSearch" style="background-color: #f5f5f5;border-radius: 17px;">
<i class="iconfont icon-sousuo"></i>
<!-- <input type="text" class="weui-search-bar__input" placeholder-style="color:#999;" placeholder="搜索姓名、手机号" value="{{inputVal}}" focus="{{inputShowed}}" bindinput="inputTyping" bindconfirm="searchKey" confirm-type="search" style="width: 200px;" />
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view>
<view class="search" bindtap="searchKey">搜索</view> -->
<view class="weui-search-bar__input {{!chaShowed ? 'c9' : 'c3'}}" style="width: 160px;">{{inputVal}}</view>
<view class="iconfont icon-qingchu" wx:if="{{chaShowed}}" catchtap="clearInput"></view>
<view class="search" catchtap="searchKey">搜索</view>
</view>
<!-- <label class="weui-search-bar__label" bindtap="showInput">
<i class="weui-icon-search"></i>
<span class="weui-search-bar__text">搜索工作</span>
</label> -->
</form>
</view>
</view>
<view class="p10">
<block wx:if="{{recordList != null && recordList.length > 0}}">
<view class="main bgf br8">
<view class="mainlist" wx:for="{{recordList}}" wx:key="index" mark:id="{{item.id}}" mark:index="{{index}}" hover-class="hcb" style="padding: 0 12px;" bindtap='toDetail'>
<view class="subset">
<!-- {{item.aliasName}} -->
<!-- <view wx:for="{{billList}}" wx:key="index" class="subset" hover-class="hcb" hover-stop-propagation="false" mark:id="{{item.id}}" mark:index="{{index}}" bindtap='toDetail'> -->
<view class="userinfo flex-1">
<view class="pr mr12" style="height: 48px;">
<image wx:if="{{item.avatar == ''}}" src="http://matripe.oss-cn-beijing.aliyuncs.com/defaultAva.png" style="width: 48px;height: 48px;border-radius: 4px;"></image>
<image wx:if="{{item.avatar != ''}}" src="{{item.avatar}}" style="width: 48px;height: 48px;border-radius: 4px;"></image>
</view>
<view class="user">
<text class="username">{{item.aliasName}}/{{item.userName}}</text>
<view class="clb"></view>
<view class="usertype">{{item.position}}</view>
</view>
</view>
<!-- {{item.currMobile}} -->
<view class="icon pr" catchtap='makePhoneCall' wx:if="{{item.currMobile != ''}}" hover-stop-propagation hover-class="hcb" data-tel='{{item.currMobile}}'>
<view class="iconfont icon-shouji" style="color:var(--color-be)"></view>
</view>
<view class="icon pr" wx:if="{{item.currMobile == ''}}" hover-stop-propagation>
<view class="iconfont icon-shouji c9"></view>
</view>
<!-- </view> -->
</view>
</view>
</view>
</block>
<block wx:if="{{(recordList == null || recordList.length == 0)}}">
<view class="tc p20 f12 c045">暂无搜索结果</view>
</block>
</view>