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
60 lines
3.3 KiB
Plaintext
|
2 years ago
|
<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 mr8">
|
||
|
|
<view class="weui-search-bar__box" 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: 140px;" />
|
||
|
|
<view class="iconfont icon-qingchu" wx:if="{{inputVal.length > 0}}" bindtap="clearInput"></view>
|
||
|
|
<view class="search" bindtap="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 class="f14 c3 pr" style="line-height: 34px;top:4px" catchtap="showSmall">{{active==3 ?'按活跃':'按距离'}}
|
||
|
|
<i class="iconfont icon-weixuanzhong2"></i>
|
||
|
|
<view class="smallView" wx:if="{{smallShow}}">
|
||
|
|
<view class="ahy {{active==3 ?'cec':''}}" data-id="3" catchtap="ahyTap">按活跃</view>
|
||
|
|
<view class="ajl {{active==5 ?'cec':''}}" data-id="5" catchtap="ahyTap">按距离</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view class="fullPage" catchtap="hideSmall" wx:if="{{smallShow}}"></view>
|
||
|
|
<block wx:if="{{recordList != null && recordList.length > 0}}">
|
||
|
|
|
||
|
|
<view class="main bgf mt10">
|
||
|
|
<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">
|
||
|
|
<!-- <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="icon pr" catchtap='makePhoneCall' hover-stop-propagation hover-class="hcb" data-tel='{{item.tel}}'>
|
||
|
|
<view class="iconfont icon-shouji" style="color:var(--color-ysd)"></view>
|
||
|
|
</view>
|
||
|
|
<view class="user flex-1">
|
||
|
|
<view class="username">{{item.agencyName}}({{item.userName}})</view>
|
||
|
|
<text class="f14 fr lh1 {{item.distanceKm == '暂无位置'?'cccc':'cec'}}" wx:if="{{active==5}}">{{item.distanceKm}}</text>
|
||
|
|
<view class="clb"></view>
|
||
|
|
<view class="usertype" wx:if="{{item.address != ''}}">{{item.address}}</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
|
||
|
|
|
||
|
|
</view>
|
||
|
|
<view wx:if="{{!hasMoreData && !isLoading}}" class="f12 c9 tc p20">暂无更多数据</view>
|
||
|
|
<view wx:if="{{hasMoreData}}" bindtap="loadMoreData" class="loadMore" hover-class="hcb">
|
||
|
|
<view class="" hover-class="none" hover-stop-propagation="false">查看更多</view>
|
||
|
|
</view>
|
||
|
|
</block>
|
||
|
|
<block wx:if="{{(recordList == null || recordList.length == 0) && !isLoading}}">
|
||
|
|
<view style="margin-top:128rpx;">
|
||
|
|
<view class="center">
|
||
|
|
<icon class='t-icon cccc t-icon-zanwu' style='width:86px;height:86px;margin-bottom:20px;margin-top:30px'></icon>
|
||
|
|
<view class="f16 cccc">暂无记录</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</block>
|
||
|
|
</view>
|