client.wxml 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="search-w">
  2. <view class="search-w-left">
  3. <input class="search-input" type="text"
  4. data-key="seachKey" bindinput="bindInput" placeholder="请输入客户姓名"
  5. confirm-type="search"/>
  6. </view>
  7. <view class="action" bindtap="tapSearch">
  8. <text class="iconfont iconhome_search"></text>
  9. <text >搜索</text>
  10. </view>
  11. </view>
  12. <view class="icon-list {{ isFixedTop ? 'fixed' : ''}}">
  13. <view wx:for="{{icon_list}}" class="icon-item" wx:key bindtap="changeListType" data-type="{{item.type}}">
  14. <text class="text-center">{{item.name}}</text>
  15. <text class="iconfont {{(type_acive === item.type ? 'iconhose_arrow_active':'iconhose_arrow_normal')}}"></text>
  16. </view>
  17. <drop-down bind:selecthandle="selecthandle" bindtap="closeTypeActive" class="dp-con {{type_acive?'dp-active':''}}" active="{{type_acive}}" arr="{{tab_panel}}"></drop-down>
  18. </view>
  19. <view style="padding-bottom: 100rpx">
  20. <view wx:for="{{clients}}" wx:key class="house-list">
  21. <client-item client="{{item}}"></client-item>
  22. </view>
  23. <view class="empty" wx:if="{{clients.length === 0}}">
  24. <image style="width: 150rpx;height: 150rpx"></image>
  25. <text class="margin-top text-grey">没有更多的客源了</text>
  26. </view>
  27. </view>
  28. <text style="bottom: {{isPhoneX ? '150rpx' : '100rpx'}}" bindtap="toAddClient" class="iconfont iconcus_add hover-icon" selectable="false" ></text>
  29. <tab-bar/>