<view class="search-w">
    <view class="search-w-left">
        <input class="search-input" type="text"
               data-key="seachKey" bindinput="bindInput" placeholder="请输入客户姓名"
               confirm-type="search"/>
    </view>
    <view class="action" bindtap="tapSearch">
        <text class="iconfont iconhome_search"></text>
        <text >搜索</text>
    </view>
</view>

<view class="icon-list {{ isFixedTop ? 'fixed' : ''}}">
    <view wx:for="{{icon_list}}" class="icon-item"  wx:key bindtap="changeListType" data-type="{{item.type}}">
        <text class="text-center">{{item.name}}</text>
        <text class="iconfont {{(type_acive === item.type ? 'iconhose_arrow_active':'iconhose_arrow_normal')}}"></text>
    </view>
    <drop-down bind:selecthandle="selecthandle" bindtap="closeTypeActive" class="dp-con {{type_acive?'dp-active':''}}" active="{{type_acive}}" arr="{{tab_panel}}"></drop-down>
</view>

<view style="padding-bottom: 100rpx">
    <view wx:for="{{clients}}"  wx:key class="house-list">
        <client-item client="{{item}}"></client-item>
    </view>
    <view class="empty" wx:if="{{clients.length === 0}}">
        <image style="width: 150rpx;height: 150rpx"></image>
        <text class="margin-top text-grey">没有更多的客源了</text>
    </view>
</view>

<text style="bottom: {{isPhoneX ? '150rpx' : '100rpx'}}" bindtap="toAddClient" class="iconfont iconcus_add hover-icon" selectable="false" ></text>
  

<tab-bar/>